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

Re: [cobalt-users] 550 /web docs owner



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> The site has an admin userx
> If I chown -R userx:sitex * they are added to userx's quota, not
> site's quota? Who *should* own /web ?

A site's webroot should be owned by 'nobody'...

> If userx uploads to /web who owns those files? (looks like userx to
> me - and they go on userx's quota)

Yes, the web directory has GUID bit set (drwxrwsr-x), so any valid 
group member can upload files to the directory. The files are 
automatically owned by the group, and count against the user's 
personal quota _and_ the vsite's total quota at the same time.

> So I've allowed 50Mb for the site and 20Mb for userx

Ok. Don't forget that logs count against site quota, and a user's mail 
spool counts against their personal quota...

> The site /web contains 30 Mb and I get userx over quota

If you manually chown'd files to userx and put them over their quota, 
that is the correct outcome.

> Do I have to allocate userquota * number_of_users to the site and
> juggle what share each admin-enable user has of  /web?

No, it's all automatic.  Whoever gets there (up to the site quota 
total) first "wins"... there's a total quota for the site as a whole, 
and each user in theory can be assigned that same quota as their own.  

My general practice is to set the site admin quota the same as the 
site quota, to avoid potential problems like you've run into...

- -- 
Bruce Timberlake

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+PvXAvLA2hUZ9kgwRAsZZAJ92vUAo4NguKFkryjq5bArQ92tRDACffDlY
XlKCjj6C1xAK7uzNegd5eGM=
=HbPv
-----END PGP SIGNATURE-----