Mount Error 13 Permission Denied
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, mount error 13 permission denied centos 7 FreeBSD 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 Error(13) Permission Denied Raspberry Pi
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 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 send error in sesssetup 13 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 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 mou
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Networking Cifs "mount error 13 = Permission denied" CIFS SUCKS mount permission denied nfs User Name Remember Me? Password Linux - Networking This forum is for any
Mount Error(13) Permission Denied Fstab
issue related to networks or networking. Routing, network cards, OSI, etc. Anything is fair game. Notices Welcome to LinuxQuestions.org,
Status Code Returned 0xc000006d Nt_status_logon_failure
a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced http://unix.stackexchange.com/questions/124342/mount-error-13-permission-denied search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process http://www.linuxquestions.org/questions/linux-networking-3/cifs-mount-error-13-%3D-permission-denied-cifs-sucks-463271/ or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Page 1 of 3 1 23 > Search this Thread 07-12-2006, 07:07 AM #1 humbletech99 Member Registered: Jun 2005 Posts: 374 Rep: Cifs "mount error 13 = Permission denied" CIFS SUCKS I am get
denied mounting CIFS General support questions Post Reply http://www.centos.org/forums/viewtopic.php?t=58549 Print view Search Advanced search 6 posts • Page 1 of 1 dadep Posts: 4 Joined: 2008/07/04 09:32:40 mount error(13): Permission denied mounting CIFS Quote Postby dadep » 2016/07/20 13:08:48 Hello,I'm new of this forum and have a problem mounting cifs share (shared permission denied by win2003 server) to my test CentOS 7 box.I have already tried all tips/trick/workaround founded by google but any of these as worked.My fstab line is the following//veeamserver/val /winshare cifs sec=ntlm,user,rw,suid,credentials=/root/secret.txt 0 0credential.txt isusername=MYUSERpassword=MYPASSWDAlso mount.cifs //veeamserver/val /winshare not workssmbclient -L veeamserver and smbclient //veeamserver/val mount error 13 /winshareare workingI'm working as root."mount -a" writes following in /var/log/messagesJul 20 15:29:44 localhost kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILUREJul 20 15:29:44 localhost kernel: CIFS VFS: Send error in SessSetup = -13Jul 20 15:29:44 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -13Does anyone can help me ?thanks in advanceDavide Top dadep Posts: 4 Joined: 2008/07/04 09:32:40 Re: mount error(13): Permission denied mounting CIFS Quote Postby dadep » 2016/07/20 13:51:55 Have found this https://goo.gl/4HBF1R postand using sudo (even though I'm working as root) I'm able to manually mount my CIFS share.sudo mount.cifs //veeamserver/val /winshare -o username=centos,sec=ntlmNow the questionm is how to make fstab working.Tnx. Top poky Posts: 61 Joined: 2013/03/27 12:18:03 Re: mount error(13): Permission denied mounting CIFS Quote Postby poky » 2016/07/20 18:22:19 /etc/fstab://192.168.x.y/val /winshare cifs auto,_netdev,x-systemd.automount,sec=ntlm,user,rw,suid,credentials=/root/secret.txt 0 0credential.txt:username=MYUSER