----- Original Message -----
From: Vamsidhar Mullangi <[EMAIL PROTECTED]>
Date: Fri, 10 Jan 2003 12:25:18 -0800 (PST)
To: [EMAIL PROTECTED]
Subject: Cdrom as Localapp??

> Hi Paul,
>   Actually iam trying to mount CDROM locally as user,
> as root I can mount it locally but as user I can't.
> it is telling "you must be superuser" even I changed
> /opt/ltsp/i386/etc/fstab file.
> 
> I appended these lines
> 
>         RAMDISK_SIZE       = 2048
>         RCFILE_01          = "rmedia"
>         RMEDAI_DEV01_NAME  = "floppy"
>         RMEDIA_DEV01_NAME  = "/dev/fd0"
>         RMEDIA_DEV02_NAME  = "cdrom"
>         RMEDIA_DEV02_NAME  = /dev/cdrom
>  in my lts.conf file. 
>   Is it possible to mount CDROM as user?

The whole idea behind the ltsp_rmedia package is that you don't have to manually mount 
anything.  The package does provide you with components that would allow manual 
mounting by an unprivileged user, but I have deliberately removed the setuid bit on 
/opt/ltsp/i386/bin/mount to prevent this.  Also, in.ftpd gets very upset if 
/opt/ltsp/i386/etc/fstab exists and does not contain certain entries, which is why the 
package install script renames the default zero-length fstab file, so editing it is 
not a good idea.

Your lts.conf entries above look OK (apart from the misspelling of RMEDIA_DEV01_NAME). 
 Using these, you should be able to automagically access your floppy drive in 
/var/ftp/rmedia/floppy/ and your CDROM in /var/ftp/rmedia/cdrom/.  The only catch is 
that these directories won't exist until you try to access them, so if you do an "ls 
/var/ftp/rmedia" you will just get an empty listing.  However, if you do an "ls 
/var/ftp/rmedia/cdrom" or "cd /var/ftp/rmedia/cdrom; ls" it ought to work fine, and 
the directory will then remain mounted for the next five minutes even if you don't use 
it.



-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Meet Singles
http://corp.mail.com/lavalife



-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.openprojects.net

Reply via email to