Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

Mounted NAS will not let users write to it

$
0
0

I just setup ubuntu on my raspberry pi 4. I mounted my NAS, which works as it should, however, when I use my newly created user, I can't write on the NAS. I have not read and tried things for hours but I just can't seem to get it to work.

my fstab(ip and user/password has been changed to protect the innocent):

//192.168.1.x/Media /mnt/MEDIA_NAS cifs username=xxx,password=xxx,rw,uid=1000,gid=500,noperm

So I created a new gid group called nas_group with gid=600 and added users to that, changed that in the fstab, but it didn't work, when I used this I could not even see anything in the mounted folder.

I tried this:

//192.168.1.x/Media /mnt/MEDIA_NAS cifs username=xxx,password=xxx,iocharset=utf8,file_mode=0777,dir_mode=0777

This didn't help either, I am not allowed to create any file on the NAS with the my user. I know I fixed this once on another ubuntu machine, and I think I fixed this via the groups, but I dont remember. That machine crashed, so that is why I am doing this again.

Please help me with a straight answer.

Thanks!!


Viewing all articles
Browse latest Browse all 699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>