System Administration Guide, Volume I

Example--Copying Information From a CD

The following example uses cp to copy a single file from the /cdrom/solstice_sysmgt_2_3 directory into the system's working directory (denoted by the ".").


$ cp /cdrom/solstice_sysmgt_2_3/README .
$ ls -l
-r--r--r--   1 pmorph   users       4618 May  9 08:09 README
 

Note that when a file or directory is copied from a CD into your file system, you become its owner, but it retains the permissions it had on the CD:

-r--r--r--

To overwrite it, you'll need to change the permissions with the chmod command. See "Securing Files (Tasks)" in System Administration Guide, Volume II for more information on using the chmod command.