Error 13 Permission Denied Mount.cifs
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] mount -t cifs results gives mount error(13): Permission denied Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Page 1 of 2 12 Last Jump to page: Results 1 to 10 of 17 Thread: mount -t cifs results gives mount error(13): Permission denied Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode October 28th, 2011 #1 roliver3 View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Oct 2011 Beans 5 mount -t cifs results gives mount error(13): Permission denied I'm trying to mount a rw personal share that is a subdirectory of a ro share windows share on ubuntu 11.10 using the following command: sudo mount -t cifs //[netbiosname]/users/[usershare] /mnt/[local mount point] --verbose -o username=[username],password=[mypassword],iocharset=utf8,file_mode=0777,dir_mode=0777 The directory structure on the windows share is domain/users/[personal_directory] The "users" directory is read-only while the [personal_directory] is read-write to a specific user. Below is the error that is displayed in the terminal mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) in my syslog I see this: kernel: [13515.946543] CIFS VFS: cifs_read_super: get root inode failed I have spent days reading forums and bug reports trying to figure out what this might be with no luck. Here is what is baffling me. I can mount my user share using the exact mount command above in ubuntu 11.04, and 10.10 (these are the versions I've tried so far) It also works in CentOS 6. I can also mount other shares that are read-writable by everyone with the above mount. example: sudo mount -t cifs //[netbiosname]/techsupport /mnt/techupport -o username=[username],password=[mypassword],iocharset=utf8,file_mode=0777,dir_mode=0777 works perfectly. I've tried using smbfs instead of cifs each time I get the pe
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 Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu https://ubuntuforums.org/showthread.php?t=1871142 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 rise to the top mount error(13): Permission denied up vote 5 down vote favorite 3 I know this question has been asked http://askubuntu.com/questions/337128/mount-error13-permission-denied 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 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='
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 https://bbs.archlinux.org/viewtopic.php?id=160047 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 error 13 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 error 13 permission 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): Permiss