LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 08:51 AM   #1
kenw232
Member
 
Registered: May 2006
Posts: 125

Rep: Reputation: 12
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, 10:53 AM   #2
kenw232
Member
 
Registered: May 2006
Posts: 125

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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:22 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