View previous topic :: View next topic |
Author |
Message |
matja n00b

Joined: 19 Jan 2007 Posts: 34
|
Posted: Thu Feb 15, 2007 3:48 pm Post subject: unable to remove set-group-id bit from directory |
|
|
I was cleaning up some permissions on a subversion repository today (kernel 2.6.19-gentoo-r5, ext3, ACL support enabled) when I came across a directory which looked a little odd:
drwx--S--- 5 svn svn 4096 2007-02-07 15:35 db
I also notice that the directories underneath it were the same :
drwx--S--- 2 svn svn 4096 2007-02-07 15:35 revprops
drwx--S--- 2 svn svn 4096 2007-02-07 15:35 revs
drwx--S--- 2 svn svn 4096 2007-02-07 15:35 transactions
"Interesting, but no big deal..." I thought, so I chmod 700'd all the directories... and the modes stayed the same.
I had been playing arround with ACL's on the higher-level directory, to give read access for apache and certain other groups, but not this directory. I thought it might be inheriting some ACL or something weird like that, so I removed all ACL's with 'setfacl -b -R' and 'setfacl -b -d -R', stopped svnserve, and did the chmod 700 again... still no change, the directories remain having mode 2700 (rwx--S---)
strace'ing the chmod reveals that the chmod() system call returned with no error, and nothing in dmesg.
Anyone have any clue what could cause this? Filesystem corruption? |
|
Back to top |
|
 |
jmbsvicetto Moderator


Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Thu Feb 15, 2007 6:26 pm Post subject: |
|
|
Moved from Kernel & Hardware to Networking & Security.
[mod]I feel this thread is more related to security than to kernel or hardware, so I've moved it to k&H.[/mod] _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|