LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-06-2006, 02:53 PM   #1
Goalswish
LQ Newbie
 
Registered: May 2006
Posts: 7

Rep: Reputation: 0
Can't copy from cdrom


Hello, I am Extremly new to Linux I am using SUSE 9

Logged in as regular user and can not copy from /media/cdrom/

I want to copy a directory and all its files but it won't let me here's what I'm trying

cp /media/cdrom/utils /home/goalswish/utils

I think it may be permission related
I get the message
cp: omitting directory '/media/cdrom/utils'

I realy am stumped
Thanks to anyone who can help.
 
Old 05-06-2006, 04:01 PM   #2
Gogul
Member
 
Registered: Nov 2005
Posts: 112

Rep: Reputation: 15
It may be possible that you need to change the user permissions to enable you do this.

Try logging on as root first typing "su" at command line then your root password and copy the files

I remember having a similar problem with Vector Linux myself
 
Old 05-06-2006, 04:10 PM   #3
Goalswish
LQ Newbie
 
Registered: May 2006
Posts: 7

Original Poster
Rep: Reputation: 0
mkdir

thanks yes it works in root,I still can not make directories
example of what i'm typing
mkdir /fun/time
any ideas?


Thank You
 
Old 05-06-2006, 05:05 PM   #4
ioerror
Member
 
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 34
Quote:
cp: omitting directory '/media/cdrom/utils'
cp will not copy directories recursively by default, you need the -r option. Also, you don't need to specify the destination 'utils' directory as cp will use the existing name anyway (but it doesn't hurt). Thus, this should do what you want:

Code:
cp -r /media/cdrom/utils /home/goalswish
Quote:
mkdir /fun/time
Does /fun exist? mkdir will only create the last directory, any parent directories must exist already. If you want to create multiple subdirectories at once, you can use the -p flag, e.g.

Code:
mkdir -p /fun/time
Of course, you will need to be root to create a directory immediately under /.
 
Old 05-06-2006, 09:28 PM   #5
Goalswish
LQ Newbie
 
Registered: May 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks

This helps alot, using the -r helped.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't mount CDROM after sys copy to new HD muadib Linux - Hardware 0 09-22-2004 01:12 PM
copy file from broken cdrom? FloFri Linux - General 7 04-04-2004 04:10 AM
How Do I copy data from the cdrom to my harddrive TransAmJugo Linux - Newbie 2 07-18-2003 03:09 PM
can not copy from CDROM x2000koh Linux - General 2 12-11-2002 11:36 PM
Copy files from cdrom stalkersteve Linux - Newbie 8 08-16-2002 08:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration