[sclug] fstab and shfs

Peter Brewer p.w.brewer at reading.ac.uk
Tue Nov 1 12:22:45 UTC 2005


Another problem for the collective SCLUG brain.....

We are trying to set up shfs to access data on our fileserver.  All 
works fine when we try to mount manually using a command like:
   -  shfsmount foouser at barhost:/data /data

but what we really want is to use fstab so it mounts on boot.  We added 
the following line to fstab:
   -   foouser at barhost:/data      /data shfs   defaults     0  0

This works, but it mounts it as root so users can't access it.  
Permissions are as follows:
   -   drwx------    1 root     root   512 Nov  1 12:18 data

Anyone got any bright ideas?

Cheers

Pete


More information about the Sclug mailing list