[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

specifying smb shares for users



  Howdy everyone,

  I have a woody box in which I need to mount samba shares. I have setup
  entries for it, however it seems that only the user of the directory
  used as the mounting point is able to mount the share.

  Relevant lines of my fstab look like: 
//fileserver/downloads  /mounts/downloads          smbfs  noauto,noexec,rw,user   0 0
//fileserver/main_projects      /mounts/projects           smbfs noauto,noexec,rw,user   0 0

  And a listing of /mounts gives:
 $ ls -l
total 2
drwxrwxr-x    2 ghc      disk         1024 Jun 20 09:37 downloads
drwxrwxr-x    2 phil     disk         1024 Jun 20 09:36 projects

  Results of trying to mount the shares: (as user ghc):
$ mount downloads/
Password: 
$ mount projects/
 Password: 
 cannot mount on /mounts/projects: Operation not permitted
 smbmnt failed: 1
$

  So how can I set it up so other ordinary users (who belong to the
  disks group) can mount the shares?

  Cheers
  Geoff



Reply to: