<?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: Problem of chmod in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-of-chmod/m-p/4815171#M607877</link>
    <description>&lt;P&gt;&amp;gt;I see the man page of the mount_lofs. Thanks!﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are happy with your answers, please assign kudos.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2011 08:42:05 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2011-07-06T08:42:05Z</dc:date>
    <item>
      <title>Problem of chmod</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-of-chmod/m-p/4813505#M607872</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have encountered a problem of chmod.&lt;/P&gt;&lt;P&gt;Here is details about what i did:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# mount -F lofs -Q -e -o ro /home/test_sbin/&amp;nbsp; /home/test_usr/&lt;/P&gt;&lt;P&gt;mount: mounted /home/test_sbin on /home/test_usr&lt;/P&gt;&lt;P&gt;# cd /home/test_usr/&lt;/P&gt;&lt;P&gt;# ls&lt;/P&gt;&lt;P&gt;file&amp;nbsp; test&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# chmod 777 test&lt;/P&gt;&lt;P&gt;chmod: can't change test: Read-only file system&lt;/P&gt;&lt;P&gt;# chmod 777 file&lt;/P&gt;&lt;P&gt;# ls -al&lt;/P&gt;&lt;P&gt;total 0&lt;/P&gt;&lt;P&gt;-rwxrwxrwx&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 Jul&amp;nbsp; 4 23:01 file&lt;/P&gt;&lt;P&gt;drwxrwxrwx&amp;nbsp;&amp;nbsp; 2 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 96 Jul&amp;nbsp; 4 23:02 test&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it seems that the chmod on the file can work fine, So what is the reason?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My system is &amp;nbsp;B.11.31.1103 and IA64 platform.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kevin&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2011 07:48:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-of-chmod/m-p/4813505#M607872</guid>
      <dc:creator>yangk</dc:creator>
      <dc:date>2011-07-05T07:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem of chmod</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-of-chmod/m-p/4813653#M607873</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you only listed 'ls -al' once, so we don't know if any 'chmod' worked. All permissions are set to 777.&lt;BR /&gt;&amp;gt;mount -F lofs -Q -e -o ro &amp;lt;-you've set the option to read-only&lt;BR /&gt;so 'chmod' should not 'work fine'.&lt;BR /&gt;&lt;BR /&gt;V.</description>
      <pubDate>Tue, 05 Jul 2011 09:05:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-of-chmod/m-p/4813653#M607873</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2011-07-05T09:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem of chmod</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-of-chmod/m-p/4813871#M607874</link>
      <description>&lt;P&gt;The error message is quite clear. You cannot modify a read-only filesystem.&lt;/P&gt;&lt;P&gt;And in general, chmod 777 is a bad idea for any file or directory where the data must be protected. 777 is OK on something temporary like /tmp and /var/tmp (although many sysadmins will use 1777 to limit accidents and other problems with open permissions). 777 means that every user on the system can change the contents of that file or directory.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2011 11:26:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-of-chmod/m-p/4813871#M607874</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2011-07-05T11:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem of chmod</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-of-chmod/m-p/4814195#M607875</link>
      <description>&lt;P&gt;&amp;gt;But it seems that the chmod on the file can work fine, So what is the reason?﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Read the WARNINGS under:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02264550/c02264550.pdf"&gt;http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02264550/c02264550.pdf&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;For LOFS file systems which are mounted read-only, if the underlying file system is mounted writable,&lt;BR /&gt;certain write operations on the LOFS will succeed. Thus LOFS should not be relied upon to provide a&lt;BR /&gt;strictly write-only alternative image of a read-write file system.﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should be making your changes in /home/test_sbin/.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2011 15:01:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-of-chmod/m-p/4814195#M607875</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-07-05T15:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem of chmod</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-of-chmod/m-p/4814807#M607876</link>
      <description>&lt;P&gt;Ok, i see the man page of the mount_lofs. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2011 02:32:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-of-chmod/m-p/4814807#M607876</guid>
      <dc:creator>yangk</dc:creator>
      <dc:date>2011-07-06T02:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem of chmod</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-of-chmod/m-p/4815171#M607877</link>
      <description>&lt;P&gt;&amp;gt;I see the man page of the mount_lofs. Thanks!﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are happy with your answers, please assign kudos.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2011 08:42:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-of-chmod/m-p/4815171#M607877</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-07-06T08:42:05Z</dc:date>
    </item>
  </channel>
</rss>

