<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: check for world readable in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/check-for-world-readable/m-p/5091840#M442495</link>
    <description>The Problem with the find solution is that it cannot only specifically check the 'others' bit, I'll have to say what the owner/group bits are set to which I don't want to assume.&lt;BR /&gt;&lt;BR /&gt;Any other method?</description>
    <pubDate>Fri, 08 Feb 2008 19:13:58 GMT</pubDate>
    <dc:creator>Shabu Khan-2</dc:creator>
    <dc:date>2008-02-08T19:13:58Z</dc:date>
    <item>
      <title>check for world readable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-for-world-readable/m-p/5091838#M442493</link>
      <description>&lt;BR /&gt;Folks,&lt;BR /&gt;This might be an easy one, I guess I just couldn't think today ...&lt;BR /&gt;&lt;BR /&gt;I am looking for a shell built-in like an umask or a command like chmod or -r switch to check if a file is world readable programmatically&lt;BR /&gt;&lt;BR /&gt;How do I go about doing it? I don't want to ls -l the file and cut the last three bits and then check if it has an 'r' or a 'w' or an 'x' but looking for something in-built, I thought there is something available to validate if a particular file is world readable?&lt;BR /&gt;&lt;BR /&gt;Thoughts?&lt;BR /&gt;&lt;BR /&gt;for .e.g&lt;BR /&gt;ls -l /var/cron/log&lt;BR /&gt;make sure this is world readable&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Fri, 08 Feb 2008 18:31:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-for-world-readable/m-p/5091838#M442493</guid>
      <dc:creator>Shabu Khan-2</dc:creator>
      <dc:date>2008-02-08T18:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: check for world readable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-for-world-readable/m-p/5091839#M442494</link>
      <description>find / -local -perm -006&lt;BR /&gt;&lt;BR /&gt;or something close to this.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Feb 2008 18:33:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-for-world-readable/m-p/5091839#M442494</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-02-08T18:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: check for world readable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-for-world-readable/m-p/5091840#M442495</link>
      <description>The Problem with the find solution is that it cannot only specifically check the 'others' bit, I'll have to say what the owner/group bits are set to which I don't want to assume.&lt;BR /&gt;&lt;BR /&gt;Any other method?</description>
      <pubDate>Fri, 08 Feb 2008 19:13:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-for-world-readable/m-p/5091840#M442495</guid>
      <dc:creator>Shabu Khan-2</dc:creator>
      <dc:date>2008-02-08T19:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: check for world readable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-for-world-readable/m-p/5091841#M442496</link>
      <description>The Problem with the find solution is that it cannot only specifically check the 'others' bit, I'll have to say what the owner/group bits are set to which I don't want to assume.&lt;BR /&gt;&lt;BR /&gt;Any other method?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shabu</description>
      <pubDate>Fri, 08 Feb 2008 19:16:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-for-world-readable/m-p/5091841#M442496</guid>
      <dc:creator>Shabu Khan-2</dc:creator>
      <dc:date>2008-02-08T19:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: check for world readable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-for-world-readable/m-p/5091842#M442497</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;To search a directory for all world-readable files:&lt;BR /&gt;&lt;BR /&gt;# find /path -type f -perm -o+r&lt;BR /&gt;&lt;BR /&gt;If you wanted either world-readable OR world-writable, do:&lt;BR /&gt;&lt;BR /&gt;# find /path -type f \( -perm -o+r -o -perm -o+w \)  &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 08 Feb 2008 19:17:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-for-world-readable/m-p/5091842#M442497</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-02-08T19:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: check for world readable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-for-world-readable/m-p/5091843#M442498</link>
      <description>then there is&lt;BR /&gt;&lt;BR /&gt;find ./ -perm -002 &lt;BR /&gt;&lt;BR /&gt;will find all files with perms write for other.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Feb 2008 19:25:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-for-world-readable/m-p/5091843#M442498</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-02-08T19:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: check for world readable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-for-world-readable/m-p/5091844#M442499</link>
      <description>Thanks JRF and others who responded!</description>
      <pubDate>Fri, 08 Feb 2008 20:04:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-for-world-readable/m-p/5091844#M442499</guid>
      <dc:creator>Shabu Khan-2</dc:creator>
      <dc:date>2008-02-08T20:04:45Z</dc:date>
    </item>
  </channel>
</rss>

