Problem mit SMB mount ...

Stefan U. Hegner stefan at hegner-online.de
Mon May 26 18:04:42 CEST 2025


Moin zusammen,

habe leider mal wieder Ladehemmung ;(.

Auf einen neuen Notebook (Ubuntu 24.04) habe ich einen Smb-Laufwerk 
genau wie auf dem alten Notebook (ebenfalls Ubuntu 24.04) eingerichtet, 
welches auf einem Bookworm-Server (Debian 12.11) gehostet wird.

Ich habe Folgendes:

/etc/fstab:
[...]
//192.168.2.250/tmp /media/hegi/tmp   cifs 
credentials=/home/hegi/.smbcredentials,uid=1000,gid=100,users,rw 0       0

$ ls -la /home/hegi/.smbcredentials
-rw------- 1 hegi hegi 49 Dez 28  2016 /home/hegi/.smbcredentials

$ cat /home/hegi/.smbcredentials
username=hegi
password=******* [Passwort mit Sonderzeichen ohne Anführungszeichen.]
domain=HEGINET

$ mount /media/hegi/tmp
mount: /media/hegi/tmp: //192.168.2.250/tmp konnte nicht im 
Nur-Lese-Modus eingehängt werden.
        dmesg(1) may have more information after failed mount system call.

$ sudo demsg
[...]
[ 1926.823331] CIFS: VFS: cifs_mount failed w/return code = -13
[ 1926.823485] CIFS: enabling forceuid mount option implicitly because 
uid= option is specified
[ 1926.823490] CIFS: enabling forcegid mount option implicitly because 
gid= option is specified
[ 1926.823494] CIFS: Attempting to mount //192.168.2.250/tmp
[ 1926.852560] CIFS: VFS: cifs_mount failed w/return code = -13

Auf dem Host ist uid=1000 "hegi" und gid=100 "users".

Ich begreife nicht, dass es auf der einen Kiste funktioniert, auf der 
anderen nicht.

Habe ich irgendwelche (weiteren) Einstellungen übersehen?

Der Share ist auf dem Host in der smb.conf so definiert:

    [tmp]
         comment = TMP on Zomba
         path = /tmp
         valid users = hegi, [und diverse andere mit Komma getrennt]
         read only = No
         create mask = 0765
         guest ok = Yes

Lieben Dank Euch im Voraus.

VG

Hegi.

-- 
Stefan U. Hegner
          <stefan at hegner-online.de>
               * * *
D-32584 Löhne --- good ole Germany
internet:http://www.hegner-web.de
               * * *
GPG-Key | 048D 7F64 0BEB 73B1 2725
F-Print | C05E 4F77 9674 EF11 55FE

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20250526/b8ab5d77/attachment.sig>


More information about the Linux mailing list