LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 02-03-2004, 04:10 PM   #1
Dunedain
Member
 
Registered: Jan 2004
Location: Norway
Distribution: FC12
Posts: 77

Rep: Reputation: 15
Red tar.gz file?


I just noticed that I have three red coloured tar.gz files on my comp now, these are usually green, so I can't help but to wonder what that means. I am guessing it means that something's wrong...
 
Old 02-03-2004, 04:23 PM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
it means the permission settings are different than the other packages so it affects the color.
 
Old 02-03-2004, 04:27 PM   #3
Dunedain
Member
 
Registered: Jan 2004
Location: Norway
Distribution: FC12
Posts: 77

Original Poster
Rep: Reputation: 15
so I can just chmod --reference=<green tar.gz file> <red tar.gz file> ?
 
Old 02-03-2004, 05:07 PM   #4
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Rep: Reputation: 36
Yes you can; if you have permissions.

I drew a reference guide to chmod once and I always refer to it:
Code:
OWNER  GROUP   WORLD
r w x  r w x   r w x 
1 1 1  1 0 1   1 0 1 
  7      5       5  
  |______|_______|
         |   
        755
As long as you can count in binary it makes perfect sense.
This way you can set precise: read, write or execute access levels
to files based on: owner, group or world
where or when ever you want.

So read only would be 100 or 4.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 03:48 AM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 04:15 AM
tar -cvzf file.xml file.tar.gz RickHunter_Ve Linux - Software 1 10-06-2004 01:58 PM
Tar gives error when creating a tar file archive davidas Linux - Newbie 10 04-13-2004 01:35 AM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 02:04 PM


All times are GMT -5. The time now is 06:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration