Re: nfs client ownership

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

 



On Sat, 2016-07-09 at 12:48 -0400, bruce wrote:
> the test users have the same gui/uid on both the nfs server as well as
> the client...
>  
> I tested this, prior to setting the idmap process

I think you need to give some more info.  Your initial message seemed to
indicate that files were arriving as owned by user1 (as you wanted).
And I think you wanted files created by any other users to that space to
be virtually chowned to user1 as they transferred.  Did I get that
right?

What I'm not sure about is where the files get owned by user1.  On the
server, on their own machine, or in multiple places?

And with another message, you mentioned some mounting parameters:

>> in the client fstab i have
>> #test to set the client nfs/mount
>> 192.168.1.45:/cloud_crawl /cloud_crawl  nfs defaults 0 0  -o uid=600 -o gid=600

Firstly, I *think* you may be doing that backwards (I suppose it depends
which way the files are going).  

If you're trying to change ownership on files going onto the server,
then on the NFS *server* try to squash ownership down to your desired
ID, with the NFS exports configuration (see the man page about
all_squash, anonuid and anongid), rather than mount options (of which
some of the options can only be applied to certain filesystems).

Secondly, check that "defaults" does what you want (that the defaults
are the defaults you think they are).

-- 
tim@localhost ~]$ uname -rsvp

Linux 3.19.8-100.fc20.i686 #1 SMP Tue May 12 17:42:35 UTC 2015 i686

All mail to my mailbox is automatically deleted, there is no point trying
to privately email me, I will only read messages posted to the public lists.

George Orwell's '1984' was supposed to be a warning against tyranny, not
a set of instructions for supposedly democratic governments.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
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