Quote:
Originally Posted by anishkumarv
if i set read permission alone to a user means i cannot able to login itself :-(
|
Ahh, sorry didn't realize you wanted to set users home directory.
There are issues with that, one is what you've noticed - without write permissions on homedir a user can't log in.
There is nothing you can do to change this - homedir must be writable.
Also, if several users share same homedir you must make sure A) all belong to same group and B) set umask for these users to 002, so group always has write access.
Another approach is to have separate homedirs and then set up one shared directory for ftp.
This I haven't tried personally, but I think you can use the option "local_root".
From the man-page:
local_root
This option represents a directory which vsftpd will try to change into after a local (i.e. non-anonymous) login
Also check this thread:
http://www.linuxquestions.org/questi...server-167202/