You are not logged in.

#1 2024-04-15 18:05:39

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 272
Website

Samba share mounts ok in Nautilus but will not umount w/out superuser

I am using Gnome Shell and Nautilus with a Samba share on my home network.

My server side smb.conf is as follows:

/etc/samba/smb.conf
[global]
disable netbios = Yes
dns proxy = No
logging = systemd
usershare max shares = 100
btrfs: manipulate snapshots = no
idmap config * : backend = tdb
vfs objects = btrfs
[archive]
create mask = 0700
path = /archive/
read only = No
valid users = lenny

And my client side is configured in two parts.
My client side fstab is as follows:

/etc/fstab
# NFS client
lurch:/srv/nfs/archive /media/nfs/NFS nfs user,noauto,rw,sync,nosuid,hard,timeo=900,retrans=5,_netdev
# Samba client
//lurch/archive /media/smb/SMB cifs username=lenny,password=*****,user,noauto,rw,sync,_netdev

And my client side mountpoint is created as follows:

sudo mkdir -p /media/smb/SMB
sudo chown lenny:users /media/smb/SMB
sudo chmod 700 /media/smb/SMB

With this setup I get an 'SMB' link in Nautilus which I can click to mount & unmount the share.
Its a nice setup and it worked for a very long time with no known issues.

Starting recently I can mount the Samba share ok, but I cannot umount it.
I get an error message stating that I need superuser privileges to umount.
I have to open a terminal, navigate to /media/smb/SMB and run sudo umount SMB.

According to the acrhives, there have been updates to Gnome, Nautilus and Samba recently.
Not being a dveeloper I am unable to check the histories to find clues about the likely cause.

Any thoughts?

Last edited by lenhuppe (2024-04-15 18:52:45)


Why do we drive on the parkway and then park in the driveway?

Offline

Board footer

Powered by FluxBB