Hi, I am a Unix administrator, new to Netapp. We have an IBM N6240 running data ontap 8.0.2p3. I created an nfs share on the netapp with rw and root access by an Ubuntu linux (10.4). I got a very weird permission issue.
From FilerView:
/vol/napc2_p2_kk1 Read-Write Access (10.49.51.119) Root Access (10.49.51.119) Security (sys)
On Ubuntu Linux: root@arsenal:~# df -k /kingkong/ Filesystem 1K-blocks Used Available Use% Mounted on red-str-napc2v49-p2:/vol/napc2_p2_kk1 8589934592 4266101440 4323833152 50% /kingkong root@arsenal:~# ls -ld /kingkong drwxrwxrwx 4 root root 4096 2012-04-09 10:15 /kingkong
When I copy files, I got thses errors: root@arsenal:/data1# cp -r test1 /kingkong cp: cannot create regular file `/kingkong/test1/test2/afg/po_533107/po_533107_0000000/po_533107_nir_0000000.tfw': Permission denied cp: cannot create regular file `/kingkong/test1/test2/afg/po_533107/po_533107_0000000/po_533107_blu_0000000.tif': Permission denied .. ..
"ls" shows me the file name have been created but data size is 0. root@arsenal:/data1# ls -l /kingkong/test1/test2/afg/po_533107/po_533107_0000000/ total 0 -rwxrwxrwx 1 root root 0 2012-04-09 10:51 po_533107_aoi.dbf -rwxrwxrwx 1 root root 0 2012-04-09 10:51 po_533107_aoi.prj -rwxrwxrwx 1 root root 0 2012-04-09 10:51 po_533107_aoi.shp -rwxrwxrwx 1 root root 0 2012-04-09 10:51 po_533107_aoi.shx -rwxrwxrwx 1 root root 0 2012-04-09 10:51 po_533107_blu_0000000.hdr -rwxrwxrwx 1 root root 0 2012-04-09 10:51 po_533107_blu_0000000_rpc.txt -rwxrwxrwx 1 root root 0 2012-04-09 10:51 po_533107_blu_0000000.tfw -rwxrwxrwx 1 root root 0 2012-04-09 10:51 po_533107_blu_0000000.tif -rwxrwxrwx 1 root root 0 2012-04-09 10:51 po_533107_component.dbf -rwxrwxrwx 1 root root 0 2012-04-09 10:51 po_533107_component.prj -rwxrwxrwx 1 root root 0 2012-04-09 10:51 po_533107_component.shp -rwxrwxrwx 1 root root 0 2012-04-09 10:51 po_533107_component.shx
If I do it again, no error. Everything looks fine after copy. root@arsenal:/data1# cp -r test1 /kingkong root@arsenal:/data1# ls -l /kingkong/test1/test2/afg/po_533107/po_533107_0000000/ total 390576 -rwxrwxrwx 1 root root 639 2012-04-09 10:58 po_533107_aoi.dbf -rwxrwxrwx 1 root root 143 2012-04-09 10:58 po_533107_aoi.prj -rwxrwxrwx 1 root root 236 2012-04-09 10:58 po_533107_aoi.shp -rwxrwxrwx 1 root root 108 2012-04-09 10:58 po_533107_aoi.shx -rwxrwxrwx 1 root root 445 2012-04-09 10:58 po_533107_blu_0000000.hdr -rwxrwxrwx 1 root root 3770 2012-04-09 10:57 po_533107_blu_0000000_rpc.txt -rwxrwxrwx 1 root root 74 2012-04-09 10:58 po_533107_blu_0000000.tfw -rwxrwxrwx 1 root root 19908262 2012-04-09 10:57 po_533107_blu_0000000.tif
Can somebody help me to find out what is going wrong?
Thanks Koping
On Mon, Apr 9, 2012 at 11:18 AM, Koping Wang kwang@esri.com wrote:
Hi,
I am a Unix administrator, new to Netapp. We have an IBM N6240 running data ontap 8.0.2p3. I created an nfs share on the netapp with rw and root access by an Ubuntu linux (10.4). I got a very weird permission issue.
Check the volume/qtree security settings. Could be that it has NTFS permissions instead of Unix. Run " qtree security /vol/napc2_p2_kk1" to check and set accordingly -n
Thanks, this helps.
Koping
-----Original Message----- From: Sto Rage(c) [mailto:netbacker@gmail.com] Sent: Monday, April 09, 2012 11:34 AM To: Koping Wang Cc: toasters@teaparty.net Subject: Re: nfs: cannot create regular file : Premission denied
On Mon, Apr 9, 2012 at 11:18 AM, Koping Wang kwang@esri.com wrote:
Hi,
I am a Unix administrator, new to Netapp. We have an IBM N6240 running data ontap 8.0.2p3. I created an nfs share on the netapp with rw and root access by an Ubuntu linux (10.4). I got a very weird permission issue.
Check the volume/qtree security settings. Could be that it has NTFS permissions instead of Unix. Run " qtree security /vol/napc2_p2_kk1" to check and set accordingly -n
Check security style