LinuxQuestions.org
Register a domain and help support LQ
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 12-06-2007, 02:13 PM   #1
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Rep: Reputation: 50
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
 
Old 12-06-2007, 02:18 PM   #2
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Rep: Reputation: 30
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.
 
Old 12-06-2007, 03:52 PM   #3
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by NightSky View Post
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).
 
Old 12-06-2007, 05:04 PM   #4
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
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
 
Old 12-06-2007, 05:21 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Quote:
Originally Posted by NightSky View Post
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 View Post
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
 
  


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
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
Any way to get "Alice"; "Call of Duty" series and "Descent 3" to work? JBailey742 Linux - Games 13 06-23-2006 01:34 PM


All times are GMT -5. The time now is 01:24 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration