SSH and Permissions

SSH and Permissions

Posted by: bkburns
Posted on: 2005-03-10 15:09:00

I need to grant access to a peer to edit one of my websites via SSH. I know I can allow him to do this via FTP, but he prefers SSH/VIM and he is doing the work for me for free :-)

I created the shell account for him but he only has read access to files in the site folder in my home dir. I am comfortable in the shell, but I am not that comfortable with UNIX permissions and a shared server is not the best place for me to screw up the first time....

If I understand correctly, I should create a group and add both of us to it, make that group the owner of the folder, and make sure that group has R+W permissions. Is this correct?

Thanks,

B

Re: SSH and Permissions

Posted by: kchrist
Posted on: 2005-03-10 16:08:00

If I understand correctly, I should create a group and add both of us to it, make that group the owner of the folder, and make sure that group has R+W permissions. Is this correct?

Exactly.

Tags: sshshell accountread accessvimscrewftpadd