Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems mounting a setup cd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
ImAmMe
n00b
n00b


Joined: 10 Feb 2006
Posts: 55

PostPosted: Mon Feb 21, 2011 12:31 am    Post subject: problems mounting a setup cd Reply with quote

I have wine installed, and running. So I go to install a game, mount the first install disc. It mounts all right, but the users/groups are set weird. Wine and I dont have the rights to read files? I get access denied, when i run the installer.exe from within winefile. no luck at the command line either.

I am a member of the dialout group


mount /dev/sr0 /mnt/gamedisc
mount -t iso9660 /dev/sr0 /mnt/gamedisc
mount -vv -o loop -t iso9660 /dev/sr0 /mnt/gamedisc

none of the command spit out any complaints to screen.



my fstab
Code:

#/dev/sr0               /mnt/gamedisc   auto            users,owner,ro,umask=0444               0 0
/dev/sr0               /mnt/gamedisc   auto            users,owner,ro,umask=0000,uid=1000               0 0



cat /mnt/gamedisc/installer.exe
Code:

cat: /mnt/gamedisc/installer.exe: Permission denied


ls -al /mnt/gamedisc/
Code:

total 467374
dr-xr-xr-x  1 root root         2048 Jun 23  2008 .
drwxr-xr-x 17 root root         4096 Feb 20 16:32 ..
-rw-r--r--  1  502 dialout        48 Jun 23  2008 autorun.inf
dr-xr-xr-x  1 root root         2048 Jun 23  2008 directx
-rw-r--r--  1  502 dialout     55134 Jun 23  2008 disc.ico
-rwx------  1  502 dialout 477272601 Jun 23  2008 installer tome.mpq
-rwx------  1  502 dialout   1252968 Jun 23  2008 installer.exe



What am i missing? Overlooking?

Thanks taking a look at this guys.
Back to top
View user's profile Send private message
lxg
l33t
l33t


Joined: 12 Nov 2005
Posts: 912
Location: Aachen, Germany

PostPosted: Mon Feb 21, 2011 9:02 am    Post subject: Reply with quote

If you have that line in your /etc/fstab, a simple

Code:
mount /dev/sr0


is enough (Try as root). All of the commands you posted overwrite or collide with the fstab entry.

As for the cat command: Which ever way you mounted that file system at that time, the file belongs to the user “502” (which doesn't seem to exist on your system, elsewise ls would have written the name). The mode of the file is 700, which means that only the owner can read/write/execute the file, all others mustn't even read the file. As you certainly aren't user 502, cat tells you that it can't access the file.
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum