chmod broken?

Bill Rees breeze at smsonline.com
Thu Jun 30 05:26:53 UTC 2005


Hi all,
    I am getting chmod permission problems on files that are members of 
one group but owned by another person.  Whoever owns the file can chmod 
the file but if you're just a member of the group you get the permission 
denied messages.  I see this behavior on FC3 and FC4.  I have disabled 
selinux, removed the password 'x' from the group file and have the 
following line in /etc/group:

       cvsuser::500:davs2rt,randall,rgallagher,maxb,breeze

    So if a file is owned by cvsuser and the group id is cvsuser, then 
none of the other members of the group can chmod the file.  Oddly the 
members can remove the file, rename the file, copy over the file, write 
to the file (assuming permissions) but not chmod it.  Cvs won't anyone 
login and I'm assuming the problem is the chmod problem.

    The id command for the user breeze is:
           uid=507(breeze) gid=507(breeze) 
groups=100(users),105(cvs),500(cvsuser),507(breeze)

    The password entries for cvsuser and breeze are:
           cvsuser:x:500:500::/home/cvsuser:/bin/bash
           breeze:x:507:507::/home/breeze:/bin/bash


    So what am I missing?  What else should I try?

bill rees




More information about the fedora-list mailing list