Re: suid bit on directories

J Sloan (joe@tmsusa.com)
Tue, 21 May 2002 11:35:07 -0700


Bill Davidsen wrote:

>On Mon, 20 May 2002, Dax Kelson wrote:
>
>
>
>>On Mon, 20 May 2002, Dax Kelson wrote:
>>
>>
>>
>>>Example 1:
>>>
>>>/home/bob/public_html
>>>
>>>public_html is user/group bob/httpd
>>>
>>>the perms are 2770
>>>
>>>
>>I meant 4770 since we are discussing a hypothetical SUID directory.
>>
>>
>
>I would expect public_html to be 4775 or 4771 if it's to be any use at all. Otherwise why have it?
>
>

Yes, it would have to have httpd group ownership
or it would be totally inaccessible - and it would
be difficult for a non-root user to assign such grp
ownership....

Joe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/