Re: SMB Connections



I created the mountpoint as root, but was able to read/write to the
filesystem as me. The mountpoint is "covered up" by the filesystem you are
hanging over it. After issuing the mount command, the whole thing should
show as owned by the user and group that was specified in the uid, gid
options.

Here is the mountpoint before and after mounting:

<mailto:root@aixprod2> root@aixprod2: /> ls -ld /mnttst
drwxrwxr-x 2 root system 256 Aug 07 19:41 /mnttst

<mailto:root@aixprod2> root@aixprod2: /> ls -ld /mnttst

drwxr-xr-x 1 rweinman global 16384 Dec 31 1969 /mnttst

Bob

-----Original Message-----
From: Russ Hazzon [mailto:hazzon@xxxxxxxx]
Sent: Tuesday, August 07, 2007 6:27 PM
To: aix-l@xxxxxxxxxxxxx
Subject: Re: SMB Connections



I'm almost there. Just can't seem to get it. I'm wondering if it could be
a problem with my mountpont. I did a 'mkdir /mnt/name' while logged in as
root, but never did a chown or chgrp. . Right now root is the owner and
system is the group and rights are set at 755. Do I need to change any of
these to make it work?



Russ






_____




I think you need to use the wrkgrp parameter as part of the options.


mount -v cifs -n 198.0.0.137/username/password -o
uid=175,gid=219,wrkgrp=domainname /sharename /localmountpoint

-



Relevant Pages

  • Need some help on a pivot_root() syscall implementation
    ... Moves the root file system of the current process to the directory put_old, ... i.e. the mountpoint /mnt with the old root ... but it panics when I do 'ls /mnt' ...
    (freebsd-hackers)
  • Re: Listing of current ROOT with Mount Points
    ... process that would extract the current ROOT and its mount ... Then compare those mountpoint to the new ROOT that ... it seems we sometimes have others add mount points and not ... If they are mounted on a filesystem which is not ROOT, ...
    (bit.listserv.ibm-main)
  • Re: [PATCH 4/28] VFS: Stat shouldnt stop expire
    ... >>This patch fixes the problem where if you have a mountpoint that is going to ... >>expire, it fails to expire before somebody keeps stating the root of it's ... > Why only for the root dentry not any on statThis seems highly inconsistant. ... the above snippet will always reset the expire counter ...
    (Linux-Kernel)
  • Re: [9fans] Newbie question
    ... Hence the -c flag on mount and bind. ... mount -c /srv/x mountpoint ... I bet your root file system isn't mounted with the -c flag. ...
    (comp.os.plan9)
  • Re: Newbie loop device question
    ... And where does the mountpoint write its data to? ... The mountpoint is somewhere below root '/' okay? ... Memory fault -- brain fried ...
    (comp.os.linux.misc)