Den 05-07-2007 16:43, Timo Sirainen skrev:
On Wed, 2007-07-04 at 16:50 +0200, Steffen Kaiser wrote:
drwxrws--- 5 31045 30005 4096 2007-07-04 15:53 ./
drwxrwsr-x 2 31045 30005 4096 2007-06-21 12:19 cur/
The setuid-group bit hides group-x bit. The only thing I can think of is
cur/ isn't group-executable.
To me it seems that it is group executable as it, at least on my linux
systems, is shown as S when the directory is setgid but not group
executable.
Excerpt from a test case on my ubuntu desktop, notice the missing x on
cur and the S on cur in the latter listing. Also note that this differs
from Steffen Kaiser's listing, where both directories have a lower case s.
$ ls -la
drwxrwx--- 3 user group 4096 2007-07-05 16:49 .
drwxrw---- 2 user group 4096 2007-07-05 16:49 cur
$ chmod -R g+s .
$ ls -la .
drwxrws--- 3 user group 4096 2007-07-05 16:49 .
drwxrwS--- 2 user group 4096 2007-07-05 16:49 cur
However he might use another version of ls which fails to show this
difference?
--
Best regards,
Christian