LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to Inherit parent directory permissions without using ACL ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-inherit-parent-directory-permissions-without-using-acl-4175596126/)

sahil0512 12-25-2016 10:37 PM

How to Inherit parent directory permissions without using ACL ?
 
Hello All,

I want my newly created directory to inherit parent directory permissions, without using ACL.

Can anyone suggest me, how i can do that.

Thanks in advance

tshikose 12-26-2016 01:34 AM

Hi,

Newly created files and directories permissions are dictated by the user umask, not the parent directory.
Even with ACL, new files and directories do not inherit permissions from their parent directory, but from ACL defined default umask.

I hope it helps.


All times are GMT -5. The time now is 07:20 PM.