Ftpd
Phillip Neumann
bob at sofsis.cl
Sat Jan 22 14:15:09 PST 2005
Hello....
I have problems to understand the way ftpd works.
My goal is to create a ftp account where the user can download and
upload files, and create directories where they could upload the files.
But they should not remove nor rename any file or directory.
1)
man chmod talks about a sticky flag.
Ive try that. but:
(ls -la on the server)
drwxr-xr-t 4 usuarioftp usuarioftp 512 Jan 22 19:01 usuarioftp
<lftp login.../>
lftp usuarioftp at localhost:~> rm test
rm ok, `test' removed
i dont want users to be able to delete any files...
2)
I dont understand permitions...
i.e.
lftp usuarioftp at localhost:~> ls root-file
-rw------- 1 root wheel 0 Jan 22 19:12 root-file
lftp usuarioftp at 10.0.0.56:~> mv root-file why_can_i_do_this
rename successful
ps aux | grep ftp shows:
usuarioftp 26747 1.0 0.3 1928 1404 ?? Ss 7:14PM 0:00.01 ftpd:
127.0.0.1: user/usuarioftp: LIST\r\n (ftpd)
why can the ftp user rename the root file?
how do i make users be able just to
1.- create directories
2.- upload files
3.- downlaod files
thank you,
--
_________________________
Phillip Neumann
phillip at sofsis.cl
www.sofsis.cl
More information about the freebsd-questions
mailing list