Hello all!I am having a problem with the OpenSSH-sFTP server.I have a user, "niften", I want him to be able to edit files in his directory, upload files, and download th... [by rguz10]
I'm using Openindiana (Solaris 10) containers and I want to let users upload web content over sftp
I'v managed to setup internal-sftp of openssh and lock user under web root.
All the files under web root should be owned by sftp user but at the same time web server should have read access to all these files.
Here are the step I did and I am having problem resolving this issue,
I created chrooted directory for sftp and the ChrootedDrectory looks like this
Match Group sftp
I added sftp user with
useradd -g sftp -d /sftp user
The /chroot/home directory is own by root:root and chmod is
I have 700 binary files (pdf) to download and right now only 400 are available on a sftp server. Can sftp, from the cli, determine what files exist in the local directory so it doesn't need to re-download those files, or will all 700 need to be downloaded and any new files will need to specify the file name?
I'm trying to set up sftp so that a few trusted people can access/edit/create some files. I have jailed a user into their home directory (/home/name) but have run into a problem. I want for them to also be able to access other parts of the VPS because it is also a game server, webhost, etc, and I want for them to be able to have full control of files outside their jailed directory.
I have SFTP setup using internal-sftp on OpenSSH. I'm chrooting into /var/www as a generic user. New files are created as the user. I'd like new files to be created as www-data for simplicity and security. How can I set this up so that new files are created with www-data?