OK, installed linux, now need to sort out a few things..

CCrunnernb

Golden Member
Sep 14, 2000
1,002
0
76
Installed RH9.. also installed apt-get for it.. so i can play movies now.. and rip :)

Now, i want to put a shortcut to mount and unmount both my cd-drives, but it says only root can mount and unmount.. what gives?


And another.. K3B won't detect my burner as one.. it wants to say its a reader, but its like half-way there.. and yes i have ide-scsi in my lilo.conf.. so its not that..

AND another.. where is the mplayer config.. it keeps wanted to say my dvd drive is /dev/dvd when it is /dev/cdrom .. unless anyone knows how to make a /dev/dvd point to /dev/cdrom

THANKS!
 

CCrunnernb

Golden Member
Sep 14, 2000
1,002
0
76
And also.. i set a mount point for another hard drive /download how do I get it so that user "nick" can write files, because now it says denied.. Do i need to login as root and do this? Help.. :p
 

rmrf

Platinum Member
May 14, 2003
2,872
0
0
for mounting your cdroms, you can write scripts and put them on your desktop. open your favorite file editor and put in the following:

to mount the device:

#!/bin/bash
/bin/mount /dev/<device> /mnt/<device>

to unmount the device:

#!/bin/bash
/bin/umount /dev/<device> /mnt/<device>

you can call these files cdrom.mount and cdrom.unmount for example.
make sure to make this file executable by going into the files properties.

For the mplayer fix, as long as you don't have another device that is referencing /dev/cdrom, you can create a soft link pointing /dev/cdrom to /dev/dvd by typing the following at a command line:

su -
rm /dev/cdrom
ln -s /dev/dvd /dev/cdrom

the su - puts you into super user mode (root)
rm /dev/cdrom removes the cdrom device
ln -s /dev/dvd /dev/cdrom makes a symbolic link so that when any program references /dev/cdrom, it send it to /dev/dvd

for the permissions problem, go to a terminal window, and type the following:

su -
chmod 777 /download

this command will allow anyone on the system to access the /download directory. if you need to customize the permissions, type the following at the command prompt:

man chmod

hope this helps
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Making the mount point world-writable won't make the mounted disk's contents world-writable, look at the uid, gid, umask, and gmask options for mount/fstab. man 1 mount, man 5 fstab.
 

rmrf

Platinum Member
May 14, 2003
2,872
0
0
Originally posted by: BingBongWongFooey
Making the mount point world-writable won't make the mounted disk's contents world-writable, look at the uid, gid, umask, and gmask options for mount/fstab. man 1 mount, man 5 fstab.

? I didn't know that you had to set the actual physical disk's permissions. I thought that as long as the folder you were mounting it to had the permissions you would be fine.
 

Panther505

Senior member
Oct 5, 2000
560
0
0
Originally posted by: rmrf
Originally posted by: BingBongWongFooey
Making the mount point world-writable won't make the mounted disk's contents world-writable, look at the uid, gid, umask, and gmask options for mount/fstab. man 1 mount, man 5 fstab.

? I didn't know that you had to set the actual physical disk's permissions. I thought that as long as the folder you were mounting it to had the permissions you would be fine.


Nope, when root mounts the root user and group will supersede all others. You don't see the issue with floppy and cdrom as they are have user set in the mount options.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Now, i want to put a shortcut to mount and unmount both my cd-drives, but it says only root can mount and unmount.. what gives?

In /etc/fstab add the 'user' option to allow regular users to mount/umount them.

And another.. K3B won't detect my burner as one.. it wants to say its a reader, but its like half-way there.. and yes i have ide-scsi in my lilo.conf.. so its not that..

If ide-scsi is working properly the drive will be listed in /proc/scsi/scsi is it?

AND another.. where is the mplayer config.. it keeps wanted to say my dvd drive is /dev/dvd when it is /dev/cdrom .. unless anyone knows how to make a /dev/dvd point to /dev/cdrom

ln -s /dev/cdrom /dev/dvd will make a /dev/dvd link that points to /dev/cdrom.

? I didn't know that you had to set the actual physical disk's permissions. I thought that as long as the folder you were mounting it to had the permissions you would be fine.

The permissions of the mounted filesystem supercede the permissions on the directory it's mounted to (whether root mounts it or not), if it's a FAT filesystem you need to specify the permissions in /etc/fstab or on the mount command line since FAT has no permission system built in.
 

rmrf

Platinum Member
May 14, 2003
2,872
0
0
Originally posted by: n0cmonkey
/download is a bad idea. Switch to using something like ~/download.

Why do you say that? does it have anything to do with access to the root of the filesystem?
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: rmrf
Originally posted by: n0cmonkey
/download is a bad idea. Switch to using something like ~/download.

Why do you say that? does it have anything to do with access to the root of the filesystem?

Yes. Typically downloading things willy nilly to where ever you want instead of where you should is frowned upon. Especially when it deals with the root filesystem.