This is a recap of previous post.

Want to provide anonymous access, read only to anonymous user using VSFTP. Created a nopriv user in eDirectory, lum enabled him. Created a volume called FTP and a folder called ftphome below. Placed inherited rights mask on to block everything on both. Assigned R,F to user through Console One to both directories.

Setup to allow anonymous access in vsftpd.conf. Set anon home to FTP. Set nopriv_user to VSFTPD. User logs in but immeditely I get this error.

< 150 Here comes the directory listing.
< 226 Transfer done (but failed to open directory).

I log on to the local system through ssh as vsftpd and do a ls - l on /media/nss and these are the permissions.

drwxr-xr-x 7 root root 168 2006-01-31 03:12 ./
drwxr-xr-x 5 root root 120 2006-01-29 14:44 ../
dr-xr-xr-x 1 root root 0 2006-02-01 07:40 FTP/

If I cd to FTP, and do a ls-l, these are the permisions

dr-xr-xr-x 1 root root 0 2006-02-01 07:40 ./
drwxr-xr-x 7 root root 168 2006-01-31 03:12 ../
drwxrwxrwx 1 root root 0 2006-01-31 18:06 ftphome/

Am stuck. Chmod on the Linux filessystem does not change much. Chaning the nss rights through Console one doesn't either.

I even went into the /etc/pam.d/vsftp file and commented out the following line.

# Uncomment the following line for anonymous ftp.
auth sufficient

It is obvious that my problem lies in the crosover from linux to nss file permissions. I just don't know how to solve it.

Thanks for reading this.