sftp: can't read/enter home directory
Posted by: rupert160
Posted on: 2009-03-31 04:21:00
When logging into sftp I get rejected from viewing my home directory.
I am a user but not an admin user.
I can login shell into the directory
The output of: "ls -al / | grep home " is
drwxrws--x 35 root staff 16384 2009-03-30 15:14 home
and the output of : "groups {username}"
{username} : pg1644200
now from the following command: /usr/sbin/usermod -G staff {username}
I get: "usermod: unable to lock password file" so I can't become part of the staff group and with execute only permissions as "other" user, it seems I won't be able to read the directory.
Any ideas about how I should get sftp access to the directory? otherwise I'll have to use ftp. And that's "not right".