Hi I'm new on #! and quite new on linux. I've used Mint for about 2 years. Didn't learn to much beacause everything is GUI
so i decided to try #! and i love it. Now to my noob question:
I've mounted my nas with
sudo mount -t cifs -o username=******,password=******* //192.168.1.13/video /home/tommie/Video
It works fine mounting. But I can't wach all my videos and pdf. I've tried: sudo chmod 777 /home/tommie/Video
I need some kind of permission, some files are watchable and some are not.
Can anybody help me?
You might just need to chown/chgrp all files below /home/tommie/Video.
Ok whats the cmd for that?
Is it: sudo chown 777 /home/tommie/Video
sudo chgrp 777 /home/tommie/Video
Thanks for the superfast reply, much appreciated.
I can access the files if i righclick on my Video folder and open as root. So its about the permissions, does the chown cmd iron that out?
Add file_mode and dir_mode to the mount options like so:
Nope, it doesn not work. any other ideas?
I did like this:
sudo mount -t cifs -o username=******,password=*******,file_mode=0664,dir_mode=0775 //192.168.1.13/video /home/tommie/Video
Sorry for not getting back sooner,
chown -R username:group /home/tommie/Video/*
should do it.
( ls -lh will show your username & group.)