Samba vs. NFS

listas at lozano.eti.br listas at lozano.eti.br
Fri Dec 12 18:19:25 UTC 2003


Hi,


> > It IS possible to use samba for, say, home directories or application
> > directories, but you would'nt be able to store there set-uid executables or
> > share files with other users (unless you make them world-readable or
> > worl-writable).
>
> I have been able to share files between users/groups with out having to
> use the world readable bits.
> 
> When mounting the required directories with smb, ensure that you set the
> GID to a particular group, and set the appropriate permissions 660/770.
> We are then in a situation where every one that is a member of that
> group have access to those files, but it is not a global thing.

Note that, in order to do this, you have to change smb.conf, something regular
user's shouldn't be able to do. So the admin can configure shared areas for
particular groups, but the user himself would not be able to share his files
unless they give world access.

Besides that, the permission bits would have to be set from the server itself
(using ssh, rlogin or telnet) or using NFS, not from the smbfs mounted share,
so regular users won't be able to change permissions.


[]s, Fernando Lozano





More information about the fedora-list mailing list