Date: Fri, 6 Feb 1998 20:24:50 -0600 (CST) From: George Vagner <kf7nn@mutsgo.dyn.ml.org> To: questions@FreeBSD.ORG Subject: sticky bit problem Message-ID: <199802070224.UAA00344@mutsgo.dyn.ml.org>
next in thread | raw e-mail | index | archive | help
I am trying to make my /usr/ftp/incoming directory writeable but the files in it undeleteable. i am logging in as anonymous without password and can put files in and also delete them, i dont want people to be able to delete them... i tried some of these commands without success chmod 1777 /usr/ftp/incoming chown root /usr/ftp/incoming chgrp wheel /usr/ftp/incoming chmod 1755 /usr/ftp/incoming (cant write to it now) I read the man pages on sticky and even printed them out. i made the directory owned by root and group wheel with permissions set to 1777 but i still can delete the files in the directory? what am i doing wrong here? should files in the incoming directory be deleteable according to these permissions? $ ls -la total 6 dr-xr-xr-x 6 root operator 512 Feb 6 14:52 . drwxr-xr-x 22 root wheel 512 Feb 5 09:46 .. dr-xr-xr-x 2 root operator 512 Feb 4 23:26 bin dr-xr-xr-x 2 root operator 512 Feb 4 23:26 etc drwxrwxrwt 2 root wheel 512 Feb 6 17:40 incoming drwxr-xr-x 2 ftp operator 512 Feb 6 15:53 pub
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802070224.UAA00344>