Am 08. Mar, 2001 schwäzte Kurt Granroth so:
> I am trying to figure out why I would want to use NFS over SMB for a
> "public" directory.. and am failing.
>
> I have a directory (/space) on my main server (fastlane) that is
> public in the sense that I want all hosts and all users in my internal
> network to be able to read and write to it. No matter which user
> writes a file to it, I want all users to be able to do everything to
> it.
>
> Now my first inclination is to use NFS since that is the gold standard
> for distributed filesystems in Unix. Unfortunately, I can't figure
> out how to force a particular umask, dmask, or user on the files.
> Some users on some of my systems are capable of writing files that
> can't be accessed by other users on other systems.
I thought there was a way to set uid, but I'm not seeing it. I know
default action is to have root user from foreign boxen work as
nobody. Don't know if you can get that to work for everybody. If so
everybody will have 100% access since they'll all be working as the same
user.
Another option is afs, but that starts increasing the complexity of your
normal environment.
If you run nfs remember to block rpc on your connection from the Net. You
should be doing that anyways, though :).
Ask Jiva and the place I'm consulting at what happens if you leave your
rpc stack open to the world ;-).
ciao,
der.hans
--
#
der.hans@LuftHans.com home.pages.de/~lufthans/
www.YourCompanyHere.net ;-)
# Stell dir vor, es ist Krieg und keiner geht hin...