I am quite certain I set the FTP directory restrictions correctly
Active --checked
Only Server “myDomain.com” selected
Virtual Server’s Home Directory selected
The above for all domains. Though each time I get an additional unselected entry at the bottom of the list. I presume you this for now restrictions and if it is unchecked it has no effect.
Stopped and started the FTP server
But I can still traverse /
and read any file anywhere with global set to read:
SSH_FXP_READDIR
drwxr-xr-x 2 root root 4096 May 8 2008 disk2 [SFTP[4096,0,0,16877,1210286214]]
drwx------ 2 root root 16384 May 8 2008 lost+found [SFTP[16384,0,0,16832,1210282785]]
dr-xr-xr-x 211 root root 0 Feb 8 11:09 proc [SFTP[0,0,0,16749,1297192156]]
drwxr-xr-x 2 root root 4096 Jan 31 04:05 bin [SFTP[4096,0,0,16877,1296475553]]
drwxr-x— 21 root root 4096 Jan 12 00:30 root [SFTP[4096,0,0,16872,1294821006]]
drwxr-xr-x 2 root root 4096 Mar 29 2007 srv [SFTP[4096,0,0,16877,1175187612]]
drwx------ 5 root root 4096 May 12 2008 Maildir [SFTP[4096,0,0,16832,1210611220]]
drwxr-xr-x 2 root root 4096 May 8 2008 selinux [SFTP[4096,0,0,16877,1210282811]]
drwxr-xr-x 26 root root 4096 Feb 8 11:09 … [SFTP[4096,0,0,16877,1297192177]]
drwxr-xr-x 2 root root 4096 Jul 8 2008 media [SFTP[4096,0,0,16877,1215558066]]
drwxr-xr-x 27 root root 4096 May 10 2008 var [SFTP[4096,0,0,16877,1210449522]]
drwxr-xr-x 30 root root 4096 Feb 17 17:42 home [SFTP[4096,0,0,16877,1297993364]]
drwxr-xr-x 2 root root 4096 Mar 29 2007 mnt [SFTP[4096,0,0,16877,1175187612]]
drwxr-xr-x 2 root root 4096 Feb 9 2008 misc [SFTP[4096,0,0,16877,1202552243]]
drwxr-xr-x 8 root root 4096 Dec 5 15:08 opt [SFTP[4096,0,0,16877,1291590507]]
drwxr-xr-x 2 root root 4096 Dec 2 14:39 postgresql [SFTP[4096,0,0,16877,1291329557]]
drwxr-xr-x 106 root root 12288 Feb 19 09:26 etc [SFTP[12288,0,0,16877,1298136389]]
drwxr-xr-x 26 root root 4096 Feb 8 11:09 . [SFTP[4096,0,0,16877,1297192177]]
-rw-r–r-- 1 root root 0 May 8 2008 .autorelabel [SFTP[0,0,0,33188,1210283218]]
-rw-r–r-- 1 root root 0 May 29 2008 .htaccess [SFTP[0,0,0,33188,1212094176]]
drwxr-xr-x 11 root root 0 Feb 8 11:09 sys [SFTP[0,0,0,16877,1297192158]]
drwxr-xr-x 10 root root 3760 Feb 9 07:27 dev [SFTP[3760,0,0,16877,1297265259]]
-rw-r–r-- 1 root root 0 Feb 8 11:09 .autofsck [SFTP[0,0,0,33188,1297192177]]
drwxr-xr-x 3 root root 4096 Dec 26 2009 backups [SFTP[4096,0,0,16877,1261873122]]
drwxr-xr-x 14 root root 4096 Jan 31 04:05 lib [SFTP[4096,0,0,16877,1296475548]]
drwxr-xr-x 4 root root 1024 May 10 2008 boot [SFTP[1024,0,0,16877,1210431546]]
drwxrwxrwt 7 root root 69632 Feb 19 09:27 tmp [SFTP[69632,0,0,17407,1298136475]]
drwxr-xr-x 15 root root 4096 Dec 2 14:40 usr [SFTP[4096,0,0,16877,1291329655]]
drwxr-xr-x 2 root root 12288 Jan 31 04:05 sbin [SFTP[12288,0,0,16877,1296475552]]
SSH_FXP_READDIR
But, no user can see can see any content in /home/otherUser/
directories, (but he can see all the users, but not the content in those folders)