Results 1 to 5 of 5
Hiya all,
I have a Server and a desktop both running FC5.
The Server is running SAMBA (My windows notebook comes home and needs to play nicely sometimes ) and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-16-2006 #1Just Joined!
- Join Date
- Jun 2006
- Posts
- 6
Mounting CIFS Share as RW
Hiya all,
I have a Server and a desktop both running FC5.
The Server is running SAMBA (My windows notebook comes home and needs to play nicely sometimes
) and has a couple of shares set on it.
I have the following line in /etc/fstab on the FC5 Desktop
which works just fine, but loads the share as read only.Code://192.168.1.3/data /network/data cifs credentials=/jocred 0 0
if I make it look like this
I get the following error when I do a mount -aCode://192.168.1.3/data /network/data cifs rw, credentials=/jocred 0 0
I don't know quite where to go from here so any help will be appreciated.Code:[mntent]: line 8 in /etc/fstab is bad
Cheers
Jo
- 06-18-2006 #2Just Joined!
- Join Date
- Nov 2004
- Location
- Iowa
- Posts
- 43
I had to end up using uid=xxx like this
This works for me across several linux versions.Code://192.168.0.15/music /music cifs credentials=/root/samba/credentials,uid=501,gid=501 0 0
- 06-18-2006 #3Just Joined!
- Join Date
- Jun 2006
- Posts
- 6
King Edgar,
thanks for the idea.
I changed the line in my /etc/fstab to look like this
and got exactly the same error message as before. The username and password specified in the credentials file is all a-okCode://192.168.1.3/data /network/data cifs credentials=/jocred, uid=501, gid=501 0 0
Next thoughts?
Cheers
Jo
- 06-18-2006 #4Just Joined!
- Join Date
- Jun 2006
- Posts
- 6
OK, So I just learned something REALLYimportant!! No spaces in the comma delimited list of parameters in /etc/fstab.... (I'm sure it says it somewhere, but I'm blowed if I can see it)
So, my error has gone away, but I am still in readonly land on my CIFS share.
Next thoughts people?
Much respect
Jo
- 06-18-2006 #5Linux Newbie
- Join Date
- Nov 2003
- Location
- Maryland
- Posts
- 105
Kind of simple, but on the Windows box, have you selected "Allow users to edit files?" This laptop is the acting server, no?


Reply With Quote
