ich möchte für mehrere Linux und win10 Rechner und ein Lineageos - Smartphone ein Samba Share einrichten.
Der Share wird nur von einem user benötigt.
Der Share soll mit cifs gemounted werden:
client fstab:
//192.168.0.10/raspstick /media/raspstick cifs credentials=/home/user/.smbcredentials,uid=1000,gid=1000,file_mode=0644,dir_mode=0755
Dazu habe ich einen USB stick in meinem Raspberrypi verschlüsselt und unter /media/raspstick auf dem Rasp gemounted:
Warum werden hier Folder unter uid 1001 angelegt? Mein user hat mit 1000 diese Dateien auf dem Client erstellt.ls -la /media/raspstick/insgesamt 16
drwxrwxrwx 4 root root 4096 Mai 4 14:52 .
drwxrwxrwx 3 root root 4096 Mai 2 10:33 ..
drwxrwxr-x 7 1001 1001 4096 Mai 4 14:52 Documents
drwxrwxr-x 4 1001 1001 4096 Mai 4 14:52 .Trash-1000
smb.conf:
testparm:[global]
workgroup = WORKGROUP
security = DOMAIN
#wins support = yes
#guest account = nobody
#log = /var/log/smb.log
#[homes]
#read only = no
[raspstick]
path=/media/raspstick
browsable = yes
writable = yes
force create mode = 0664
force directory mode = 0775
testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[raspstick]"
Loaded services file OK.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions
# Global parameters
[global]
security = DOMAIN
idmap config * : backend = tdb
[raspstick]
path = /media/raspstick
force create mode = 0664
force directory mode = 0775
read only = No
Debian stable, testing, Win10 auf einer Qemu, Handy mit Lineageossamba --version
Version 4.5.16-Debian
Problem: Ich erhalte die Fehlermeldung "Keine Zugriffsberechtigung".
Mit dem LOS klappt kopieren, löschen etc.
Danke Euch!
Gruß
Rawbit