Skip to contentSkip to conversation

New: cannot get symlink file attributes and target with cifsacl mount option

Bug 14454 [email protected] 1 participant 5 messages Aug 3, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

https://bugzilla.samba.org/show_bug.cgi?id=14454

Bug ID: 14454
Summary: cannot get symlink file attributes and target with
cifsacl mount option
Product: CifsVFS
Version: 3.x
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: kernel fs
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Target Milestone: ---

On a Windows Server 2019 share with symlinks:

    C:\shares\data> dir
    ...
    12/16/2019  08:04 AM    <SYMLINKD>     DIR [sub\dir]
    12/16/2019  08:04 AM    <SYMLINK>      foolink.txt [sub\dir\foo.txt]
    ...

Mounting without cifsacl kind of works (still missing mode bits):

    # mount //nuc.test/data /mnt -o username=user1,password=user1,vers=3.0
    # ls -la /mnt
    total 3148410
    ...
    l---------  1 root root          0 Dec 16  2019 DIR -> sub/dir
    l---------  1 root root          0 Dec 16  2019 foolink.txt ->
sub/dir/foo.txt

Mounting with cifsacl (with working idmap):

    # mount //nuc.test/data /mnt -o
username=user1,password=user1,vers=3.0,cifsacl
    # ls -la /mnt
    ls: cannot access '/mnt/DIR': Operation not supported
    ls: cannot access '/mnt/foolink.txt': Operation not supported
    ...
    d?????????  ? ?         ?                         ?            ? DIR
    -?????????  ? ?         ?                         ?            ?
foolink.txt
Signature · 2 lines
You are receiving this mail because:
You are the QA Contact for the bug.
#1 lore raw

[Bug 14454] cannot get symlink file attributes and target with cifsacl mount option

https://bugzilla.samba.org/show_bug.cgi?id=14454

Aurélien Aptel <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Aurélien Aptel <[email protected]> --- Created attachment 16158
--> https://bugzilla.samba.org/attachment.cgi?id=16158&action=edit
dmesg smb3.0 with cifsacl

Signature · 2 lines
You are receiving this mail because:
You are the QA Contact for the bug.