[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re:disk quota errors



At 9:11 AM -0500 1/21/02, Jason M. Weber is rumored to have typed:

> My quick fix was to change the ownership of all files in the
> site web directory to nobody or admin.
<snip>
> Short of that have a cron go through and
> do it hourly or so. Just my two cents.

   No, the solution is to set the site admin's quota equal to the site quota.
If someone is the administrator of a website, he is by definition trusted to
adminster that website. You are trying to use a quota to enforce a limit on a
specific directory for a user who is trusted to maintain the entire
website...makes no sense. (I won't even get into the security issues and CGI
problens you'll run into changing the owner of files to nobody or some other
user.)

   Geez...either you trust the site admin, in which case you trust him to not
hog all of the space for his personal stuff, or you don't, in which case the
user shouldn't be an admin in the first place. You CANNOT have it both ways -
jumping through bizarre hoops to enforce this trust is a complete waste of
your time as the box admninistrator. Certainly you have _real_ problems to
deal with every day...

         Charlie