[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Samba Won't Mount, Buster to Bullseye migration



I just re-installed my Samba server, formerly on Buster, now on
Bullseye. This has worked in the past, including Bullseye clients
mounting a share on a Buster server. I have one share defined, for my
user:

[samba]
path = /crc/samba
valid users = charles
read only = no

/etc/fstab has the following line (possibly wrapped in transit):

# # SMB mount per
https://wiki.samba.org/index.php/Mounting_samba_shares_from_a_unix_client
and some experimenting. ,noauto //samba.localdomain/samba
/home/charles/samba cifs
x-systemd.automount,_netdev,rw,credentials=/etc/samba/charles.credentials,uid=charles,gid=charles,file_mode=0644
    0       0

So when I try to mount, I get:

root@hawk:~# mount /home/charles/samba/ && ll /home/charles/samba/
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel
log messages (dmesg) root@hawk:~# 

syslog shows:

Oct 26 21:22:49 hawk kernel: [ 2901.229826] CIFS: Attempting to mount
//samba.localdomain/samba Oct 26 21:22:49 hawk kernel: [ 2901.242021]
CIFS: VFS: cifs_mount failed w/return code = -13

charles@hawk:~$ ll -d samba/
drwxr-xr-x 2 charles charles 4096 Oct 26 12:56 samba//
charles@hawk:~$

root@hawk:/crc# ll -d samba/
drwxr-xr-x 16 charles charles 4096 Oct 19 18:28 samba//
root@hawk:/crc# 


Searching on that last line turned up nothing informative. The man page
for mount.cifs wasn't very informative.


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


Reply to: