Networking Forums

Networking Forums > Computer Networking > Linux Networking > Squashing users and groups in NFS

Reply
Thread Tools Display Modes

Squashing users and groups in NFS

 
 
Nigel
Guest
Posts: n/a

 
      01-28-2004, 03:34 AM
I have a directory which is shared using NFS and Samba. I would like all
files and folders in that directory to be owned by "nobody" and preferably
have the permissions g+rw o+rw. In samba this is trivial. I've attempted
to do this via NFS with the export below but is doesn't work, all new
files are owned by the user they are created with, they are not squashed.

/home/shared/office
10.190.42.64/28(rw,async,all_squash,anongid=1001,anonuid=65534)


Ideas?

Thanks
Nigel
 
Reply With Quote
 
 
 
 
Keith Keller
Guest
Posts: n/a

 
      01-28-2004, 04:15 AM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2004-01-28, Nigel <(E-Mail Removed)> wrote:
> I have a directory which is shared using NFS and Samba. I would like all
> files and folders in that directory to be owned by "nobody" and preferably
> have the permissions g+rw o+rw. In samba this is trivial. I've attempted
> to do this via NFS with the export below but is doesn't work, all new
> files are owned by the user they are created with, they are not squashed.
>
> /home/shared/office
> 10.190.42.64/28(rw,async,all_squash,anongid=1001,anonuid=65534)


Did you reexport this share using exportfs? Try exportfs -rav, umount
and remount your share. If it still doesn't work, what do your logfiles
say?

- --keith

- --
kkeller-(E-Mail Removed)
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAF0V4hVcNCxZ5ID8RAtNIAKCUkSBc/TMxUVf+lQQQqamtLpAGSwCfcIMJ
H/RYR8Exk6S7F5djF3XfFdk=
=vzO5
-----END PGP SIGNATURE-----
 
Reply With Quote
 
Nigel
Guest
Posts: n/a

 
      01-28-2004, 12:32 PM
Thanks, works like a charm.

Fancy that, using linux for 6+ years and I'm still learning basic commands


Nigel
 
Reply With Quote
 
Uncle StoatWarbler
Guest
Posts: n/a

 
      02-22-2004, 05:06 PM
On Wed, 28 Jan 2004 14:34:37 +1000, Nigel wrote:

> /home/shared/office
> 10.190.42.64/28(rw,async,all_squash,anongid=1001,anonuid=65534)
>
>
> Ideas?


Look in /var/lib/nfs/etab - you'll see all the defaults laid out
explictily and can tweak from there.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SKY news groups? srt Broadband 4 01-15-2008 08:08 AM
nis groups Dean Montgomery Linux Networking 1 09-18-2006 02:41 AM
Winbind dont return users/groups g.budzynski@gmail.com Linux Networking 0 08-24-2006 07:19 AM
NIS users in local groups? alex k. Linux Networking 2 02-20-2005 11:32 AM
Cannot add users or groups via network Perry Diels Windows Networking 0 07-07-2004 04:11 PM



1 2 3 4 5 6 7 8 9 10 11