<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr; font-family: Verdana; color: rgb(0, 0, 0); font-size: 13px;">
<div style="">What Theron is missing here is that the chmod command changes the file permission and has nothing to do with the extraction in step 2. If you have the permission to do a chmod, you already have ownership permission and can likely read the file.
If you cannot, you just need a "chmod o+r", not a "chmod 777". If you need to control the permissions of the files being extracted, you need to set a UMASK, not "chmod 777".<br>
<br>
There is a security issue here that should be addressed before the documentation is written.
<br>
</div>
<div><br>
<div style="font-family: Tahoma; font-size: 13px;">
<div style="font-family: Tahoma; font-size: 13px;">
<div style="font-family: Tahoma; font-size: 13px;">
<div style="font-family: Tahoma; font-size: 13px;">
<div style="font-family: Verdana; font-size: 13px;">
<div style="font-size: 13px;">
<div style="font-size: 13px;">
<div style="font-size: 13px;">
<div style="font-size: 13px;"><font size="3"><span style="font-weight: bold;">Josh More</span></font> | Senior Security Consultant - CISSP, GIAC-GSLC Gold, GIAC-GCIH<br>
<span style="font-weight: bold;">Alliance Technologies</span> | <a href="http://www.AllianceTechnologies.net" style="color: rgb(255, 0, 0);">
www.AllianceTechnologies.net</a><br>
400 Locust St., Suite 840 | Des Moines, IA 50309<br>
515.245.7701 | 888.387.5670 x7701<br>
<br>
Blog: Don't just blame the bad guys, it's your fault too<br>
<a href="http://www.alliancetechnologies.net/blogs/morej" style="color: rgb(255, 0, 0);">http://www.alliancetechnologies.net/blogs/morej</a><br>
<br>
How are we doing? Let us know here:<br>
<a href="http://www.alliancetechnologies.net/forms/alliance-technologies-feedback-survey">http://www.alliancetechnologies.net/forms/alliance-technologies-feedback-survey</a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF471984"><font face="Tahoma" color="#000000" size="2"><b>From:</b> cialug-bounces@cialug.org [cialug-bounces@cialug.org] on behalf of Theron Conrey [theron@conrey.org]<br>
<b>Sent:</b> Tuesday, May 03, 2011 08:24<br>
<b>To:</b> Central Iowa Linux Users Group<br>
<b>Subject:</b> Re: [Cialug] Can someone translate for me?<br>
</font><br>
</div>
<div></div>
<div>actually the first command changes who can do what with the file.
<div><br>
</div>
<div>for the first command a quicky explanation is there are three groups. the owner, the group, and then everyone else.</div>
<div>basically changing the permissions to 777 allows EVERYONE (owner, group, and everyone) to do everything (read,write, execute) to that file. unrelated: triple sevens always scare me a bit.</div>
<div>the second unpacks the file in the current directory (because no path is given). the x = decompress, the v = tell me ALL about it (verbose), the f = don't ask me questions, just f do it.</div>
<div><br>
</div>
<div>for non techies.</div>
<div><br>
</div>
<div>1) change the permissions to the file so that you can....</div>
<div>2) decompress (or unzip) the file to the directory it resides in.</div>
<div><br>
</div>
<div><br>
</div>
<div>-theron</div>
<div><br>
<div class="gmail_quote">On Tue, May 3, 2011 at 8:15 AM, Rob Miller <span dir="ltr">
<<a href="mailto:robarooney@gmail.com" target="_blank">robarooney@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>Can someone translate this *nix phrase into "instructional English"? TIA.</div>
<div> </div>
<div>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><b><span style="font-size: 10pt;">In the FooBar2.1 directory:</span></b></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><b><span style="font-size: 10pt;"></span></b> </p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-indent: 0.5in;"><span style="font-size: 10pt;">1.<span>
</span>chmod 777 Foobar_42_X26LMAQ.tar</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-indent: 0.5in;"><span style="font-size: 10pt;">2.<span>
</span>tar –xvf Foobar_42_X26LMAQ.tar</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-indent: 0.5in;"><span style="font-size: 10pt;"></span> </p>
<span style="font-size: 10pt;">
<div>Would the translation be something like:</div>
<div> </div>
<div>1. Copy the compressed Foobar file (*.tar) to the FooBar2.1 directory.</div>
<div>2. Set the file permissions using the chmod 777 command.</div>
<div>3. Extract the compressed contents of the Foobar file (*.tar) using the tar -xvf command.</div>
<div> </div>
<div>Again, thanks for the help.</div>
</span></div>
<br>
_______________________________________________<br>
Cialug mailing list<br>
<a href="mailto:Cialug@cialug.org" target="_blank">Cialug@cialug.org</a><br>
<a href="http://cialug.org/mailman/listinfo/cialug" target="_blank">http://cialug.org/mailman/listinfo/cialug</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>