neylitalo Posted October 12, 2007 Share Posted October 12, 2007 This is the ACL I have set on a directory: # file: public_html # owner: neal # group: apache user::rwx group::r-x other::--- default:user::rwx default:group::r-x default:other::--- Yet, when I do: ~/public_html $ touch testfile I get these permissions: -rw-r----- 1 neal apache 0 Oct 12 01:44 testfile Instead of what I should be seeing: -rwxr-x--- Is there something wrong with my ACL? Should I be using masks instead? Quote Link to comment https://forums.phpfreaks.com/topic/72893-solved-default-acl-on-a-directory/ Share on other sites More sharing options...
neylitalo Posted October 12, 2007 Author Share Posted October 12, 2007 Never mind... it seems that default ACLs only set the x bit when you create a directory. Which makes sense - new files created shouldn't be executable. Solved. Quote Link to comment https://forums.phpfreaks.com/topic/72893-solved-default-acl-on-a-directory/#findComment-367965 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.