Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-28-2005, 08:08 AM   #1
LQ Newbie
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
ftp permissions access only in the one directory


We need change the permitions or configuration in the ftp directory or in my vsftpd.conf file. The default ftp directory is /var/ftp/pub. When the user login to the server move to all path of my server example go to the home diectory, go to the sbin directory, etc. we need deny this access , only the user access to the one directory for examples ftp_directory. its possible ?

thank and regards

Old 12-29-2005, 10:53 AM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
It sounds like you want to prevent people logged into ftp via a local user account from moving around the file system. If that is correct then I found this information in the /etc/vsftpd.conf file.

# Uncomment to put local users in a chroot() jail in their home directory
# after login.
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
# (default follows)

On the other hand if you want all users to use the chroot jail pub directory then why not have them all use the ftp anonymous account?

Last edited by stress_junkie; 12-29-2005 at 10:56 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp permissions access only in the one directory ataucuc Linux - Newbie 1 12-27-2005 04:29 PM
FTP Change Directory Permissions rubbercash Linux - Networking 5 07-29-2004 04:54 PM
RW access to a directory via FTP using ProFTPD borbzz Linux - Software 4 05-11-2004 10:23 PM
Permissions, File, Directory access tHcnunz Linux - Newbie 3 03-26-2004 09:25 AM
FTP exclusive directory access allancondino Linux - General 3 05-02-2002 06:15 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration