On Fri, 05 Jul 2002, Jason Lim wrote: > > log directory read only > > Yeap... that can be done easily... chmod a-w log. > > > The user may not remove their document root > > How do you do that, while allowing them full access to that directory?
They don't have write access to its parent directory: [EMAIL PROTECTED]:~/test$ mkdir public_html [EMAIL PROTECTED]:~/test$ sudo chown root. . [EMAIL PROTECTED]:~/test$ rmdir public_html rmdir: `public_html': Permission denied [EMAIL PROTECTED]:~/test$ ls -la total 16 drwxrwxr-x 3 root root 4096 Jul 5 02:28 ./ drwxr-xr-x 135 weasel weasel 8192 Jul 5 02:28 ../ drwxrwxr-x 2 weasel weasel 4096 Jul 5 02:28 public_html/ [ please remove the mail you replied to from the bottom of your messages. Only quoting the necessary parts in the right place. Thanks.] yours, peter -- PGP signed and encrypted | .''`. ** Debian GNU/Linux ** messages preferred. | : :' : The universal | `. `' Operating System http://www.palfrader.org/ | `- http://www.debian.org/
pgpLeU7XeH58l.pgp
Description: PGP signature