FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 09-30-2011, 07:28 AM
Oliver Marshall
 
Default FTP Woes

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

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-30-2011, 08:14 AM
Avi Greenbury
 
Default FTP Woes

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

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-30-2011, 10:12 AM
Hal Burgiss
 
Default FTP Woes

On Fri, Sep 30, 2011 at 4:14 AM, Avi Greenbury <lists@avi.co> wrote:

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).

>

Other options ... make /var/www the user's home dir (vi /etc/passwd). Or use not such a brain dead protocol like sftp/ssh and set user:group permissions accordingly. *
--
Hal

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 12:30 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org