Colin Fee
2012-04-27 03:54:13 UTC
On my work notebook running LMDE with cinnamon I can use nautilus to
"connect to server", in this case my 'home' share on the Monash windows AD
service.
The connection I get gives me all pertinent file system rights and appears
in the .gvfs folder in my home folder with the expected rights as well.
However if I issue a direct mount.cifs command thus:
~$ sudo mount.cifs
//ad.monash.edu/home/my-server-name/colinfee/home/colinfee/ad-home
-ocredentials=/home/colinfee/.smb/ad-credentials
It mounts but with the /home/colinfee/ad-home and subfolders etc owned by
root.
Varying the mount command thus makes no difference
~$ sudo mount.cifs
//ad.monash.edu/home/my-server-name/colinfee/home/colinfee/ad-home
-ocredentials=/home/colinfee/.smb/ad-credentials,uid=colinfee,gid=colinfee,setuids
~$ ls -ald ad-home
drwxr-xr-x 6 root root 0 Apr 16 16:42 ad-home/
I've also tried the forceuid/gid options too. I can use file_mode=0777 and
dir_mode=077 to override the issue but it seems like cheating.
Is what I'm seeing an artefact of my local LMDE system or the remote
Windows AD share?
As it works via the nautilus fuse method, why not mount?
Ultimately what I'm trying to do is mount the share and use rsync to sync
my local files to the server.
"connect to server", in this case my 'home' share on the Monash windows AD
service.
The connection I get gives me all pertinent file system rights and appears
in the .gvfs folder in my home folder with the expected rights as well.
However if I issue a direct mount.cifs command thus:
~$ sudo mount.cifs
//ad.monash.edu/home/my-server-name/colinfee/home/colinfee/ad-home
-ocredentials=/home/colinfee/.smb/ad-credentials
It mounts but with the /home/colinfee/ad-home and subfolders etc owned by
root.
Varying the mount command thus makes no difference
~$ sudo mount.cifs
//ad.monash.edu/home/my-server-name/colinfee/home/colinfee/ad-home
-ocredentials=/home/colinfee/.smb/ad-credentials,uid=colinfee,gid=colinfee,setuids
~$ ls -ald ad-home
drwxr-xr-x 6 root root 0 Apr 16 16:42 ad-home/
I've also tried the forceuid/gid options too. I can use file_mode=0777 and
dir_mode=077 to override the issue but it seems like cheating.
Is what I'm seeing an artefact of my local LMDE system or the remote
Windows AD share?
As it works via the nautilus fuse method, why not mount?
Ultimately what I'm trying to do is mount the share and use rsync to sync
my local files to the server.
--
Colin Fee
***@gmail.com
Colin Fee
***@gmail.com