SSH and Permissions


#1

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 :slight_smile:

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


#2

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.


If you want useful replies, ask smart questions.