Mount Smbfs Permission Denied 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 this site About Us Learn more about Stack Overflow the company mount error(13) permission denied centos Business Learn more about hiring developers or posting ads with us Unix & Linux Questions
Mount Error 13 Permission Denied Redhat
Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD
Mount Error 13 Permission Denied Centos 7
and other Un*x-like operating systems. 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 rise to the top mount
Nt_status_logon_failure Cifs
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 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 mount error(13) permission denied raspberry pi 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 permissioned right. $ sudo ls -l /etc/smb_credentials.txt -rw-------. 1 root root 54 Mar 24 13:19 /etc/smb_credentials.txt Verbose mount You can coax more info out of mount using the -v switch which will often times show you where things are getting tripped up. $ sudo mount -v -t cifs //server/share /mnt \ -o credentials=/etc/smb_credentials.txt Resulting in this output if it works: mount.cifs kernel mount options: ip=192.16
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 send error in sesssetup 13 this site About Us Learn more about Stack Overflow the company Business mount permission denied nfs Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question mount error(13) permission denied fstab _ 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 can ask a question http://unix.stackexchange.com/questions/124342/mount-error-13-permission-denied 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 but with mount it does not. http://serverfault.com/questions/508573/mount-error13-permission-denied-with-windows-share 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 whitespace in your password is there ? –Hangin on in quiet desperation
= Permission denied driving me insane General support questions including new installations Post Reply Print view Search Advanced search 4 http://www.centos.org/forums/viewtopic.php?t=48433 posts • Page 1 of 1 neuronetv Posts: 53 Joined: 2012/01/08 https://bbs.archlinux.org/viewtopic.php?id=160047 21:53:07 mount error 13 = Permission denied driving me insane Quote Postby neuronetv » 2014/09/13 18:11:33 I have a samba share set ip on a centos 5 machine, 32bit, it works fine and has been working fine for two years. My other machines (centos 6/MS permission denied Windows) have no problem connecting to it and accessing it.All my linux machines can connect to this share using this command:mount -t cifs -o username=
17:56:14 willroberts Member Registered: 2013-03-16 Posts: 11 [SOLVED] mount.cifs failing to mount after update to 3.8.x When trying to mount a CIFS share in Arch with kernel 3.8.3-2-ARCH, I get this:mount error(22): Invalid argumentdmesg shows this:FS-Cache: Loaded FS-Cache: Netfs 'cifs' registered for caching Key type cifs.spnego registered Key type cifs.idmap registeredFor clarity, I'm running this command (and have tried many others):sudo mount.cifs //desktop/mydata /mnt/mydata -o user=meAlso, I am able to browse this share properly with smbclient, and I'm also able to mount it in distributions using older kernels.I tested this on Ubuntu 13.04 as well, and the same problem happens there (also has kernel 3.8.x, so it seems likely that this is a kernel issue). From what I understand, portions of the mount.cifs client code were moved into the kernel recently, and the argument parser was overhauled at the same time (I found similar bug reports for Fedora, Gentoo, etc). Any ideas?SOLVED:The fix is to add "sec=ntlm" to the -o flag:sudo mount.cifs //desktop/mydata /mnt/mydata -o user=me,sec=ntlm Last edited by willroberts (2013-03-22 03:32:46) Offline #2 2013-03-21 18:09:33 jc61990 Member From: New York Registered: 2012-07-14 Posts: 29 Website Re: [SOLVED] mount.cifs failing to mount after update to 3.8.x i too am having this issue on both my arch machines. I can still mount my samba shares from windows tho.i am getting this errormount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) i put arch on everything.Devices on arch: Desktop (self built), Dell XT Laptop, RaspberryPi, HTPC, PogoPlug, and my Web Server Offline #3 2013-03-21 18:34:34 dennis123123 Member Registered: 2009-07-02 Posts: 72 Re: [SOLVED] mount.cifs failing to mount after update to 3.8.x Exactly the same issue here, Debian samba server. Shares work fine on every other machine, Windows, iPad, Linux. My Arch laptop that I just updated to 3.8.3-2 now just says:mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) Last edited by dennis123123 (2013-03-21 18:34:54) Offline #4 2013-03-21 18:48:55 alphaniner Member From: Ancapistan Registered: 2010-07-12 Posts: 2,756 Re: [SOLVED] mount.cifs failing to mount after update to 3.8.x Next time, try a search first: linky Last edited by alphaniner (2013-03-21 18:50:06) But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to ex