Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2005 00:38:30 -0400
From:      cs <cs-fbsd@ctzen.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Is this possible ? inherit group permissions
Message-ID:  <42900CC6.4090701@ctzen.com>

next in thread | raw e-mail | index | archive | help
Hi,

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.

Thank you.


-cs



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42900CC6.4090701>