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? 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. 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
Archived
This topic is now archived and is closed to further replies.