pcit
February 22nd, 2009, 07:01 PM
Hi everyone,
I am trying to find the right way to create user accounts for sftp for them to upload files to the server. Also, these files will sit in /var/www/{some folder} for people to download (anonymously).
I have the following questions:
1.) What kind of user account should I create for them?
i.e. regular linux account with bash shell, or...?
2.) What is the correct directory/file permission for this folder?
I tried to setup the folder with permission 664, but I was not able to cd to that directory nor read/write/create any file in that directory. I thought permission 664 was "readable and writable" for the user and users who were in the assigned group. When I used the Cyberduck (sftp client for mac), I was not even able to login to the folder...
I am trying to find the right way to create user accounts for sftp for them to upload files to the server. Also, these files will sit in /var/www/{some folder} for people to download (anonymously).
I have the following questions:
1.) What kind of user account should I create for them?
i.e. regular linux account with bash shell, or...?
2.) What is the correct directory/file permission for this folder?
I tried to setup the folder with permission 664, but I was not able to cd to that directory nor read/write/create any file in that directory. I thought permission 664 was "readable and writable" for the user and users who were in the assigned group. When I used the Cyberduck (sftp client for mac), I was not even able to login to the folder...