I was mistaken about the cause of this bug. It appears that some default
setting has changed, and cifs mounts need uid and gid options passed
explicitly. In previous Ubuntu versions, I could mount cifs with just
credentials provided I set the owners of the mount point and remote
files correctly, a one-time detail. In Ubuntu 17.10, if I fail to pass
uid,gid to cifs mount options, it's mounted as root:root and the only
access is by everyone permissions or if I'm root.

Workaround: when mounting cifs, use options as such:
defaults,uid=1001,gid=1001,credentials=[path]

Where the ids can be retrieved using 'id [name]' from the shell.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1735953

Title:
  samba mount fails to write

To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/1735953/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to