Click to See Complete Forum and Search --> : Permissions Anomaly


sminons
10-27-2003, 03:31 AM
Why are the permissions for a shared folder ( samba ) different when viewed from the host machine (containing the shared folder ) and when viewed by accessing the same share from another machine?. Both the machines are running GNU/Linux.

Satanic Atheist
10-27-2003, 11:42 AM
Do you have an example?

Because of the way DoS (hehe) files are stored with only three flags (read-only, archive and hidden) which do not exist under Linux, Linux will often use the "spare" permissions (typically x) to store the DoS attributes. This could explain it.

James

sminons
10-27-2003, 09:48 PM
Here's what I want to know. I am accessing a shared folder through samba and I gave "ls -l". Here is what I get.
drwxr-xr-x 1 root root 4096 Oct 27 20:47 sec_hdd/

If I issue the same command by connecting to the host by ssh and give 'ls -l". For the same folder, I get
drwxrwxrwx 4 jacob jacob 4096 Oct 27 20:47 sec_hdd/

Why is this so?.