Re: cifs mount options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alan M. Evans wrote:
> Just installed FC6 on my new workstation. Previous machine ran RH9. What
> a difference!
> 
> One thing that's going to drive me nuts if I can't fix it: I'm trying to
> add a couple of company network drives to my fstab, and I can't get it
> right. So far I can create files on these volumes, but I can't edit the
> files I just made. I also can't write to any previously existing files.
> 
> I have no trouble accessing and updating files from adjacent Windows
> machines, and no trouble if I browse to the network drive with Nautilus.
> I just can't make a good permanent mount out of it, which is really
> inconvenient.
> 
> My current (non-working) fstab entry appears thus:
> 
>   //merope/jdrive /mnt/jdrive cifs user=xxx,password=xxx,uid=112,gid=101,file_mode=0666,dir_mode=0777 0 0
> 
> The uid and gid are the technical owner of the files on the (CentOS)
> server. (I presume that's what those options are for.) I've tried many
> combinations of other options with no success. Does anyone understand
> this stuff well enough to explain it to a simpleton such as myself?
> 
You may want to change the uid and gid to the user you want to be
able to write to the drive. Because the Windows shares do not
support UID and GID, the ones given in the ftab entry are the ones
assigned to the files on the mounted file system. But with a file
mode of 666, everyone should be able to write to the files. Are you
sure the user and password are correct? If not, you may be getting a
guest connection to the shares, and not having write access.
Remember, the user and password are the ones needed on the remote
machine to connect to the share. (In other words, the Windows user
name and password, not your local Linux ones.)

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux