openSUSE Forums > Network/Internet » ftp server directories

Go Back   openSUSE Forums > Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read


Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 24-Jun-2009, 10:10
ionpetrache's Avatar
Student Penguin
 
Join Date: Jun 2009
Location: Timisoara, Romania
Posts: 71
ionpetrache hasn't been rated much yet
Default ftp server directories

Hello!

I have a vsftpd enabled and i wanna know how can I set perimissions for remote users to write in diffrent directories other than the default one!

Thank you!
Reply With Quote
  #2 (permalink)  
Old 24-Jun-2009, 10:53
Camaleón
Guest
 
Posts: n/a
Default Re: ftp server directories

ionpetrache wrote:

> I have a vsftpd enabled and i wanna know how can I set perimissions for
> remote users to write in diffrent directories other than the default
> one!


Are you using system users or virtual users?

If using virtual users you can define its path when creating the users
database.

Greetings,

--
Camaleón
Reply With Quote
  #3 (permalink)  
Old 24-Jun-2009, 12:05
ionpetrache's Avatar
Student Penguin
 
Join Date: Jun 2009
Location: Timisoara, Romania
Posts: 71
ionpetrache hasn't been rated much yet
Default Re: ftp server directories

I'm using system users
Reply With Quote
  #4 (permalink)  
Old 24-Jun-2009, 13:19
Camaleón
Guest
 
Posts: n/a
Default Re: ftp server directories

ionpetrache wrote:

> I'm using system users


Then I cannot tell you how to achieve this. Virtual users can definitively
handle this, but system users, dunno how :-?

Anyway, you can take a look into "vsftpd_conf" man page and review
the "passwd_chroot_enable" variable to see if that fits your needs.

http://vsftpd.beasts.org/vsftpd_conf.html

Greetings,

--
Camaleón
Reply With Quote
  #5 (permalink)  
Old 25-Jun-2009, 05:27
ionpetrache's Avatar
Student Penguin
 
Join Date: Jun 2009
Location: Timisoara, Romania
Posts: 71
ionpetrache hasn't been rated much yet
Default Re: ftp server directories

Quote:
Originally Posted by Camaleón View Post
ionpetrache wrote:

> I'm using system users


Then I cannot tell you how to achieve this. Virtual users can definitively
handle this, but system users, dunno how :-?

Anyway, you can take a look into "vsftpd_conf" man page and review
the "passwd_chroot_enable" variable to see if that fits your needs.

Manpage of VSFTPD.CONF

Greetings,

--
Camaleón

I tried to change a lot of variables including "passwd_chroot_enable" but it didn't worked
Reply With Quote
  #6 (permalink)  
Old 25-Jun-2009, 06:20
Camaleón
Guest
 
Posts: n/a
Default Re: ftp server directories

ionpetrache wrote:

> I tried to change a lot of variables including "passwd_chroot_enable"
> but it didn't worked


What were your changes? Post them here someone can give you any hint.

I think vsftp lookups the content of /etc/passwd file to handle this.

Greetings,

--
Camaleón
Reply With Quote
  #7 (permalink)  
Old 25-Jun-2009, 08:13
ionpetrache's Avatar
Student Penguin
 
Join Date: Jun 2009
Location: Timisoara, Romania
Posts: 71
ionpetrache hasn't been rated much yet
Default Re: ftp server directories

Hmmm it's a little bit difficult because I changed a lot of variables but I'll investigate further and i'll post back with updates about this question.
Reply With Quote
Reply

Bookmarks

Tags
ftp, permissions


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2