I run SAMBA 4.9.5 on my raspberry pi 4 and share a folder on my external hard drive(exfat as fs).
It worked all fine until I want to remotely delete or modify files on it.
I cannot delete or modify anything on the HDD from my windows pc, mac and iPhone. Nothing works. Deleting and modifying files on my boot drive works just fine. The only thing I can do is browse, create a file, change the content but when I want to rename the file or delete it I get an error saying that the requested operation is not supported.
I checked my HDD for any errors on windows but the drive is all fine.
[global] netbios name = RaspNAS server string = NAS Server fuer Dalbudak server role = standalone server #min protocol = SMB2 max protocol = SMB3 #client min protocol = SMB2 client max protocol = SMB3 #server min protocol = SMB2 server max protocol = SMB3 ea support = yes vfs objects = catia fruit streams_xattr fruit:metadata = stream fruit:model = MacSamba fruit:posix_rename = yes fruit:veto_appledouble = no fruit:wipe_intentionally_left_blank_rfork = yes fruit:delete_empty_adfiles = yes wins support = yes read raw = yes write raw = yes log file = /etc/samba/log encrypt passwords = yes [HOMEPI] path = / comment = PI browsable = yes read only = no writable = yes Guest ok = no force group = nas valid users = pi inherit owner = yes create mask = 777 directory mask = 777 force create mode = 777 force directory mode = 777 force user = root dos filemode = yes store dos attributes = yes [Mert] path = /media/Merts-HDD/NAS/Mert comment = Merts-NAS browsable = yes read only = no writable = yes Guest ok = no valid users = mert pi create mask = 777 directory mask = 777 force create mode = 777 force directory mode = 777 force user = pi force group = nas dos filemode = yes store dos attributes = yes
I tried almost anything but nothing worked for me. I even edited the fstab file and rebooted like 20-30 times no results.
/dev/sda1 /media/Merts-HDD/ exfat defaults,nofail,noatime,async,rw,uid=1000,gid=1005,umask=000 0 0