LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-17-2010, 06:25 PM   #1
nick[GEGN]
LQ Newbie
 
Registered: Aug 2010
Location: Columbus, Ohio
Posts: 4

Rep: Reputation: 0
Unable to mount Windows share using cifs to my virtual instance of SUSE


I'm pretty new to using Linux and I installed SUSE 11.3 on Sun Virtual Box to play around with it. I am trying to mount one of my Windows shares to my SUSE system and I'm getting an error "Mount error(13): Permission denied". I have made sure my Windows permissions are open, in fact I used a test share and added everyone and gave full control. Below is the command I tried to use to mount it.

mount -t cifs -o username=Nick //computername/share /mnt/temp

I pre-created the temp folder under mnt and I tried both my PC name and my ip address in the above command with the same error each time. I also tried using my pc name in my username string as well "username=pcname/Nick" and that did not work either. Can someone advise me why this error is occuring?

Kernel version: 2.6.34-12

Thanks,

Nick
 
Old 08-19-2010, 06:36 AM   #2
Tuptut
LQ Newbie
 
Registered: Dec 2009
Location: NY
Distribution: Gentoo
Posts: 7

Rep: Reputation: 0
Lightbulb Unable to mount Windows share using cifs to my virtual instance of SUSE

Nick,

Couple of things, first try checking the permission on windows, double check them and set to full permission (at least for now to test); make sure that in "sharing" tab you have added "Everyone" and "Full Control" as well as in "security" tab you have "Everyone" and "Full Control". If these are set, make sure you have sufficient permission to /mnt/temp directory. It's always one of these two! As a side note, if your windows machine is in the domain, you will need to provide one more option domain=%domainname% so your option string looks like:
-o user=Nick,domain=YourDomainName
 
Old 08-24-2010, 04:36 PM   #3
nick[GEGN]
LQ Newbie
 
Registered: Aug 2010
Location: Columbus, Ohio
Posts: 4

Original Poster
Rep: Reputation: 0
Permissions

I have tried that with no luck. I already had my Windows share shared out to everyone and given full control (both under permission and security) and provided full control to the /mnt folder I'm mounting to. The strange thing is that this works periodically. I have had it work once or twice on folders I was testing and when I did a umount I was then unable to remount them. There seems to be no good reason for this as far as I can tell. Also, I am not in a domain and my PC name is UncleRico. My exact command I'm using to mount is listed below:

mount -t cifs //UncleRico/share /mnt/nick -o username=UncleRico/mywindowsusername

Then it prompts me for a password and I enter the root password at this point.
 
Old 08-26-2010, 10:29 AM   #4
Tuptut
LQ Newbie
 
Registered: Dec 2009
Location: NY
Distribution: Gentoo
Posts: 7

Rep: Reputation: 0
cifs mount

Ok, i just verified on my system (on win domain) that if you set all permisions to everyone allow , then you can mount the share from linux box by running :
mount -t cifs -o guest //windowsbox/share /locallinuxdir

and it works fine; guest option supresses the password prompt.
Give it a try and see if you can mount this way.
Next step would be to setup more detail logging for cifs & smb to see what logs you getting on the box while trying to mount!

_A_
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to mount Windows share to SUSE 11.3 nick[GEGN] Linux - Newbie 1 08-13-2010 05:39 PM
unable to mount cifs (windows) partition through fstab pratikp Linux - Newbie 5 05-03-2010 06:47 AM
unable to auto mount 'shared folder' iin Suse 11.2 virtual machine using Virtual Box marvinudy Linux - Virtualization and Cloud 1 02-03-2010 02:29 PM
unable to mount windows share when i try to access files vinaytp Linux - Newbie 5 04-27-2009 11:35 PM
Mount.cifs Mounting a subdirectory of a windows share MonctonJohn Linux - Networking 4 09-28-2007 05:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration