[ILUG-BOM] Inherit Ownership and Permissions
chhatoipritam at gmail.com
Wed Jul 12 22:30:58 IST 2017
Look into ACLs. ACLs override file attribute permissions, and you can set
default ACLs to be inherited be files and folders.
On 12-Jul-2017 10:26 PM, "Rony Bill" <gnulinuxist at gmail.com> wrote:
> Dear Friends,
> In Linux is there a way in which new files or folders created in a
> directory will inherit the directory's owner and group with the same
> permissions too? The new files or folders are currently getting created
> with the user and group of the user who created them. I want all the new
> data to have user:group and permissions of the parent directory.
> I have tried different things like suid sgid sticky bit and even mounting
> the folder with a certain uid, gid and umask but new data does not inherit
> the same.
> Thanks and Regards,
More information about the Linuxers