Actually funny thing.
I decided a few months back to just leave it as root. Then a few days ago, I had a bit of trouble with transmission, and switched over to deluge. After fiddling for 2 days, I finally was able to learn to download and compile deluge, and libtorrent - and so I decided to do a fresh install of raspbian, and re-compile everything cleanly from what I had learned. It went flawlessly.
And then I ran into the same issue I did with transmission that I started this thread about.
So I tried a few things that I had learned over the past few months, like using the 'stat' command on the directory I had the share mounted. I learned that it was owned by root, and only had 0755 permissions. So I tried running
(/home/NAS) being the mounted folder for the network drive, and to my suprise, when I ran
the owner was still root.
So I tried logging in as root, and doing the same thing - but it didn't work. So then I began to think, maybe samba has something to do with the folder permissions. So I did a bit of research, and decided to take a look at my /etc/fstab file.
Originally, my samba mount line was
Code: Select all
//192.168.1.125/admin /home/NAS/ cifs username=admin,password=qwerty12,workgroup=WORKGROUP,users,auto,user_xattr 0 0
and after a bit of research, I changed it to
Code: Select all
//192.168.1.125/admin /home/NAS cifs username=admin,password=qwerty12,workgroup=WORKGROUP,file_mode=0777dir_mode=0777,uid=pi,gid=pi,forceuid,forcegid 0 0
So I removed the variables that I couldn't find any information for on the samba page (http://www.samba.org/samba/docs/man/man ... ifs.8.html
), and added the variables you see above.
With this line in my /etc/fstab file, I rebooted my pi, and it worked. Hope this ends up helping someone else who stumbles across this.