Mounting SMB shares in /etc/fstab

Thomas J.a.d.E at gmx.net
Wed Nov 19 02:21:32 UTC 2003


> I think there is nothing wrong with your fstab, 


I was lying, could be that you lack the rw option, here is my line:
//marsman/jade          /mnt/marsman            smbfs   
user,rw,iocharset=utf8,uid=500,gid=500,fmask=775,dmask=775,password=thepassword,user=jade 
0 0



So far,
Thomas

>
> maybe you have no write permission on the XP machine with the user bryan.
> Also im not sure if umask=000 is such a good thing.
> Any other comments on that?
>
>>
>> I'm slowly getting there.....many things have been worked through and 
>> solutions found, but I am having some problems still with the 
>> networking. I have created a link to (url) smb://10.0.0.4 which is 
>> the WinXP box and can browse my shares, copy files over, etc.
>>
>> I have created a line in /etc/fstab to automount the share:
>>
>> //10.0.0.4/data_shared  /mnt/data_shared  smbfs 
>> username=bryan,password=jasper,umask=000  0 0
>>
>> (that's all on one line)
>>
>> This gives me a /mnt/data_shared that I can open and copy files from, 
>> but if I try and create a directory on the share, or delete a file,
>> I get an error message saying "access denied"
>>
>> What have I got wrong/missing from my fstab line? Any ideas?
>>
>> Bryan Anderson <fedora at bryananderson.co.uk>
>>
>>
>>
>> -- 
>> fedora-list mailing list
>> fedora-list at redhat.com
>> http://www.redhat.com/mailman/listinfo/fedora-list
>>
>>
>
>
>
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> http://www.redhat.com/mailman/listinfo/fedora-list
>
>






More information about the fedora-list mailing list