FTP Woes

Avi Greenbury lists at avi.co
Fri Sep 30 08:14:58 UTC 2011


Oliver Marshall wrote:

> I love Ubuntu. We use it on a lot of our servers and, while I'm not
> Linux ninja, I do know enough to be able to do the day to day tasks.
> 
> However, I can't imagine that setting up an FTP server could be any
> more chuffing difficult if you tried. Why oh Why oh Why  is it so
> hard? I want to give one person write access to the /var/www folder
> of a server instead of (or as well as, I don't care) their own home
> folder.
> 
> It would be easier to slice the wings off the penguin and ask him to
> fly home (don't try that at home).
> 
> Bah!
> 
> </rant>
> 
> Olly

Do you want some help with this, or just a rant?

Generally, ftp daemons chroot users to their homedir by default, which
precludes cding to /var/www. You'd need to either disable this chroot
generally, or for that specific user - how to do this (and which is
possible) depends on which FTP server you're using.

Or, you could symlink /var/www to some place in their homedir if nobody
else needs access to it.

-- 
Avi




More information about the ubuntu-users mailing list