Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have Posix ACLs set up on our webserver and everything works fine EXCEPT for file uploads from a web browser in which case the default ACL is not applied. Any reasons why this might be happening or suggestions?

share|improve this question
How does your application write to the filesystem? There may be a command somewhere along the lines that isn't safe/preserve ACLs? Also - what version of PHP? – Rizwan Kassim Nov 2 '09 at 22:08

I assume your ACLs are file system level restrictions. It's likely that your web server software is running as root or some other privaledged user and thus not hitting the ACLs you expect.

What do you need to limit that the php file upload restrictions don't match? That would be your first line of defense for file size or type restrictions.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.