Svein Halvor Halvorsen wrote:

* Phillip Neumann [2005-01-21 00:36 -0000]


2)

I dont understand permitions...

i.e.
lftp [EMAIL PROTECTED]:~> ls root-file
-rw------- 1 root wheel 0 Jan 22 19:12 root-file
lftp [EMAIL PROTECTED]:~> mv root-file why_can_i_do_this
rename successful




I'm guessing that the directory in which the file resides is writable for the ftp-user. The user cannot read or write to the file itself, but it can read and write to the directory. That means that the user can delete and rename any file in that directory, but not copy (because that requires read-permissions).



Your right, The root directory is writeable by the ftp user. But if i do not let the dir writeable, the user will not be able to upload anything...

How would i setup things, so users can upload and download, but not delete nor rename?

thanks in advance!

--




_________________________ Phillip Neumann [EMAIL PROTECTED] www.sofsis.cl

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to