VSFTPD Permission Configuration.
Hi Masters,
Thanks in Advance, This is the first time iam trying to configure ftp using VSFTP in that iam trying to access a path using multiple users. for example: /var/www/html using this users: anish test redhat For that i created a group ftpusers and add this 3 users in that group. so that i can able to login the same path using 3 different users but how to do this:? For anish - read permission alone For test - Read/Write permission for redhat - Read-write-executable permission. how To do this can any guide me to solve this thread |
There is no point in setting "execute" permission for a file that's only accessed via ftp.
But maybe these users are allowed to login to shell. Using only the standard file permissions you could set redhat as owner with permission rwx, group=ftpusers permission rw-. User "anish" shall not be member of the group ftpusers. Permissions will then be rwxrw-r-- |
Hi,
Using SETFACL i can able to do all my requirement, but any one help me?? using setfacl if i set read permission alone to a user means i cannot able to login itself :-( How to overcome this issue?? |
Quote:
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/ |
All times are GMT -5. The time now is 08:30 AM. |