Is this possible ? inherit group permissions
Tony Shadwick
tshadwick at goinet.com
Mon May 23 07:38:49 PDT 2005
I'll have to remember that one. So if /home is a filesystem unto itself,
if you set the suid bit on /home, all further creation beneath it will
inherit the permissions you set above?
On Mon, 23 May 2005, Lowell Gilbert wrote:
> cs <cs-fbsd at ctzen.com> writes:
>
>> For a directory, e.g. foo/, if I chmod 775 foo/, is it possible for
>> newly created files and directories under foo/ to automagically
>> inherit the group permissions of foo ?
>>
>> e.g.
>> touch foo/test would be rw-rw-r--
>> mkdir foo/sub would be rwxrwxr-x
>>
>> I am looking for a non umask solution.
>>
>> I seem to remember in debian, I was able to make the group permissions
>> of the parent directory special for this magic to occur.
>>
>> I wonder if there is something similar in FBSD.
>
> If you set the suid bit, both owner *and* group will be set.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list