Unsolved

28 Posts

4604

November 17th, 2020 17:00

NFS getting permission denied for writes

Can mount successfully; but cannot wite

ISI-1# isi nfs exports list --zone dev -v
Zone: Dev
Paths: /ifs/dev/home
Description:
Clients: nesprd
Root Clients: nesprd
Read Only Clients: -
Read Write Clients: nesprd
All Dirs: No
Map Lookup UID: No
Map Retry: Yes
Map Root
Enabled: True
User: root
Primary Group: wheel
Secondary Groups: -
Map Non Root
Enabled: False
User: nobody
Primary Group: -
Secondary Groups: -
Map Failure
Enabled: False
User: nobody
Primary Group: -
Secondary Groups: -

ISI-1# ls -lead /ifs/dev/home
drwxr-xr-x + 2 root wheel 0 Nov 17 18:48 /ifs/dev/home
OWNER: user:root
GROUP: group:wheel
0: user:root allow dir_gen_read,dir_gen_write,dir_gen_execute,std_write_dac,delete_child
1: group:wheel allow dir_gen_read,dir_gen_execute
2: everyone allow dir_gen_read,dir_gen_execute

On Linux

nesprd:/root# mount  -overs=3 172.20.165.21:/ifs/dev/home   /mnt1

nesprd:/root# touch /mnt1/test
touch: cannot touch ‘/mnt1/test’: Permission denied

Moderator

 • 

7.9K Posts

 • 

93 Points

November 18th, 2020 10:00

Hello JJamesk,

Here is a link to a KB that maybe of assistance. https://dell.to/391YhoS

Here is a second one as well.

https://dell.to/32YIhQR

4 Apprentice

 • 

638 Posts

 • 

3 Points

November 18th, 2020 19:00

@JJamesk 

groups and others not allowed to write. Try chmod 777 /ifs/dev/home

ISI-1# ls -lead /ifs/dev/home
drwxr-xr-x + 2 root wheel 0 Nov 17 18:48 /ifs/dev/home

28 Posts

November 19th, 2020 06:00

Thanks for those 2 KB. Very Informative

28 Posts

November 19th, 2020 06:00

Thanks . chmod 777 worked. But don't understand the reason behind it .

For the export, the Linux client has root access and is mounted from as root user.

Root User Mapping on isilon is set to : root/wheel

 

 

4 Apprentice

 • 

638 Posts

 • 

3 Points

November 19th, 2020 17:00

@JJamesk 

Only root had access to write, which not what you want probably.

ISI-1# ls -lead /ifs/dev/home
drwxr-xr-x + 2 root wheel 0 Nov 17 18:48 /ifs/dev/home
OWNER: user:root

rwxrwxrwx in bits=777

rwxr-xr-x in bits=755

1st rwx=user=root

2nd r-x=group

3rd r-x=others

28 Posts

November 21st, 2020 14:00

but i am root on the linux box

4 Apprentice

 • 

638 Posts

 • 

3 Points

November 23rd, 2020 09:00

@JJamesk,

 

root squashing is the default for NFS exports on Powerscale/Isilon clusters.

http://doc.isilon.com/onefs/8.1.1/help/en-us/ifs_t_create_root_squash_rule_gui.html 

No Events found!

Top