LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-18-2005, 05:49 PM   #1
IvanJ
LQ Newbie
 
Registered: Oct 2003
Location: Kraljevo, Serbia
Distribution: Debian
Posts: 27

Rep: Reputation: 15
Coping form CD


Does anyone knows what to setup and how for my problem. When I copy file from cd to desktop for example, file keeps the permissiond=s and I get the unwritable emblem on the file. How to configure nautilus or what, so the file from cd get the permissions of the foled that is copied to (desktop for example). Im using GNOME 2.8 on Debian Sarge
 
Old 07-18-2005, 07:01 PM   #2
azucaro
Member
 
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239

Rep: Reputation: 30
Since you copied the files to your desktop, you are now the owner. Use 'chmod u+w' to the files to be able to write to them.
 
Old 07-20-2005, 06:08 AM   #3
IvanJ
LQ Newbie
 
Registered: Oct 2003
Location: Kraljevo, Serbia
Distribution: Debian
Posts: 27

Original Poster
Rep: Reputation: 15
I need an automated solution for the problem. I'm doing that, but I want to make the system to do it for me
 
Old 07-20-2005, 08:32 AM   #4
azucaro
Member
 
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239

Rep: Reputation: 30
Okay, so write a script to automate the action. It would look a little something like this:

mount /dev/cdrom #mount cdrom, if not already mounted

cd /dev/cdrom #go to the cd's directory

cp * /some/folder/ #copy files to whatever directory

cd /some/folder/ #go to the files directory

chmod u+rw * #change permissions

Now, if you still need more automation, enter your created script into cron.
 
  


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
To call a new form from Current form in QT Desginer kiranbud Linux - Software 0 11-25-2005 11:56 PM
shell script works form command line but not form crontab saifee General 1 10-14-2004 10:27 AM
how do I copy a whoel folder form one directory to another form the command line? zwyrbla Linux - Newbie 8 08-24-2004 06:40 PM
coping a .bin file laclac01 Linux - General 2 05-04-2004 02:40 PM
I want Linux source code for FAT file system in user readable form not in binary form ramya272 Linux - Newbie 5 02-05-2004 07:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:54 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