[ale] simple question

Jim Patterson unixdude at gmail.com
Wed Feb 2 17:43:59 EST 2005


Sean,

To enable generic users to mount the filesystem, change the "owner"
flag to the "user" or "users" flag.  The difference being with "user" only
the person who mounted it and unmount it, but with "users", anyone can
unmount it.

To mount it without knowing the device id, just mount using the mount point
like:

# mount /mnt/backup

Then mount will do it thing with your users needing to care.

Now from there you can setup the normal filesystem permissions
within the mounted drive to allow/restrict the users access to the
files.

Jim P.


On Wed, 2 Feb 2005 16:30:13 -0500, Sean Kilpatrick
<drifter at oppositelock.org> wrote:
> On Wednesday 02 February 2005 03:37 pm, Jim Patterson wrote:
> | Since that is an ext3 (ext2 or xfs will also work), you should be able to
> | just use the UUID or LABEL based mounting to work around the changing
> | device id.
> |
> | Try something like this in your fstab:
> |
> | LABEL=backups    /mnt/backup     ext3   noauto,owner,ro   0 0
> |
> | Jim P.
> 
> Jim,
> I can certainly edit the fstab file. That's easy.
> But if I make the change, then what . . . ?
> Do I issue the command <mount backups>? and how do I avoid more
> permission hell?  That is, what devices/links need to have their
> permissions set to that <user> can mount the drive?
> 
> Sean
> 
> 
>



More information about the Ale mailing list