LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 12-30-2003, 08:54 AM   #1
sfagundes
LQ Newbie
 
Registered: Dec 2003
Location: Milwaukee, WI
Distribution: Ubuntu Breezy v5.10 x86
Posts: 11

Rep: Reputation: 0
SMB shares and fstab


I am mounting smb shares from a Win2k3 server for our linux users. I want it to be automatic so I am trying to use fstab. here is the entry I currently have:

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
//homer/Files /mnt/ram/homer smbfs username=user,password=pass,gid=500,mode=666 0 0

The share is mounting, however I need the users to have read and write acces on this volume. I also tried mode=777 which did not work....

thanks in advance.............
 
Old 12-30-2003, 11:47 AM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
You will need to use the umask option.
The umask value is an octal number (i.e. 4 digits) that represent the bitmask of the permissions that are not present.
If you want to set the permissions to read and write, the umask will be 0111.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting smb shares john8675309 Linux - Software 3 09-25-2005 09:54 PM
SMB shares to OS X MadTurki Linux - Networking 6 12-02-2003 06:59 PM
making smb shares viewable from smb client via web browser scottpioso General 3 11-10-2003 04:25 PM
SMB shares in fstab gargamel237 Red Hat 3 08-30-2003 08:46 AM
RH9 and smb shares Thaidog Linux - Newbie 1 05-07-2003 11:17 AM


All times are GMT -5. The time now is 01:28 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration