Mapping users on mount

From: Captain Dondo (yan_at_NsOeSiPnAeMr.com)
Date: 09/29/05


Date: Thu, 29 Sep 2005 12:05:01 -0700

I need to be able to 'map' an ordinary user to root...

Here's the scenario:

I am developing for an embedded platform. On my development box, I work
as an ordinary user. As I compile stuff, I place it into a ~/boot
directory.

The ~/boot dir is nfsmounted by the embedded SBC as its root fs.

The problem is that the files in ~/boot are owned by
ordinary_user:ordinary_user, and nfsmounted as being owned by user
1001:1001. This wreaks all sorts of havoc when the embedded system
wants to boot.

I could change the files in ~/boot to be all owned by root, but that is
a major PITA, since I'd have to be root to make changes to the fs.

I could do development as root, which is probably a "really bad
idea"(tm). :-)

Or I could figure out some way to get nfs to 'map' user 1001:1001 to
user 0:0 when it mounts the root fs.

ISTR I could do that at one time, but I can't figure out how....

Thanks....



Relevant Pages

  • Re: weird symptom - possible infection
    ... but this does not map back to the address - POSSIBLE BREAKIN ATTEMPT! ...
    (Debian-User)
  • RE: Multiple vs No records
    ... Please note that Mapper transforms one root from source schema to one root from target schema. ... You can not transform message to either one or the other root node at the target schema with a single map (TREATMENTS or TREATMENT). ...
    (microsoft.public.biztalk.general)
  • Re: GRUB issues
    ... map (hd1) ... You use rootnoverify rather than root ... Also, depending on your hardware configuration, the windows drive might ...
    (Ubuntu)
  • Mapping users on mount
    ... I am developing for an embedded platform. ... I work as an ordinary user. ... As I compile stuff, I place it into a ~/boot directory. ... I could change the files in ~/boot to be all owned by root, but that is a major PITA, since I'd have to be root to make changes to the fs. ...
    (comp.protocols.nfs)
  • Re: Mapping more than 100 messages to one message
    ... The root element is missing." ... And the following message was show in the output xml file in _mapdata folder ... Murugan A ... Create a map, select source schema, and destination schema. ...
    (microsoft.public.biztalk.general)