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

Re: NFS for dummies



Elimar Riesebieter wrote:
On Sat, 20 Nov 2004 the mental interface of
Ole Bahlmann told:


Hallo zusammen,

hier ein Ausschnitt der /etc/exports/ auf meinem Fileserver:
-------8<-------8<------
musik 192.168.1.0/255.255.255.0(rw,all_squash,anonuid=1000,anongid=100)
-------8<-------8<------
uid 1000 ist Benutzer ole, gid ist Gruppe users

Auf meinem Desktop möchte ich das Verzeichnis nun mounten.
Alle Dateien haben aber nun uid 1001, gruppe root.

Auf dem server habe ich nach Änderung der /etc/exports /etc/init.d/nfs-kernel-server restart gesagt

Wo ist mein Fehler?

man exports
...
all_squash
              Map all uids and gids to the anonymous user.
...

Lies weiter:
-------8<-------8<------
anonuid and anongid

These options explicitly set the uid and gid of the anonymous account. This option is primarily useful for PC/NFS clients, where you might want all requests appear to be from one user. As an example, consider the export entry for /home/joe in the example section below, which maps all requests to uid 150 (which is supposedly that of user joe).
-------8<-------8<------

Was mache ich falsch?



Reply to: