feo
Honorary Master
OK so long story short...
I have a raspberry pi with Raspbian on it. I automount a folder from my NAS on startup (by editing the fstab file) but the problem is the owner is root.
e.g drwxr-xr-x 1 root root 0 Nov 26 19:28 NAS
Now I have a service running that will periodically try to move folders/files from the raspberry pi into the mounted NAS folder but because of the permissions (I think) it can't move it.
How do I change the permissions on /media/NAS (and all subfolders) so that anyone can read from and write to it?
Sorry if this is a dumb question but I've literally been using Linux for a week only.
PS. sudo chmod -R 777 /media/NAS doesn't work...it just has no effect whatsoever...
HELP!
I have a raspberry pi with Raspbian on it. I automount a folder from my NAS on startup (by editing the fstab file) but the problem is the owner is root.
e.g drwxr-xr-x 1 root root 0 Nov 26 19:28 NAS
Now I have a service running that will periodically try to move folders/files from the raspberry pi into the mounted NAS folder but because of the permissions (I think) it can't move it.
How do I change the permissions on /media/NAS (and all subfolders) so that anyone can read from and write to it?
Sorry if this is a dumb question but I've literally been using Linux for a week only.
PS. sudo chmod -R 777 /media/NAS doesn't work...it just has no effect whatsoever...
HELP!