Bug 2094785 - "user" CIFS mount not supported
Summary: "user" CIFS mount not supported
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: cifs-utils
Version: 36
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: ronnie sahlberg
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2022-06-08 09:43 UTC by Stephane Travostino
Modified: 2022-07-03 14:25 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Last Closed:
Type: Bug

Attachments (Terms of Use)

Description Stephane Travostino 2022-06-08 09:43:15 UTC
Description of problem:

CIFS volumes can't be mounted as a normal user. The common suggestion is to add the setuid bit to mount.cifs, but this isn't possible to do on immutable distributions like Silverblue.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Configure a user-mountable / systemd automount CIFS volume
2. Try to mount it from Nautilus

Additional info:

I'm using the following fstab line for my volume:

//cupboard/data         /mnt/cupboard                   cifs    credentials=/etc/samba/cupboard.credentials,uid=1000,gid=1000,rw,noauto,x-systemd.automount,x-systemd.mount-timeout=30,_netdev,x-gvfs-show 0 0

The x-systemd.automount is recommended on multiple guides to delay mounting the volume until first accessed, instead of slowing down the system boot process.

See also: https://ask.fedoraproject.org/t/suddenly-user-cifs-mounts-not-supported/22785/4

Note You need to log in before you can comment on or make changes to this bug.