-1

I have installed vsftpd and locked local user access to their home directories.

Now I like anonymous to access some user's home directories. I have tried these solutions but they didn't work.

First, I have made a new vsftpd configuration files for anonymous only, and set in that this directive:

anon_root=/home/[username]

This solution didn't work.

Later I have place this directive in main vsftp configuration file:

anonymous_enabled=YES

and then set anon_root respectively.

Bu this solution didn't work too.

How could I do that?

OS: CentOS 6

HBruijn
  • 77,029
  • 24
  • 135
  • 201
JalalJaberi
  • 121
  • 1
  • 6

1 Answers1

4

550 Failed to change directory

With SELinux disabled, this will almost certainly be a simple filesystem permissions issue. If you look at a typical /home directory entry for a user you will see

ls -l /home
drwx------. 40 user user  4096 Mar  5 11:03 user

This is normal and as such will deny access to the anonymous user. The anonymous user really shouldn't have access to arbitrary user home directories.

user9517
  • 115,471
  • 20
  • 215
  • 297