[systemd-bugs] [Bug 81120] New: Systemd automount from fstab ignores uid option and always mounts as uid=0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 9 10:03:03 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=81120

          Priority: medium
            Bug ID: 81120
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: Systemd automount from fstab ignores uid option and
                    always mounts as uid=0
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: davispuh at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

An entry in fstab:
//REMOTE/share /mnt/share cifs
username=user,password=pass,x-systemd.automount,x-systemd.device-timeout=6,uid=1000,gid=users
0 0

And systemd mounts it as

//REMOTE/share on /mnt/share type cifs
(rw,relatime,vers=1.0,cache=strict,username=user,domain=REMOTE,uid=0,noforceuid,gid=100,forcegid,addr=192.168.1.2,file_mode=0755,dir_mode=0755,nounix,serverino,rsize=61440,wsize=65536,actimeo=1)

but if I mount it manually with

mount -t cifs -o
username=user,password=pass,x-systemd.automount,x-systemd.device-timeout=6,uid=1000,gid=users
//REMOTE/share /mnt/share

uid is correctly set

//REMOTE/share on /mnt/share type cifs
(rw,relatime,vers=1.0,cache=strict,username=user,domain=REMOTE,uid=1000,forceuid,gid=100,forcegid,addr=192.168.1.2,file_mode=0755,dir_mode=0755,nounix,serverino,rsize=61440,wsize=65536,actimeo=1)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140709/c6b6d55e/attachment.html>


More information about the systemd-bugs mailing list