#69 ✓resolved
Sanne Grinovero

Wrong permissions on /tmp

Reported by Sanne Grinovero | May 11th, 2009 @ 05:13 AM | in 1.0.0.Beta6

/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

Comments and changes to this ticket

  • Sanne Grinovero

    Sanne Grinovero May 11th, 2009 @ 10:51 PM

    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).

  • Sanne Grinovero

    Sanne Grinovero June 16th, 2009 @ 08:23 AM

    • Tag set to appliance, bug
  • Deleted User

    Deleted User June 20th, 2009 @ 12:33 AM

    • 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?

  • Sanne Grinovero

    Sanne Grinovero June 20th, 2009 @ 12:43 AM

    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.

  • Deleted User

    Deleted User June 20th, 2009 @ 12:45 AM

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

  • Deleted User

    Deleted User July 19th, 2009 @ 10:51 PM

    • State changed from “open” to “resolved”

    It seems that this bug no longer exists, closing.

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

**We moved**

Read more here: http://community.jboss.org/docs/DOC-14372

People watching this ticket

Tags

Pages