How could they navigate directories outside of their own precisely without jailed shell or shell access? For /tmp, it has 1777 permissions, which only allows them to add files and folders for their own username due to the 1 permission (1 is the sticky bit).
The /scripts directory is owned by root:root and symlinked to /usr/local/cpanel/scripts location:
Code:
root@host [~]# ls -ld /scripts
lrwxrwxrwx 1 root root 25 Jun 18 21:38 /scripts -> /usr/local/cpanel/scripts/
Code:
root@host [/usr/local/cpanel]# ls -ld scripts
drwxr-xr-x 4 root root 32768 Jun 23 15:24 scripts/
Code:
root@host [/usr/local/cpanel]# stat scripts
File: `scripts'
Size: 32768 Blocks: 64 IO Block: 4096 directory
Device: 4ah/74d Inode: 130813730 Links: 4
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2011-06-30 05:37:01.000000000 -0700
Modify: 2011-06-23 15:24:48.000000000 -0700
Change: 2011-06-23 15:24:48.000000000 -0700
I'm a bit confused where 777 comes into play here. A symlink doesn't have actual file permissions, the file permissions are those of /usr/local/cpanel/scripts directory, which is 755.
Please provide an example of how a user without shell access has actual access to navigate these directories.
Thanks!