<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Tech-Recipes - Latest Comments in UNIX: advanced octal file permissions with chmod</title><link>http://tech-recipes.disqus.com/</link><description>Cookbook of Tech Tutorials</description><atom:link href="https://tech-recipes.disqus.com/unix_advanced_octal_file_permissions_with_chmod_unix_tech_recipes/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 11 Mar 2011 09:21:04 -0000</lastBuildDate><item><title>Re: UNIX: advanced octal file permissions with chmod</title><link>http://www.tech-recipes.com/rx/697/unix-advanced-octal-file-permissions-with-chmod/#comment-164090681</link><description>&lt;p&gt;So if I require chmod 777 I can use Octal 777?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dm</dc:creator><pubDate>Fri, 11 Mar 2011 09:21:04 -0000</pubDate></item><item><title>Re: UNIX: advanced octal file permissions with chmod</title><link>http://www.tech-recipes.com/rx/697/unix-advanced-octal-file-permissions-with-chmod/#comment-12188200</link><description>&lt;p&gt;Thnks You............&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mukul</dc:creator><pubDate>Mon, 06 Jul 2009 01:35:25 -0000</pubDate></item><item><title>Re: UNIX: advanced octal file permissions with chmod</title><link>http://www.tech-recipes.com/rx/697/unix-advanced-octal-file-permissions-with-chmod/#comment-2768721</link><description>&lt;p&gt;Unices and applications use the setgid and setuid bits so the octal may need to be 4 digits, especially if using UniCenter or AIX.&lt;br&gt;AIX directories often have setgid set sometimes.&lt;/p&gt;&lt;p&gt;Using chmod 0755 or 0750 if hardening is needed.&lt;br&gt;remove setgid from dir with symbolic representaion &lt;br&gt;drwxrws---   ie in octal 2750 change to safer nonsetgid&lt;br&gt;drwxrwx---   ie in octal 0750&lt;br&gt;with&lt;br&gt;chmod 0750 dirname&lt;/p&gt;&lt;p&gt;Usual ownership requirements apply.&lt;br&gt;Note it is possible to get uppercase S appearing in ls -l output if setgid is set but no execute permissions are set.  it means setgid is ineffective.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Denarius</dc:creator><pubDate>Mon, 31 Jan 2005 13:02:51 -0000</pubDate></item></channel></rss>