NAS Permissions .... getting them right :(
Posted: Fri Mar 25, 2016 8:00 am
I'm trying to get my "NAS" working properly - really it's a USB HDD plugged into my router that I have mounted for the Pi to access.
My ultimate objective is to get Transmission to write to the HDD directly, but I've got a more fundamental problem to fix first (maybe it's just my lack of understanding of what's going on).
As root, I can create folders and files on the NAS (folders are created with 777 permissions, files with 755)
When I login as pi, obviously I can navigate around the folder structure, but can't edit any files.
When Transmission is running (as a daemon), it has a similar problem - it can create folders and files, but the files are 755 so then it can't write to them.
The Pi is on a private network, not viewable on the internet (so security is less of an issue) ... is there a simple way around my problem ?
Basically, so that the general users (debian-transmission and pi) have write access to the files on the NAS.
My ultimate objective is to get Transmission to write to the HDD directly, but I've got a more fundamental problem to fix first (maybe it's just my lack of understanding of what's going on).
As root, I can create folders and files on the NAS (folders are created with 777 permissions, files with 755)
When I login as pi, obviously I can navigate around the folder structure, but can't edit any files.
When Transmission is running (as a daemon), it has a similar problem - it can create folders and files, but the files are 755 so then it can't write to them.
The Pi is on a private network, not viewable on the internet (so security is less of an issue) ... is there a simple way around my problem ?
Basically, so that the general users (debian-transmission and pi) have write access to the files on the NAS.