4 replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
source | link

You give user1 and user2 one directory to share on the remote server ? with group write permission.

chroot is used to set up a restrictive environment (a mini root file system) then within there a /home/shared_directory could sit.

The first error is because you set the chrootdirectory to the users home directory (everything in chroot should be owned by root and not writable).

The second error you are setting the chroot to /sftp/username

Here's a similar question.

http://unix.stackexchange.com/questions/108778/chroot-sftp-users-who-require-access-to-multiple-directories-under-same-parent-f?rq=1Chroot SFTP users who require access to multiple directories under same parent folder

You give user1 and user2 one directory to share on the remote server ? with group write permission.

chroot is used to set up a restrictive environment (a mini root file system) then within there a /home/shared_directory could sit.

The first error is because you set the chrootdirectory to the users home directory (everything in chroot should be owned by root and not writable).

The second error you are setting the chroot to /sftp/username

Here's a similar question.

http://unix.stackexchange.com/questions/108778/chroot-sftp-users-who-require-access-to-multiple-directories-under-same-parent-f?rq=1

You give user1 and user2 one directory to share on the remote server ? with group write permission.

chroot is used to set up a restrictive environment (a mini root file system) then within there a /home/shared_directory could sit.

The first error is because you set the chrootdirectory to the users home directory (everything in chroot should be owned by root and not writable).

The second error you are setting the chroot to /sftp/username

Here's a similar question.

Chroot SFTP users who require access to multiple directories under same parent folder

3 added 166 characters in body
source | link

You give user1 and user2 one directory to share on the remote server ? with group write permission.

chroot is used to set up a restrictive environment (a mini root file system) then within there a /home/shared_directory could sit.

The first error is because you set the chrootdirectory to the users home directory (everything in chroot should be owned by root and not writable).

The second error you are setting the chroot to /sftp/username

Here's a similar question.

http://unix.stackexchange.com/questions/108778/chroot-sftp-users-who-require-access-to-multiple-directories-under-same-parent-f?rq=1

You give user1 and user2 one directory to share on the remote server ? with group write permission.

chroot is used to set up a restrictive environment (a mini root file system) then within there a /home/shared_directory could sit.

The first error is because you set the chrootdirectory to the users home directory (everything in chroot should be owned by root and not writable).

The second error you are setting the chroot to /sftp/username

You give user1 and user2 one directory to share on the remote server ? with group write permission.

chroot is used to set up a restrictive environment (a mini root file system) then within there a /home/shared_directory could sit.

The first error is because you set the chrootdirectory to the users home directory (everything in chroot should be owned by root and not writable).

The second error you are setting the chroot to /sftp/username

Here's a similar question.

http://unix.stackexchange.com/questions/108778/chroot-sftp-users-who-require-access-to-multiple-directories-under-same-parent-f?rq=1

2 added 214 characters in body
source | link

You give user1 and user2 one directory to share on the remote server ? with group write permission.

chroot is used to set up a restrictive environment (a mini root file system) then within there a /home/shared_directory could sit.

The first error is because you set the chrootdirectory to the users home directory (everything in chroot should be owned by root and not writable).

The second error you are setting the chroot to /sftp/username

You give user1 and user2 one directory to share on the remote server ? with group write permission.

chroot is used to set up a restrictive environment (a mini root file system) then within there a /home/shared_directory could sit.

You give user1 and user2 one directory to share on the remote server ? with group write permission.

chroot is used to set up a restrictive environment (a mini root file system) then within there a /home/shared_directory could sit.

The first error is because you set the chrootdirectory to the users home directory (everything in chroot should be owned by root and not writable).

The second error you are setting the chroot to /sftp/username

1
source | link