[sclug] fstab and shfs

Alex Butcher lug at assursys.co.uk
Tue Nov 1 12:58:59 UTC 2005


On Tue, 1 Nov 2005, Damion Yates wrote:

> On Tue, 1 Nov 2005, Peter Brewer wrote:
>
>> 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
>
> Where you have "default" you can use a whole set of "," separated
> options such as uid=XXX and umask=XXX so that the mount permits users
> to read/write.  But of course you'll be limited to whatever
> foouser at barhost:/data has permission to do.

Use a "User Private Group"
<http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/ref-guide/s1-users-groups-private-groups.html>
scheme for directories underneath the mountpoint.

> Thanks,
> Damion

Best Regards,
Alex.
-- 
Alex Butcher      Brainbench MVP for Internet Security: www.brainbench.com
Bristol, UK                      Need reliable and secure network systems?
PGP/GnuPG ID:0x271fd950                         <http://www.assursys.com/>


More information about the Sclug mailing list