Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* user mount with tru64 5.1
@ 2001-09-10 15:52 Kurtl
  2001-09-10 18:34 ` Paul Szabo
  0 siblings, 1 reply; 3+ messages in thread
From: Kurtl @ 2001-09-10 15:52 UTC (permalink / raw)


Hi,
is it by any means possible in true64 that users can mount specific 
filesystems (e.g. cdrom)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: user mount with tru64 5.1
  2001-09-10 15:52 user mount with tru64 5.1 Kurtl
@ 2001-09-10 18:34 ` Paul Szabo
  2001-09-11 14:01   ` Kurtl
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Szabo @ 2001-09-10 18:34 UTC (permalink / raw)
  To: Kurtl

Kurtl wrote:
> is it by any means possible in true64 that users can mount specific
> filesystems (e.g. cdrom)

Yes. Read 'man mount':

  To use the mount and unmount commands, you must be the root user, with the
  following exceptions:

    +  When NFS file systems have been explicitly exported to allow nonroot
       users to mount the file system.  Refer to the -n option of mountd(8)
       for more information.

    +  When a CD-ROM is mounted (by specifying the -t cdfs option) and the
       user owns the mount point.

Thus, any user can do 'mount -t cdfs /dev/disk/cdrom0c mydir' even though
the device has

% ls -l /dev/disk/cdrom0c
brw-------   1 root     system    19, 69 Mar 10  2001 /dev/disk/cdrom0c

permissions. Stupid...

-- 
Paul Szabo - psz@maths.usyd.edu.au  http://www.maths.usyd.edu.au:8000/u/psz/
School of Mathematics and Statistics  University of Sydney   2006  Australia


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: user mount with tru64 5.1
  2001-09-10 18:34 ` Paul Szabo
@ 2001-09-11 14:01   ` Kurtl
  0 siblings, 0 replies; 3+ messages in thread
From: Kurtl @ 2001-09-11 14:01 UTC (permalink / raw)


Paul Szabo wrote:

> Kurtl wrote:
>> is it by any means possible in true64 that users can mount specific
>> filesystems (e.g. cdrom)
> 
> Yes. Read 'man mount':
> 
>   To use the mount and unmount commands, you must be the root user, with
>   the following exceptions:
> 
>     +  When NFS file systems have been explicitly exported to allow
>     nonroot
>        users to mount the file system.  Refer to the -n option of
>        mountd(8) for more information.
> 
>     +  When a CD-ROM is mounted (by specifying the -t cdfs option) and the
>        user owns the mount point.
> 
> Thus, any user can do 'mount -t cdfs /dev/disk/cdrom0c mydir' even though
> the device has
> 
> % ls -l /dev/disk/cdrom0c
> brw-------   1 root     system    19, 69 Mar 10  2001 /dev/disk/cdrom0c
> 
> permissions. Stupid...
> 


thanx!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-09-11 14:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-10 15:52 user mount with tru64 5.1 Kurtl
2001-09-10 18:34 ` Paul Szabo
2001-09-11 14:01   ` Kurtl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox