error displayed in kernel.log by cifsacl module

Bug #2007861 reported by David Lechevalier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cifs-utils (Ubuntu)
New
Undecided
Unassigned

Bug Description

The following error message is displayed in the kernel.log

Feb 20 14:35:50 test-sm-133 kernel: [ 368.437641] CIFS: VFS: cifs_acl_to_fattr: error -2 getting sec desc

# To reproduce
* Deploy a jammy vm uptodate

* Install needed packages

    apt install samba
    apt install cifs-utils

* Create a share using the command

    mkdir -p /data/share1-smb
    chmod 777 /data/share1-smb
    net usershare add share1s /data/share1-smb "Test share" "Everyone:F" guest_ok=y

* mount the share using the command

    mkdir /tmp/test
    cd /tmp/test
    mount -t cifs //127.0.0.1/share1s /tmp/test -o "cifsacl,guest,vers=3.1.1"

* Start the python script(in attachment) inside the mounted share

## Actual result
* The following message is displayed in red in the kernel.log

    Feb 20 14:35:50 test-sm-133 kernel: [ 368.437641] CIFS: VFS:
    cifs_acl_to_fattr: error -2 getting sec desc

This message is right, but it should be a debug message not an error.
I tried with a kernel 6.2. I have the same issue

Revision history for this message
David Lechevalier (dlecheva) wrote :
description: updated
description: updated
description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.