Re: How to mount device as USER on Konsole window

Stephen Liu <[email protected]>
Newsgroups gmane.linux.redhat.release.psyche
Message-ID <[email protected]>
Hi Ron,

Thanks for your advice.

Following new entries made on /etc/fstab
/dev/cdrom        /mnt/cdrom  udf,iso9660 noauto,user,ro 0 0
/dev/cdrom1       /mnt/cdrom1 udf,iso9660 noauto,user,ro 0 0
/dev/fd0          /mnt/floppy   auto    noauto,user 0 0

$ mount /dev/fd0 /mnt/floppy/
mount: only root can do that

$ mount -t udf /dev/cdrom /mnt/cdrom
mount: only root can do that

Still failed.  Their icons on KDE desktop could work

B.Regards
Stephen







On Thu, 2003-08-28 at 03:26, Ronald W. Heiby wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Wednesday, August 27, 2003, 12:00:36 PM, Stephen wrote:
> > /dev/fd0     /mnt/floppy  auto       noauto,owner,kudzu 0 0
> 
> I believe that you want your entry to look something like this:
> 
> /dev/fd0     /mnt/floppy  auto       noauto,user 0 0
> 
> I "mis-spoke" earlier. The ",nosuid,noexec" is assumed when "user" is
> specified.
> 
> > If I replace "satimis" with "user" whether all users can mount those
> > device?
> 
> If you just want satimis to be able to mount the floppy, and no one
> else, then you probably want to use a different mechanism. Maybe you
> want "sudo"?
> 
> > Where shall I add "nosuid" and "noexec"?  What will be their difference
> > in function?
> 
> You don't. Sorry. See above, and the mount(8) man page.
> 
> Ron.
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP Personal Privacy 6.5.8
> Comment: Until recently, the last PGP with full source disclosure.
> 
> iQA/AwUBP00F028pw+2/9pUJEQLK4QCcD4yM0tujAu7EmprcFO9GhuPFNKMAoITs
> 53+DhLvO4oymW51z8j8KxTqR
> =YuAd
> -----END PGP SIGNATURE-----
> 


-- 
Psyche-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/psyche-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.