Page 1 of 1

Local shares permission denied

Posted: Sat Feb 23, 2013 9:52 pm
by marno11
Hi, has anyone else had a problem where they cannot access their locally mounted shares??

for example:

Code: Select all

marno11@AlphaCentauri:/$ cd /mnt/samba/Books -bash: cd: /mnt/samba/Books: Permission denied
and when I check permissions:

Code: Select all

marno11@AlphaCentauri:~$ sudo ls -la /mnt/samba/ total 8 drwxrwxrw- 12 root root 4096 Feb 24 14:45 . drwxr-xr-x 3 root root 4096 Jan 6 13:46 .. drwxrwx--- 1 marno11 users 0 Jan 6 12:42 Books drwxrwx--- 1 marno11 users 0 Feb 24 11:34 Docs drwxrwx--- 1 marno11 users 0 Jan 30 21:20 Pictures drwxrwx--- 1 marno11 users 0 Feb 3 21:46 UniAndLearning
checking permissions after remounting local shares [service mount_shares_locally restart]

Code: Select all

marno11@AlphaCentauri:/$ ls -la /mnt/samba/ ls: cannot access /mnt/samba/Pictures: Permission denied ls: cannot access /mnt/samba/Docs: Permission denied ls: cannot access /mnt/samba/Books: Permission denied ls: cannot access /mnt/samba/..: Permission denied ls: cannot access /mnt/samba/.: Permission denied ls: cannot access /mnt/samba/UniAndLearning: Permission denied total 0 d????????? ? ? ? ? ? . d????????? ? ? ? ? ? .. d????????? ? ? ? ? ? Books d????????? ? ? ? ? ? Docs d????????? ? ? ? ? ? Pictures d????????? ? ? ? ? ? UniAndLearning
but after rebooting eveything looks normal, but I still cannot "cd" into the locally mounted shares:

Code: Select all

marno11@AlphaCentauri:/$ cd /mnt/samba/Books -bash: cd: /mnt/samba/Books: Permission denied
Everything is fine accessing the shares over the network, there are no problems there. Only problems when trying to manipulate files locally. Which casues issues with things like the deluge deamon, not having permissions to write in those locations.

I'm not too sure where to go from here, so if anyone has some advice, or experienced this problem before, any help would be appriecated

Re: Local shares permission denied

Posted: Sat Feb 23, 2013 10:07 pm
by bigfoot65
Recommend you check the wiki for guidance.

http://wiki.amahi.org/index.php/Mount_Shares_Locally

There is also some troubleshooting info here.

http://wiki.amahi.org/index.php/Greyhol ... leshooting

Also might want to post in the Greyhole topic area as the author monitors that area.

Re: Local shares permission denied

Posted: Sat Feb 23, 2013 10:31 pm
by marno11
Thanks, I have checked out the wiki and I havn't found anything to help with this problem. I have re-done all the steps to set this up, just to be sure, but no luck. There is nothing in the greyhole wiki which I think will help me. But of-course if you think I have missed something let me know!

I haven't had this problem in the past (i.e. last year using fedora) and I havn't noticed this problem up until recently (I did a freash reinstall, this time with ubuntu server at the beginning of the year). When I say I haven't noticed, i mean this problem may have been present the whole time, I just didn't notice until now. I hope that makes sense :?

If you think it will help to post in the Greyhole topic area, I will do that soon.