tncbbthositg
asked on
Mount SMB share on startup
Hey folks,
I'm fairly new to linux and I have a problem. I'm running FC2 an two PCs, XP pro on 1, and 2000 on another. I set up an SMB share on Linux1 and I can access it with XP1 and 20001.
On linux2, if I use smb client I have read/write access but if I mount the smb share, I only have read/execute. What's going on?
I would like to mount the smb share on start up with 777 permissions.
Thanks for your help,
TNC
I'm fairly new to linux and I have a problem. I'm running FC2 an two PCs, XP pro on 1, and 2000 on another. I set up an SMB share on Linux1 and I can access it with XP1 and 20001.
On linux2, if I use smb client I have read/write access but if I mount the smb share, I only have read/execute. What's going on?
I would like to mount the smb share on start up with 777 permissions.
Thanks for your help,
TNC
//server/share /mnt/dir smbfs auto,rw,username=user,pass word=xxx 0 0
Open your smb.conf file
under the share folder put this line
force directory mode = 777
Thanks,
Avtar
under the share folder put this line
force directory mode = 777
Thanks,
Avtar
Don't forget to set the username/group and permissions on the directory to which you are mounting the share(s). Setting permissions in the smb.conf file is only half the story.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I had to add dmask and fmask and it's working fine now (except that I cannot delete)
Please PAQ and refund
Thanks,
TNC