PDA

Bekijk de volledige versie : stupid-ftpd Simlinks?



NTAdmin
13-10-2005, 09:11
Hi,

Does stupid ftpd support simlinks? I have a ftp root on my harddrive and the ftp_pub root suits me just fine, but I want to add some other content to that dir via simlinks, but they are not shown in ftp. I need thois because I am not comfortable with 200GB files lying in ftp_pub. BTW is there a way to run the process as say nobody, I need to allow write access to ftp_pub, but not to linked dirs.


Thanks

Styno
13-10-2005, 10:27
AFAIK this works just fine.

NTAdmin
13-10-2005, 14:54
hmm, I have found only 1 topic about symlinks here and it says, that they don't work with stupid-ftpd.
But what about directory permissions? I need 1 incoming dir writable and others readonly. Is this possible? Or should I start creating a lot of users with different permissions just to let people upload and download?



Thanks

Styno
13-10-2005, 15:51
hmm, I have found only 1 topic about symlinks here and it says, that they don't work with stupid-ftpd.Hmm, I'll check that tonight.

But what about directory permissions? I need 1 incoming dir writable and others readonly. Is this possible?Nope, access is defined by username, not directory. There is an option to let ppl upload while other directorys stay secure and that is to use the private account type. This assignes a home directory which is writable. For the public (read-only) directory you can define a single account.