I need to give the group write permissions on the target machine.
The home directory permissions are: (this works without getting a
password prompt)
drwx r-x r-- (754) (Owner, group, others)
I want to be able to give the group write permissions as follows:
drwx rwx r-- (774)
bottom line: just adding write permissions to the directory for the
"group" causes the undesired password prompt to appear.
anyone know how to get around this? Maybe some file somewhere that
can be configured to allow more open directory permissions?
Thanks,
Steve
Check the settings in the 'sshd_config' file, and check the
permissions of the $HOME/.ssh directory and files when you set those.
$HOME/.ssh should be permissions 700, and the private files within it
should be 600.
Also, why are you using permissions '774'? Why not use '770'? A
directory without read but not execute permissions is... fairly odd.
And better yet, why are you sharing a home directory? Why not have
your users use a shared directory somewhere else?
Hi Nico / Steve,
I have also stuck with the same problem.
In my case some files will be FTPed by one user (user1) form other
system to my system.
And in my system a process running under some different user(user2)
will process those files and delete them after processing.
These two users user1 & user2 share the same group say group1.
So I need atleast 770 permissions for the home directory.
Have you done it successfully with 770 permission?
Please suggest.
Sandip