suntzu Posted December 30, 2003 Share Posted December 30, 2003 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............. Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted December 30, 2003 Veteran Share Posted December 30, 2003 //homer/Files /mnt/ram/homer smbfs username=user,password=pass,gid=500,mode=666 0 0 I think you need to add "user" to that fstab entry, but I have never done it in fstab. Did you try man fstab and see what it said about it? Link to comment Share on other sites More sharing options...
suntzu Posted December 30, 2003 Author Share Posted December 30, 2003 actually i got it to work using: //homer/Files /mnt/ram/homer smbfs username=user,password=pass,uid=500,gid=500 0 0 Link to comment Share on other sites More sharing options...
Recommended Posts