I have been having a few problems with write access when using cgi/php
when I FTP up I am writing to the system as the cpanel user (station), however the web server accesses the server as user 'nobody'. The user 'Nobody' does not have rights to write to 'station's directories or files. I think there are two solutions to this, one is to make 'nobody' a more powerful user, obviously not a good solution security wise. The other involves masks....im not sure how it works, but there is a mask which can be applied to directories and files when they are created which allows 'nobody' access....
really, I am not sure how the whole show works, but I have to always modify chmods with FTP before I can write to a file using fileman. Basically I need to allow the user 'nobody' (the username that apache runs as) to have access to:
/var/tmp/
This is to allow http file uploads with php.........any ideas?
when I FTP up I am writing to the system as the cpanel user (station), however the web server accesses the server as user 'nobody'. The user 'Nobody' does not have rights to write to 'station's directories or files. I think there are two solutions to this, one is to make 'nobody' a more powerful user, obviously not a good solution security wise. The other involves masks....im not sure how it works, but there is a mask which can be applied to directories and files when they are created which allows 'nobody' access....
really, I am not sure how the whole show works, but I have to always modify chmods with FTP before I can write to a file using fileman. Basically I need to allow the user 'nobody' (the username that apache runs as) to have access to:
/var/tmp/
This is to allow http file uploads with php.........any ideas?