Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-19-2003, 03:33 AM   #1
Registered: Sep 2003
Posts: 72

Rep: Reputation: 15
Directory size limit


I have a server running apache.
Users can access their dir via FTP and I can set a quota on these fine.
However, when uploading files via the web interface, the owner of the file is apache and not the owner of the 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?


Old 09-22-2003, 02:00 AM   #2
Registered: Aug 2003
Location: Seattle, Wa
Distribution: Fedora,Trustix,Debian
Posts: 290

Rep: Reputation: 30
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
Old 09-22-2003, 02:07 AM   #3
Registered: Sep 2003
Posts: 72

Original Poster
Rep: Reputation: 15

great. That's what I needed!!!
Old 09-22-2003, 12:06 PM   #4
Registered: Sep 2003
Posts: 72

Original Poster
Rep: Reputation: 15
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?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Limit Users Home Directory Size KrGAce Linux - Newbie 6 10-24-2005 09:48 AM
/home/directory size limit Smokey Slackware 2 11-04-2004 03:11 PM
How to LIMIT my HOME DIRECTORY SIZE??? juliann Linux - Networking 2 07-21-2004 09:08 AM
Mandrake /home directory size Limit problem psyientist Mandriva 9 05-14-2004 03:51 PM
Directory Size Limit?? _TK_ Linux - General 9 09-05-2002 09:38 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration