[ale] Mounting /home and /data with cifs on a server?
Richard Bronosky
Richard at Bronosky.com
Sun Oct 25 16:37:13 EDT 2009
I've had similar problems mount a local HFS+ formatted drive. Nothing
I could do would ever get the files on the drive to be owned by my
user. Everything is user 99.
On Sun, Oct 25, 2009 at 3:17 PM, James Sumners <james.sumners at gmail.com> wrote:
> 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
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
--
.!# RichardBronosky #!.
More information about the Ale
mailing list