Hi,

  a correction from my previous comment : > specailfiel is not possible
while a setgid is active on the file, the setgid bit is removed by a >>
command

log :

$ sudo chmod g+rwxs specialfile; ls -l | grep -v total
-rw-rwsr-- 1 root mygroup 0 2007-11-17 19:45 specialfile
$ > specialfile; ls -l | grep -v total
bash: specialfile: Operation not permitted
-rw-rwsr-- 1 root mygroup 0 2007-11-17 19:45 specialfile
$ cat specialfile; ls -l | grep -v total
-rw-rwsr-- 1 root mygroup 0 2007-11-17 19:45 specialfile
$ echo "x" >> specialfile; ls -l | grep -v total
-rw-rwxr-- 1 root mygroup 2 2007-11-17 19:47 specialfile
$ > specialfile; ls -l | grep -v total
-rw-rwxr-- 1 root mygroup 0 2007-11-17 19:48 specialfile

I don't know enough about unix permissions to know whether this is
normal or not

  Koen

-- 
Group permissions not working correctly in Gutsy Gibbon
https://bugs.launchpad.net/bugs/162958
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to