ftp users configuration in OpenSuse 12

Posted by chieroz on Server Fault See other posts from Server Fault or by chieroz
Published on 2013-10-21T21:50:54Z Indexed on 2013/10/21 21:55 UTC
Read the original article Hit count: 193

Filed under:
|

I usually work with MacOSX servers but this time I need to set up a ftp service on a OpenSuse 12.2 server and I am a little lost. I am using the remote YAST2 tool via ssh.

I created several users who can connect via ssh and/or ftp, so the basic setup is ok. But when connecting via ftp all my users don't have write permissions.

The FTP directory for authenticated users is /srv/www/htdocs, which has permissions root:root. The OpenSuse manual say it's bad practice to change these permissions, but my normal users (even the ones in the sudoers list) cannot upload files. So I am stuck: as a workaround I use rsync, but from time to time I just need to establish a working ftp connection.

What's the right approach for users permissions in this scenario?

Thanks a lot.

© Server Fault or respective owner

Related posts about ftp

Related posts about opensuse