Directory size limit
Hi!
I have a server running apache. Users can access their dir via FTP and I can set a quota on these users...works fine. However, when uploading files via the web interface, the owner of the file is apache and not the owner of the directory...so the quota for that user is not working...and users can exceed their quota. I think there is no way to set directory size limits but is possible to change automatically the ownership of files in a directory. i.e.: all files ownership=directory ownership? Thanks macadam |
If you want to change he ownership of files for a directory You can use the umask command within the directory
Check out this website for more details on using umask http://hep.pa.msu.edu/user/groups.html |
Thanks,
great. That's what I needed!!! |
Well in fact, it works for files uploaded via ftp. But as soon as the files are uploaded via a php webpage, they get the user and group of Apache server...
Any idea? thanks |
All times are GMT -5. The time now is 04:17 PM. |