ok, i see, i did not correctly see how to identify if user was chrooted or not.
i understand that due to permissions clientA cannot access clientB files, due to chmod permissions set.
But what if you have two users on same domain?
One question is left unanswered from my post - can you highlight here what to do please?
imscp_sftp01 was created on same client domain, as imscp_sftp02.
Is it possible to prohibit that user imscp_sftp01 can write in folder of imscp_sftp02? Both belong to same client domain, but are different sftp accounts. As seen from file list they have same uid and gid.
Code
- drwxr-xr-x 6 vu2004 vu2004 4096 Jul 3 10:24 .
- drwxr-xr-x 14 root root 4096 Jul 3 10:24 ..
- drwxr-x--- 2 vu2005 vu2005 4096 Jul 3 10:24 imscp_ref_neu
- drwxr-x--- 2 vu2004 vu2004 4096 Jul 3 10:24 imscp_ref_web
- drwxr-x--- 2 vu2011 vu2011 4096 Jul 3 16:49 imscp_sftp01
- drwxr-x--- 2 vu2011 vu2011 4096 Jul 3 10:24 imscp_sftp02
My Problem: As user imscp_sftp01 i could do a "mkdir /home/imscp_sftp02/test" and directory was created.
Can it be prohibited?
thank you
MSU