<?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: Disk Usage using du in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-usage-using-du/m-p/2722017#M948170</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;Are you 'root' user whilst performing the actions ?&lt;BR /&gt;&lt;BR /&gt;Steve</description>
    <pubDate>Sun, 12 May 2002 07:21:25 GMT</pubDate>
    <dc:creator>steven Burgess_2</dc:creator>
    <dc:date>2002-05-12T07:21:25Z</dc:date>
    <item>
      <title>Disk Usage using du</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-usage-using-du/m-p/2722016#M948169</link>
      <description>Hi &lt;BR /&gt;I tried doing the following:&lt;BR /&gt;$du -k -s /&lt;BR /&gt;It produced the following messages for all directories under /:&lt;BR /&gt;du: cannot change to dir /tmp/image/ :Permission denied&lt;BR /&gt;&lt;BR /&gt;Also, when I did another du on another filesystem, i.e. $du -k -s /fs36/nwd.srtl.cr, it produced:&lt;BR /&gt;du: cannot open &lt;BR /&gt;du: bad status &lt;FS36&gt;&lt;/FS36&gt;&lt;BR /&gt;&lt;BR /&gt;Could someone tell me what is the reason to all these error messages and how I could rectify it?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Sun, 12 May 2002 07:16:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-usage-using-du/m-p/2722016#M948169</guid>
      <dc:creator>Chern Jian Leaw</dc:creator>
      <dc:date>2002-05-12T07:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Usage using du</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-usage-using-du/m-p/2722017#M948170</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Are you 'root' user whilst performing the actions ?&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Sun, 12 May 2002 07:21:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-usage-using-du/m-p/2722017#M948170</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-05-12T07:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Usage using du</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-usage-using-du/m-p/2722018#M948171</link>
      <description>Steve,&lt;BR /&gt;No, I'm not logged in as root whilst performing this action. I'm able to perform a df on mentioned filesystem. &lt;BR /&gt;&lt;BR /&gt;Do I need to be a root user to execute du? I'm not logged into a fileserver.&lt;BR /&gt; &lt;BR /&gt;I've managed to execute du on other filesystems on different hosts before. &lt;BR /&gt;&lt;BR /&gt;Could you please explain?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Sun, 12 May 2002 07:28:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-usage-using-du/m-p/2722018#M948171</guid>
      <dc:creator>Chern Jian Leaw</dc:creator>
      <dc:date>2002-05-12T07:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Usage using du</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-usage-using-du/m-p/2722019#M948172</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I've just tried it on of my servers as my standard ID and root&lt;BR /&gt;&lt;BR /&gt;I received errors when using my ID similar to yours - None whilst root user&lt;BR /&gt;&lt;BR /&gt;It will depend on the permissions of the files in the directory - if the user is unable to read the file it will not be able to calculate the size&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Sun, 12 May 2002 07:42:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-usage-using-du/m-p/2722019#M948172</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-05-12T07:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Usage using du</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-usage-using-du/m-p/2722020#M948173</link>
      <description>If you are doing a du -sk for a directory you should have read and execute permissions on that directory.YOur message shows that you do not have read and execute permissions for that directory.So the reason is that you are unable to open the directory.&lt;BR /&gt;May the permission now are &lt;BR /&gt;drwx------&lt;BR /&gt;dr-xr--r--&lt;BR /&gt;&lt;BR /&gt;In the first case the owner has read,write and execute permissions.The group and others have no permissions.&lt;BR /&gt;&lt;BR /&gt;In the second case the owner has read and execute permissions.The group has read permissions and others have read permissions.&lt;BR /&gt;&lt;BR /&gt;If you are the owner for that directory &lt;BR /&gt;drwx------ is enough.&lt;BR /&gt;If you are not the owner&lt;BR /&gt;then&lt;BR /&gt;drwxr-xr-x permissions is neccessary.&lt;BR /&gt;change the permissions of that directory with &lt;BR /&gt;read and execute permissions for everyone,you can do a du-sk.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Sun, 12 May 2002 07:46:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-usage-using-du/m-p/2722020#M948173</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-05-12T07:46:55Z</dc:date>
    </item>
  </channel>
</rss>

