mount permissions problems

Rob MacGregor freebsd.macgregor at blueyonder.co.uk
Sat Oct 8 14:31:43 PDT 2005


On Saturday, October 08, 2005 10:10 PM, Chuck Robey <> unleashed the infinite
monkeys and produced:

> I could sure use some help here.
> 
> I have this Zaurus pda, running OpenBSD (FreeBSD doesn't run on arm,
> last I looked), and I have just gotten usb networking to work.  I am
> trying to get nfs mounts to work, and I have very nearly got it working,
> except for one problem: permissions.
> 
> For example, I have a /usr3/local that I want to mount as /usr/ports on
> the Zaurus.  When I do that (and it does mount), if I try to "touch
> garbage", it comes back and tells me "Permission denied".  I can't get
> around this.

Keep in mind that the root user isn't mapped across an NFS mount by default:

     In the absence of -maproot and -mapall options, remote accesses by root
     will result in using a credential of -2:-2.  All other users will be
     mapped to their remote credential.

If you want a remote system to have root access to the file system you *MUST*
explicity configure this.

-- 
 Rob | Oh my God! They killed init! You bastards!



More information about the freebsd-hackers mailing list