is there anyway a user can access (assuming correct permissions) the parent directory of a directory he accesses through a symlink?
... ok, that sounds strange
What I mean is, imagine the following directories:
./dir1 user1 700
./dir1/a user1 777
./dir1/a/b user1 777
./dir2 user2 700
Now, if the superuser creates a symlink to ./dir1/a/b in the dir2 directory, is there any way user2 can access ./dir1/a ?
(assuming he does not somehow know the absolute path)
I'm thinking of using this to let users have their homepages, i.e. create a link from /home/userX/www to var/www/userX (the ftp is chroot-ed).
Is this a bad idea?