Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-02-2007, 09:07 PM   #1
LQ Newbie
Registered: Jul 2005
Distribution: CentOS 5.0
Posts: 18

Rep: Reputation: 0
default access permission when we copy files

hi all,
How to make a default access permission for a group when we copy files ?
for example : when I copy files to a certain folder I want the access permission of those files should be read and write, now when I copied to that folder the access permission was only read and I had to do a 'chmod' manually.

Thanks in advance.

Last edited by bluenectar; 03-04-2007 at 09:11 PM.
Old 03-03-2007, 02:41 AM   #2
Senior Member
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
umm, whats the original files permissions?

anyways, use the command "install", it will copy files and set new permissions on the copies.
Old 03-04-2007, 09:09 PM   #3
LQ Newbie
Registered: Jul 2005
Distribution: CentOS 5.0
Posts: 18

Original Poster
Rep: Reputation: 0
hi SciYro,
the default permission is rw-r--r--, I want the default permission changed to rw-rw-r-- can I just use the command 'install' ? how can I use it ?
many thanks for the reply SciYro..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moved files => Apache: "You don't have permission to access / on this server." teek Linux - Server 1 12-31-2006 04:03 AM
Need ACCESS to change files! Every time I try to change a setting,"Permission Denied" Balarabay1 SUSE / openSUSE 2 03-06-2006 09:54 AM
Stuck! No permission to copy files?? the shady one Linux - Newbie 3 08-24-2005 06:24 PM
Can't copy files from CD to hd. Says i don't have permission? dizzug7068 Linux - Newbie 6 05-12-2005 10:54 PM
Access permission bits for special files spinifeX Linux - General 1 01-08-2005 02:05 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:26 PM.

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