LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-25-2016, 10:37 PM   #1
sahil0512
LQ Newbie
 
Registered: Nov 2015
Location: India
Distribution: Redhat
Posts: 4

Rep: Reputation: Disabled
Question 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
 
Old 12-26-2016, 01:34 AM   #2
tshikose
Member
 
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525

Rep: Reputation: 95
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Inherit permissions from parent folder Axel van Moorsel Linux - Server 1 02-26-2014 01:22 PM
[SOLVED] Can not inherit the permission from parent folder to child. Toushi Linux - General 4 04-28-2011 06:15 AM
inherit permissions of the parent directory in newly created file abhijit_mohanta Linux - Newbie 1 09-10-2009 06:45 PM
automatically inherit parent folder permissions when copying files teixeira Linux - Newbie 3 07-08-2008 12:21 PM
Samba - Inherit Permissions from Parent Directory bence8810 Linux - Software 6 08-03-2006 06:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration