Tuesday, May 26, 2009

mouting a cifs server that you can access

Itś troubling that I had to do a lot of searching do be able to do something as simple as this:
a) On my Ubuntu desktop, mount a cifs server where I have an account as a user ¨xyz¨.
b) Access the mount with my Ubuntu desktop user account ¨abc¨.

I suppose I don´t clearly understand the problem. The issue as I see it is that you can only mount using sudo. And once mounted, the local Ubuntu account cannot access it without having hte right permissions on the mount point.

I had to do the following:
a) The local mount point/directory needs to have the permissions for ¨abc¨.
b) ¨sudo mount -t cifs /cifs_server/xyz_account /mnt/local_mount_point -o rw,nosuid,nodev,noatime,uid=1000,umask=077¨

No comments: