Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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