LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-19-2014, 09:51 AM   #1
kenw232
Member
 
Registered: May 2006
Posts: 44

Rep: Reputation: 0
ACL question


In slackware 14.1, how can I force all new files & directories under a specific directory to have the permissions 664 and all folders to have 775? So this change should/would override the umask which typically makes new files 644.
 
Old 03-19-2014, 11:53 AM   #2
kenw232
Member
 
Registered: May 2006
Posts: 44

Original Poster
Rep: Reputation: 0
I think I got it.

setfacl -d -R -P -m u::rwx directory
setfacl -d -R -P -m g::rwx directory
setfacl -d -R -P -m o::rx directory
 
  


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
[SOLVED] question about setting ACL karthik-naren Linux - Newbie 3 07-02-2013 12:58 PM
Question related to acl crahuldba@gmail.com Linux - Newbie 1 10-23-2010 11:34 AM
Recursive acl question mikeb75 Linux - General 0 02-17-2009 03:21 PM
Squid ACL Question LinuxLuvr Linux - Server 1 12-02-2008 12:11 PM
Squid ACL Question kemplej Linux - Security 5 08-03-2004 11:56 AM


All times are GMT -5. The time now is 03:54 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration