SMB and Fstab help


Recommended Posts

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

//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

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.