Re: NFS4 permissions problem -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/28/2012 05:01 AM, Bob Goodwin - Zuni, Virginia, USA wrote:
>
>
>    On the server:
>
>        [bobg@box8 ~]$ ll /nfs4exports/data
>        total 12
>        drwxrwxrwx. 2 root root 4096 Nov 27 12:56 notecase
>        drwxrwxr-x. 2 1000 1000 4096 Nov 27 12:52 oocalc
>        drwxrwxrwx. 2 root root 4096 Nov 27 11:27 rem
>
>    The same directory from box7:
>
>        [root@box7 ~]# ll /mnt/SRVR1/notecase/
>        total 1032
>        -rwxr--r--. 1 root root     297 Nov 27 12:56 notecase.key
>        -rw-r--r--. 1 root root 1052610 Nov 27 12:56 stuff.ncd
>
>    As a result [?] I can't write to the server
>
>        [root@box7 ~]# cp -r /home/bobg/BkU/notecase/stuff.ncd        /mnt/SRVR1/notecase/
>        cp: overwrite `/mnt/SRVR1/notecase/stuff.ncd'? y
>        cp: cannot create regular file `/mnt/SRVR1/notecase/stuff.ncd':
>        Permission denied
>
>     From box7 /etc/fstab - Two servers, BOX48 on the second line works,
>    192.168.1.8 is read only:
>
>        192.168.1.8:/nfs4exports/data/   /mnt/SRVR1 nfs4          defaults,rw,user 0 0
>
>        192.168.1.48:/SRVR1                       /mnt/BOX48 nfs4          defaults,rw,user 0 0
>
>    I set up both of these recently, the first one just worked, I've
>    been pulling my hair out on this one!
>
>    Any suggestions welcome,
>
>  

Seems right to me.  Only up for a few minutes at 05:15 to give a cat water......

Normally root access is not "allowed" across NFS mounts.  You're logged in as root on the client.  I've not done this in a while so you'll have to check.....

On the server side you probably have root_squash specified in the exports file.  I think that needs to be changed to no_root_squash.  You have to unmount the file system on the client side, re-export the files system on the server side, and then remount on the client side.

-- 
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -- Rick Cook, The Wizardry Compiled
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux