How is it possible to make a folder under $HOME accessible to other users? I thought that's the case why we have softlinks but apparently I am missing some bits here. Can someone please shed a light on that?
Details: User Hadoop runs hadoop installaion and that contain bin folder with awailable commands to execute.
[hadoop@A1n1 hadoop-1.0.4]$ ls -al
total 7648
drwxr-xr-x. 14 hadoop hadoop 4096 Apr 22 2013 .
drwx------. 11 hadoop hadoop 4096 Oct 30 13:51 ..
drwxr-xr-x. 2 hadoop hadoop 4096 Feb 27 2013 bin
[hadoop@A1n1 bin]$ ls -al
total 152
drwxr-xr-x. 2 hadoop hadoop 4096 Feb 27 2013 .
drwxr-xr-x. 14 hadoop hadoop 4096 Apr 22 2013 ..
-rwxr-xr-x. 1 hadoop hadoop 14137 Oct 3 2012 hadoop
-rwxr-xr-x. 1 hadoop hadoop 2642 Oct 3 2012 hadoop-config.sh
I created a softlink pointing to bin folder:
[root@A1n1 /usr/local]# ls -l
total 44
drwxr-xr-x. 2 root root 4096 Sep 23 2011 bin
lrwxrwxrwx. 1 root root 29 Nov 1 08:16 hadoop.bin -> /home/hadoop/hadoop-1.0.4/bin
However when I switch to a different user and try to execute a command I get permission denied:
[bdst@A1n1 local]$ cd /usr/local/hadoop.bin
bash: cd: /usr/local/hadoop.bin: Permission denied
I am not sure what I am missing here as to me it seems that file permissions should be ok.