A
anaigini45
There are a few linux machines in my company which have their /home and /home/scans/data directory mapped from the nfs server.
Therefore I believe the permissions of directories on these linux machines will be inherited from the nfs server too?
I need to access the /home/scans/data directory in one of the Linux machines, and make changes in other folders/files in it.
Unfortunately, in the linux machine, I can't even do an ls -la from /home/scans :
Code:
lychee:/home/scans# ls -la
ls: cannot open directory .: Permission denied
lychee:/home/scans#
To check the permissions of /home/scans :
Code:
lychee:/home/scans# ls -ld /home/scans
drwxr-x--x 10 root nta 4096 2010-02-01 12:14 /home/scans
The permission in the nfs server for /home/scans/data is :
Code:
date:~# ls -ld /home/scans/data
drwxrws--T 176 root testdata 12288 2014-03-10 17:22 /home/scans/data
In the linux machine, I am logged in as root. And as I can see from the output above, root has rwx on the directory above.
So why can't I access the folder even with these permissions for root?
Continue reading...
Therefore I believe the permissions of directories on these linux machines will be inherited from the nfs server too?
I need to access the /home/scans/data directory in one of the Linux machines, and make changes in other folders/files in it.
Unfortunately, in the linux machine, I can't even do an ls -la from /home/scans :
Code:
lychee:/home/scans# ls -la
ls: cannot open directory .: Permission denied
lychee:/home/scans#
To check the permissions of /home/scans :
Code:
lychee:/home/scans# ls -ld /home/scans
drwxr-x--x 10 root nta 4096 2010-02-01 12:14 /home/scans
The permission in the nfs server for /home/scans/data is :
Code:
date:~# ls -ld /home/scans/data
drwxrws--T 176 root testdata 12288 2014-03-10 17:22 /home/scans/data
In the linux machine, I am logged in as root. And as I can see from the output above, root has rwx on the directory above.
So why can't I access the folder even with these permissions for root?
Continue reading...