This has been asked before (I could link to 3 other posts I've seen here), but none of them have been answered.
I've followed this tutorial on how to set up a NAS using Samba with a Raspberry Pi. Everything works okay, the drive and files show up, I can log in fine (though only once, Windows apparently keeps me logged in after that?). The only problem I'm having is that I can't write to it. I can't create a folder or copy a file to it or anything.
I've never used any sort of Linux code, so while I'll try to help you help me in any way I can, I'd really appreciate examples of any code you'd like me to run. In general though, almost everything is set up like in the tutorial, apart from a file name, username, and one or two numbers I've tried changing that other guides have suggested (to no avail).
User and group info (id
command):
uid=1001(Connor) gid=100(users) groups=100(users)
Contents of /etc/fstab
:
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
/dev/sda /media/pi auto defaults,noatime 0 0
TL;DR
Destination folder access denied.
Any help appreciated.
uid=1001(Connor) gid=100(users) groups=100(users)
/etc/fstab is:proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 2 /dev/mmcblk0p2 / ext4 defaults,noatime 0 1 /dev/sda /media/pi auto defaults,noatime 0 0