LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Is ".gz" archive file considered "World-Readable"? (https://www.linuxquestions.org/questions/linux-newbie-8/is-gz-archive-file-considered-world-readable-605009/)

NightSky 12-06-2007 02:13 PM

Is ".gz" archive file considered "World-Readable"?
 
Running in Xfce, Slackware12: Is ".gz" archive file considered "world-readable"? If not do I just gunzip it? Thanks

enemorales 12-06-2007 02:18 PM

Hi,

Not sure what you mean with "world-readable".

".gz" indeed can be uncompressed with gunzip, but there are also some ps viewers that will open ".ps.gz" files and unpcompress them on-the-fly, so you do not need to use gunzip yourself.

David1357 12-06-2007 03:52 PM

Quote:

Originally Posted by NightSky (Post 2982433)
Running in Xfce, Slackware12: Is ".gz" archive file considered "world-readable"? If not do I just gunzip it? Thanks

"ls -l filename.gz" will display the access permissions. If the output looks like

drwxr-xr-x 1 luser luser 26 2007-10-18 16:12 filename.gz
then it is world readable (the "r" in the 8th column of the permissions).

NightSky 12-06-2007 05:04 PM

What I mean by 'World-Readable" is whether the .gz file can be used by an application ie. cups without gunzip the file. Trying to follow instructions on making a .ppd file accessible in /usr/share/cups/model
and all the files are ".gz archive files" in there. The instructions say that the file does not have to be "executable" but must be "world-readable". I don't understand that part of the instructions. Thank

Tinkster 12-06-2007 05:21 PM

Quote:

Originally Posted by NightSky (Post 2982581)
What I mean by 'World-Readable" is whether the .gz file can be used by an application ie. cups without gunzip the file.

That's not what others mean when they talk about "world readable".
"World readable" means that the permissions are o+r

Quote:

Originally Posted by NightSky (Post 2982581)
Trying to follow instructions on making a .ppd file accessible in /usr/share/cups/model
and all the files are ".gz archive files" in there. The instructions say that the file does not have to be "executable" but must be "world-readable". I don't understand that part of the instructions. Thank

chmod go+r file
should do the trick.



Cheers,
Tink


All times are GMT -5. The time now is 09:12 AM.