Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st August 2006, 07:27 AM
harisund's Avatar
harisund Offline
Registered User
 
Join Date: Mar 2006
Location: Baton Rouge, Louisiana
Age: 26
Posts: 58
CIFS complains of error 20 = not a directory and doesn't use uid of local user

Hello!

I have been wrestling with CIFS for a long time now. What was the motivation to dump smbfs for this silly file system?

First, it appears I can not mount as a different user name compared to the one on the remote Samba server. The folder that is being shared on the remote server is owned by uid=1005, and even though when mounting it on FC5 with uid=500 it doesn't work

Code:
/sbin/mount.cifs //192.168.0.3/misc /home/temp/misc -o user=misc,password=ppp,rw,uid=500,gid=500,noperm
What's the point in uid and gid in the mount.cifs options then?

Now, I have a new problem cropping up. I get
Code:
mount error 20 = not a directory
wherever I want to mount it. What gives? I tried creating the mount point in /mnt, /home .. practically everwhere.

Reply With Quote
  #2  
Old 1st August 2006, 09:48 AM
Spoon! Offline
Registered User
 
Join Date: Aug 2005
Location: Hell
Posts: 758
Quote:
Originally Posted by harisund
Hello!

I have been wrestling with CIFS for a long time now. What was the motivation to dump smbfs for this silly file system?

First, it appears I can not mount as a different user name compared to the one on the remote Samba server. The folder that is being shared on the remote server is owned by uid=1005, and even though when mounting it on FC5 with uid=500 it doesn't work

Code:
/sbin/mount.cifs //192.168.0.3/misc /home/temp/misc -o user=misc,password=ppp,rw,uid=500,gid=500,noperm
What's the point in uid and gid in the mount.cifs options then?
There is only a point when the remote server doesn't support CIFS Unix permissions, or when you disable them using the "noperm" option.

Quote:
Originally Posted by harisund
Now, I have a new problem cropping up. I get
Code:
mount error 20 = not a directory
wherever I want to mount it. What gives? I tried creating the mount point in /mnt, /home .. practically everwhere.

dunno, are you sure that //192.168.0.3/misc is a working share?
Reply With Quote
  #3  
Old 30th October 2006, 08:59 AM
mawimawi Offline
Registered User
 
Join Date: Oct 2006
Posts: 1
Problem occured for me in FC6

I have the same problem since I installed FC6. It worked well for FC5 before, and now I get this same message:

mount error 20 = Not a directory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

And "man 8 cifs" isn't of much help as well. :-(

Maybe somebody can enlighten us?
Reply With Quote
Reply

Tags
cifs, complains, directory, error, local, uid, user

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Files in cifs mounter directory are not visible progressive Servers & Networking 0 26th August 2009 07:04 PM
cifs mount creates a zero size directory progressive Servers & Networking 0 4th August 2009 06:52 PM
cifs: mount error 20 = Not a directory, while it works with smbclient Micimacko Servers & Networking 0 11th November 2007 09:26 AM
CIFS Mount Directory Appears Empty cmus Using Fedora 15 13th November 2006 08:24 PM
Linux squeezed out by Active Directory, cifs demise? tashirosgt Linux Chat 2 5th April 2005 04:43 AM


Current GMT-time: 09:49 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat