LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Red tar.gz file? (https://www.linuxquestions.org/questions/linux-newbie-8/red-tar-gz-file-141897/)

Dunedain 02-03-2004 03:10 PM

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...

Caeda 02-03-2004 03:23 PM

it means the permission settings are different than the other packages so it affects the color.

Dunedain 02-03-2004 03:27 PM

so I can just chmod --reference=<green tar.gz file> <red tar.gz file> ?

alar 02-03-2004 04:07 PM

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.


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