Permission denied Error in UI but mount.cifs Command works

Raspberry Pi related support

Permission denied Error in UI but mount.cifs Command works

Postby exxonic » 14 Apr 2017, 18:22

i am trying to mount some shares the samba server on openelec provides. using the "Add new network mount" dialog i get the Permission denied error, no matter what i try. windows, android, volumio and moode can access these shares with no problem. i can even ssh into runeaudio and mount the share with a command
Code: Select all
mount.cifs -o user=pi,password=raspberry,domain=raspi3,rw //192.168.0.4/medien/Musik /mnt
and it works.

i entered the following into the dialog:
source name: musik_peter
fileshare protocol: smb/cifs
ip: 192.168.0.4
remote directory: medien/Musik
guest access: off
username: pi
password: raspberry
advanced options: on
mount flags: domain=raspi3,rw


results in mount error(13): Permission denied.

what am i missing?
exxonic
 
Posts: 2
Joined: 14 Apr 2017, 13:24

Re: Permission denied Error in UI but mount.cifs Command wor

Postby hondagx35 » 14 Apr 2017, 21:38

Hi,

please try:
mount flags: domain=raspi3,rw,vers=2.0

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Permission denied Error in UI but mount.cifs Command wor

Postby exxonic » 14 Apr 2017, 21:45

that worked. thank you!
exxonic
 
Posts: 2
Joined: 14 Apr 2017, 13:24

Re: Permission denied Error in UI but mount.cifs Command wor

Postby restinpieces » 03 May 2017, 22:52

I have the same problem.
I use the image 0.4 provided here:
runeaudio-0-4-beta-for-raspberry-pi2-3-t4434.html

When i run the command from the gui it says: "mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) "
When i run the command as root it works
When i run the command as anyone else then root it says: "mount: only root can use "--types" option"


Edit: The root command worled because I forgot "sec=ntlm". I changed the code and now I can mount from the gui without a problem.
restinpieces
 
Posts: 19
Joined: 28 Feb 2016, 22:26

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 11 guests