NFS mount permissions when user ids don't match

Brian Fahrlander brian at fahrlander.net
Wed Oct 24 02:17:23 UTC 2007


Bill Moseley wrote:
> I have a machine that exports a user's directory.  The user
> is id=1000 on that machine.
> 
> I want to allow any users on the client machine to mount the
> directory.
> 
> The problem, I think, is that uid 1000 on the client (ubuntu) machine
> is user admin, so a user can run mount /mnt/photos but then it gets
> mounted as:
> 
>     drwx------ 6 admin users 4096 1969-12-31 16:00 photos
> 
> Is there a way to mount this so a normal user can have access?

    Make all the users who'll use that file, in the same group, and make 
sure the group access is +rw.

    But the idea of NFS mounting a removable drive is the actual issue, 
here; if you're going to export something, you want to export something 
there's no chance someone's working on; I'd suggest copying over the 
files to a bit of drive space that's always there.


-- 
  ------------------------------------------------------------------------
  Brian Fahrländer                 Christian, Conservative, and Technomad
  Evansville, IN                              http://Fahrlander.net/brian
  ICQ: 5119262                         AOL/Yahoo/GoogleTalk: WheelDweller
  ------------------------------------------------------------------------




More information about the ubuntu-users mailing list