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 Dave,

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

$ mount /mnt/cdrom
$ umount /mnt/cdrom
$ mount /mnt/floppy
$ umount /mnt/floppy
all work without problem.  What is the trick behind?

Why  "mount -t udf /mnt/cdrom"  can't work.  All files in the CD are of
udf format.  They were created with DirectCD.

B.Regards
Stephen


On Thu, 2003-08-28 at 13:27, dave c wrote:
> Did you try:
> 
> mount /mnt/floppy
> mount /mnt/cdrom 
> 
> 
> from the commandline as a normal user??
> 
> unmounting...
> umount /mnt/floppy
> umount /mnt/cdrom
> 
> 
>  --- On Wed 08/27, Stephen Liu < [email protected] > wrote:
> From: Stephen Liu [mailto: [email protected]]
> To: [email protected]
> Date: 28 Aug 2003 11:11:57 +0800
> Subject: Re: How to mount device as USER on Konsole window
> 
> Hi Ron,<br><br>Thanks for your advice.<br><br>Following new entries made on /etc/fstab<br>/dev/cdrom        /mnt/cdrom  udf,iso9660 noauto,user,ro 0 0<br>/dev/cdrom1       /mnt/cdrom1 udf,iso9660 noauto,user,ro 0 0<br>/dev/fd0          /mnt/floppy   auto    noauto,user 0 0<br><br>$ mount /dev/fd0 /mnt/floppy/<br>mount: only root can do that<br><br>$ mount -t udf /dev/cdrom /mnt/cdrom<br>mount: only root can do that<br><br>Still failed.  Their icons on KDE desktop could work<br><br>B.Regards<br>Stephen<br><br><br><br><br><br><br><br>On Thu, 2003-08-28 at 03:26, Ronald W. Heiby wrote:<br>> -----BEGIN PGP SIGNED MESSAGE-----<br>> Hash: SHA1<br>> <br>> Wednesday, August 27, 2003, 12:00:36 PM, Stephen wrote:<br>> > /dev/fd0     /mnt/floppy  auto       noauto,owner,kudzu 0 0<br>> <br>> I believe that you want your entry to look something like this:<br>> <br>> /dev/fd0     /mnt/floppy  auto       noauto,user 0 0<br>> <br>> I "mis-spoke" earlier. The ",nosuid,noexec" is assumed wh!
 
en!
>  "user" is<br>> specified.<br>> <br>> > If I replace "satimis" with "user" whether all users can mount those<br>> > device?<br>> <br>> If you just want satimis to be able to mount the floppy, and no one<br>> else, then you probably want to use a different mechanism. Maybe you<br>> want "sudo"?<br>> <br>> > Where shall I add "nosuid" and "noexec"?  What will be their difference<br>> > in function?<br>> <br>> You don't. Sorry. See above, and the mount(8) man page.<br>> <br>> Ron.<br>> <br>> -----BEGIN PGP SIGNATURE-----<br>> Version: PGP Personal Privacy 6.5.8<br>> Comment: Until recently, the last PGP with full source disclosure.<br>> <br>> iQA/AwUBP00F028pw+2/9pUJEQLK4QCcD4yM0tujAu7EmprcFO9GhuPFNKMAoITs<br>> 53+DhLvO4oymW51z8j8KxTqR<br>> =YuAd<br>> -----END PGP SIGNATURE-----<br>> <br><br><br>-- <br>Psyche-list mailing list<br>[email protected]<br>https://www.redhat.com/mailman/listinfo/psyche-list<br>
> 
> _______________________________________________
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web!
> 


To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.


-- 
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.