[ale] Mounting /home and /data with cifs on a server?
James Sumners
james.sumners at gmail.com
Sun Oct 25 15:17:39 EDT 2009
You can specify a user id and/or a group id for the mount. Then all
files stored on the mount will be owned by that user/group. You cannot
make it apply ownership rules for more than one user. See `man
smbmount`.
On Sun, Oct 25, 2009 at 3:08 PM, Robert L. Harris
<robert.l.harris at gmail.com> wrote:
>
> Has anyone mounted /home or /data (random dir containing user data)
> from a CIFS
> mount instead of NFS? I'm looking at some performance issues with a NAS
> server
> and it appears CIFS is more repsonsive. The only problem is if I mount
> /home
> with:
>
> //lincoln/home /home cifs
> credentials=/root/samba-creds.txt,workgroup=foobar 0 0
>
> and use the creds of root to mount the dirs, then any files I create as
> user "robert" end
> up created owned by user root on the server, and thus user root on the
> clients hosing
> up /home, etc.
>
> Thoughts?
> Robert
--
James Sumners
http://james.roomfullofmirrors.com/
"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."
Missionaria Protectiva, Text QIV (decto)
CH:D 59
More information about the Ale
mailing list