Solved

Mount SMB share on startup

Posted on 2004-10-09
7
1,516 Views
Last Modified: 2008-02-07
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
0
Comment
Question by:tncbbthositg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 8

Author Comment

by:tncbbthositg
ID: 12268346
Nevermind

I had to add dmask and fmask and it's working fine now (except that I cannot delete)

Please PAQ and refund

Thanks,
TNC
0
 
LVL 3

Expert Comment

by:TRobertson
ID: 12273328
//server/share    /mnt/dir   smbfs   auto,rw,username=user,password=xxx  0 0
0
 

Expert Comment

by:avtarsingh
ID: 12325969
Open your smb.conf file

under the share folder put this line

force directory mode = 777

Thanks,

Avtar
0
 
LVL 2

Expert Comment

by:garak1357
ID: 12374807
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.
0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 16287471
PAQed with points refunded (125)

CetusMOD
Community Support Moderator
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question