Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Wrong permissions on /tmp

#69

/tmp is only writable by root, this is not the default on fedora and causing sone problems: MySQL installation fails with weird error messages.

Fixed with:

chmod 777 /tmp chmod +t /tmp

Reported by Sanne Grinovero · May 11th, 2009 @ 05:13 AM

State: resolved
Milestone: 1.0.0.Beta6
Assigned to: Deleted User Deleted User

Activity

  1. Sanne Grinovero
    Sanne Grinovero

    it's probably a problem of the ami-tools included, as I had fixed it, stored the machine as new AMI and then after restoring the machine the directory was back to wrong permissions. As a woraround I do this in my user script:

    fixing formatting:

    
    chmod 777 /tmp
    chmod +t /tmp
    

    IMHO this should be included in the AMI to be run at startup, or use a fixed ami-tools (if the problem is there).

    May 11th, 2009 @ 10:51 PM

  2. Sanne Grinovero
    Sanne Grinovero
    • Tag set to appliance, bug

    June 16th, 2009 @ 08:23 AM

  3. Deleted User
    Deleted User
    • Assigned user set to Deleted User
    • State changed from new to open
    • Milestone set to 1.0.0.Beta6

    I don't have such problems, root is owner of this directory, but it's chmoded 777 by default. I created a file in /tmp directory as oddthesis user (ami-d32ec8ba, meta-appliance, i386):

    oddthesis@domU-12-31-39-04-50-B4 ~]$ ls -all /tmp/
    total 28
    drwxrwxrwt  4 root      root      4096 2009-06-20 06:30 .
    drwxr-xr-x 22 oddthesis oddthesis 4096 2009-06-20 06:08 ..
    drwxrwxrwt  2 root      root      4096 2009-06-20 06:08 .ICE-unix
    drwxr-xr-x  8 root      root      4096 2009-06-20 06:13 jboss-cloud-i386-yum-cache
    -rw-rw-r--  1 oddthesis oddthesis 9543 2009-06-20 06:11 jboss-cloud-release.tar.gz
    [oddthesis@domU-12-31-39-04-50-B4 ~]$ touch /tmp/simpletest
    [oddthesis@domU-12-31-39-04-50-B4 ~]$ ls -all /tmp/
    total 28
    drwxrwxrwt  4 root      root      4096 2009-06-20 06:31 .
    drwxr-xr-x 22 oddthesis oddthesis 4096 2009-06-20 06:08 ..
    drwxrwxrwt  2 root      root      4096 2009-06-20 06:08 .ICE-unix
    drwxr-xr-x  8 root      root      4096 2009-06-20 06:13 jboss-cloud-i386-yum-cache
    -rw-rw-r--  1 oddthesis oddthesis 9543 2009-06-20 06:11 jboss-cloud-release.tar.gz
    -rw-rw-r--  1 oddthesis oddthesis    0 2009-06-20 06:31 simpletest
    

    What AMI are you using?

    June 20th, 2009 @ 12:33 AM

  4. Sanne Grinovero
    Sanne Grinovero

    This was verified on an older version (report date is wrong as you can see from the date of my first comment);
    it was probably beta4, I'll have to verify this again.

    June 20th, 2009 @ 12:43 AM

  5. Deleted User
    Deleted User

    Ah :) I just have today bulk answering for open bugs :)

    June 20th, 2009 @ 12:45 AM

  6. Deleted User
    Deleted User
    • State changed from open to resolved

    It seems that this bug no longer exists, closing.

    July 19th, 2009 @ 10:51 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.