Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-19-2014, 09:51 AM   #1
Registered: May 2006
Posts: 80

Rep: Reputation: 2
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
Registered: May 2006
Posts: 80

Original Poster
Rep: Reputation: 2
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


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 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 > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:19 AM.

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