cancel
Showing results for 
Search instead for 
Did you mean: 

Linux Help....

Former Member
0 Kudos

Hello SAPStars,

Our functional consultants want us to create a folder in a file system which I have done

and created a user and group and added the user to that group,I have changed

the owner of the folder as user, Now When I logged in

with the username in FTP I see that he can navigate to all the folders, Can anyone help

me with the command to restrict the user to that folder (read, write, execute to this folder

only)

Thanks In Advance,

Harikrishna

Accepted Solutions (0)

Answers (2)

Answers (2)

hannes_kuehnemund
Active Contributor
0 Kudos

Dear Harikrishna,

for vsftpd check /etc/vsftpd.conf for


chroot_local_user=YES

Set it to YES to limit navigation access to the folder.

If you are using pure-ftpd, check


ChrootEveryone  yes

and set it to YES.

Thanks,

Hannes

Former Member
0 Kudos

Hi Hannes,

Thanks for ur response.

Actually I'm Using Secure File Transfer Client...

Thanks,

Harikrishna

markus_doehr2
Active Contributor
0 Kudos

There are many implementations of FTP server which handle that differently. What FTP server software are you using?

Markus