[oclug] Permissions confusion
binlinux at hotmail.com
Wed Jul 9 12:10:54 EDT 2003
Good Morning All
I tried to copy 5 cds onto the hard drive of linux pc last night
This worked previously but didn't with these new cds.
I'm guessing the software on the cds has changed.
From the history (as root):
rm -rf *
cp -R /mnt/cdrom/* .
chown -R shop.shop *
... etc etc etc
If you look in the folder created as above the files look like this
(this is a subset of a long listing)
-r-xr-xr-x 1 shop shop 320640 Jul 8 16:09 ILDA16.DLL
dr-xr-xr-x 3 shop shop 4096 Jul 8 16:09 KUNDEN
If I use Windows drag-n-drop via win4lin (as user shop) to copy the cd
to the harddrive I get
-r--r--r-- 1 shop shop 320640 Nov 8 1997 ILDA16.DLL
drwxrwxr-x 4 shop shop 4096 Jul 9 10:18 KUNDEN
The permissions are different, the dates are different.
The problem is the program won't run (now) when the files are copied
using method 1.
1 - How can I recreate the results of method 2 from the command line?
2 - What would I get if I made an image of each cd and mounted that?
(I haven't looked into how to do this yet)
More information about the OCLUG