Linux Mount Error 13
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of mount error(13) permission denied centos this site About Us Learn more about Stack Overflow the company Business Learn mount error 13 permission denied redhat more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ mount.cifs nt_status_logon_failure Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how mount error(13) permission denied centos 7 it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top mount error 13 = Permission denied up vote 12 down vote favorite 6 One of my servers is set up to automatically mount a Windows directory using fstab. However, after my last reboot it stopped working. The line in fstab is: //myserver/myfolder /mnt/backup cifs credentials=home/myfolder/.Smbcredentials
Mount Error(13) Permission Denied Raspberry Pi
The .Smbcredentials file is: username=myaccount password=mypassword domain=mydomain I do a mount -a and I receive mount error 13 = Permission denied. If I do this enough it will lock out my Windows account, so I know it's trying. I've checked that my password is correct. What am i doing wrong? linux samba fstab share|improve this question edited Apr 11 '14 at 21:05 Patrick 34.5k680129 asked Apr 11 '14 at 20:27 Pickle 211126 1 Could you try mount from the command line with mount -t cifs //myserver/myfolder /mnt/backup --verbose -o credentials=home/myfolder/.Smbcredentials and add the debugging info (sanitized) to your question? –bsd Apr 11 '14 at 20:44 What's the distro and version of cifs-utils do you have installed? I've had this problem before and I believe it was due to an update. –slm♦ Apr 11 '14 at 22:37 add a comment| 3 Answers 3 active oldest votes up vote 12 down vote A couple of things to check out. I do something similar and you can test mount it directly using the mount command to make sure you have things setup right. Permissions on credentials file Make sure that this file is per
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us
Mount Cifs(8) Permission Denied
Learn more about Stack Overflow the company Business Learn more about hiring developers or send error in sesssetup 13 posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer mount permission denied nfs site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and http://unix.stackexchange.com/questions/124342/mount-error-13-permission-denied rise to the top mount error(13): Permission denied up vote 5 down vote favorite 3 I know this question has been asked before, but I've been looking for a solution for a couple of hours now and nothing seems to be working. The frustrating thing is that it used to work on my previous install, so I know the commands I try should work. I'm running a vanilla install of http://askubuntu.com/questions/337128/mount-error13-permission-denied Ubuntu 13.04 server. I have a server running at 192.168.1.130 and two shares: LaCie and Seagate 2TB. I used to have these lines in my fstab file: //192.168.1.130/Seagate\0402TB /home/Windows cifs user=admin,password=password,uid=1000 0 0 Now that I re-installed my server, but don't need it permanently I tried the following: sudo mount.cifs //192.168.1.130/LaCie ~/lacie -o user=admin or sudo mount -t cifs -o username='admin',password='
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and http://serverfault.com/questions/508573/mount-error13-permission-denied-with-windows-share policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered https://bugs.launchpad.net/bugs/1113395 Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody permission denied can ask a question Anybody can answer The best answers are voted up and rise to the top mount error(13): Permission denied with windows share up vote 4 down vote favorite 1 I am struggling to mount a windows 2008 share on a CentOS 6.4 (64 bits) server when I use smbclient it works: smbclient //esb.local/dfs -U ESBSertal -W ESB -P MyPassword mount error(13) permission but with mount it does not. I tried on the command line: mount.cifs //esb.local/dfs -o username=ESBSertal,password=MyPassword,domain=ESB /mnt/win and adding a line to /etc/fstab //esb.local/dfs /mnt/win cifs username=ESBSertal,password=MyPassword,domain=ESB 0 0 in both cases I get the same error: mount.cifs //esb.local/dfs -o username=ESBSertal,password=MyPassword,domain=ESB /mnt/win mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and for fstab mount -a mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) I am grateful for your support. just an update: this is executed as root. neither as root nor sudo work Micha linux centos samba cifs share|improve this question edited Oct 7 '14 at 16:19 Daniel Dinnyes 1135 asked May 17 '13 at 10:44 Dr Gorb 169117 What kernel version you are using on CentOS ? –Abhishek Anand Amralkar May 17 '13 at 10:47 here ist the full output from cat /etc/*release* CentOS release 6.4 (Final) LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch cat: /etc/lsb-release.d: Is a directory CentOS release 6.4 (Final) CentOS release 6.4 (Final) cpe:/o:centos:linux:6:GA –Dr Gorb May 17 '13 at 10:49 There isn't a , or some other white
affects 34 people Affects Status Importance Assigned to Milestone cifs-utils (Ubuntu) Edit Confirmed Medium Jelmer Vernooij Edit You need to log in to change this bug's status. Affecting: cifs-utils (Ubuntu) Filed here by: Martin Vysny When: 2013-02-02 Confirmed: 2013-03-10 Assigned: 2014-07-17 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Confirmed Medium Assigned to Me Jelmer Vernooij (jelmer) Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description I mount my samba shares with the following command: sudo mount -t cifs -o user=admin,password=very.long.password.with.dot //server/sharename /pub/disk On 12.10, the command works flawlessly and correctly mounts the share. After I upgraded to 13.04, the command no longer worked and always produced the following output: mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) Note that accessing the samba mount with krusader works correctly (I have to input the username/password of course). I am no longer on Ubuntu 13.04 so I cannot provide exact versions of packages. But the error is reproducible on a fully updated Ubuntu 13.04 x86-32. My guess is that the error occurs because the password contains a dot character and the -o parameter gets parsed incorrectly. Or perhaps the password is too long (27 characters). Thank you Tags: trusty Edit Tag help Martin Vysny (vyzivus) wrote on 2013-03-02: #1 dmesg: [ 1981.928924] FS-Cache: Loaded [ 1981.986392] FS-Cache: Netfs 'cifs' registered for caching [ 1981.986826] Key type cifs.spnego registered [ 1981.986868] Key type cifs.idmap registered [ 1991.507966] CIFS VFS: Send error in SessSetup = -13 [ 1991.508425] CIFS VFS: cifs_mount failed w/return code = -13 mount.cifs: mount.cifs kernel mount options: ip=192.168.1.104,unc=\\192.168.1.104\stuff,forceuid,uid=1000,gid=1000,user=admin,pass=******** mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) The same mount.cifs works on Ubuntu 12.10 and lower. Martin Vysny (vyzivus) wrote on 2013-03-02: #2 Okay, no matter wh