Link to home
Start Free TrialLog in
Avatar of Andre P
Andre PFlag for Canada

asked on

Unable to delete files from Samba mounted FAT32 USB drive mounted on debian

Hi , I am using a raspberry pi as a Nas and running rasbian.
I connected and mounted the drive . I launched samba can read the files from both Mac and OSX but i cannot delete any files .
I checked permissions and I should be able to but yet nothing . I do not know what I am missing .
I am new to Linux permissions and im learning CLI so any help would be appreciated

ther result of ls-l is

drwxr-xr-x 4 root root 32768 Sep 17 18:43 $RECYCLE.BIN
drwxr-xr-x 6 root root 32768 Oct 12 18:00 shares
drwxr-xr-x 2 root root 32768 Sep 17 18:42 System Volume Information
drwxr-xr-x 2 root root 32768 Oct  9 05:04 Video Server

I am also unable to change ownership due to permissions denied .
My end point is to have a NAs where i can store and delete files from MAC Clients , Windows Clients and other Debian clients


I have attached my smb.conf
smb.txt
ASKER CERTIFIED SOLUTION
Avatar of Gerwin Jansen
Gerwin Jansen
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Andre P

ASKER

Great Article !!

I found that I needed to add umask 0000 to the mount command and to fstab .
BTW I love the Pi .. I have 5 of them attached to every TV in my house they are mini network.
Regarding EXT file systems . I need to be able to plug the drive into either a mac or a windows machine when I need to copy 50-100 gigs of data.
I need a file system that will do that .. Would  I be better off switching ?
I wouldn't switch in that case, the low transferrate of the network interface of the Raspberry is the issue. I have a Banana Pi as well, use it as a NAS but that one doesn't handle full HD video, for that, Raspberry is better.