<?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: /etc/mnttab: permission denied in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910366#M406052</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;4xxx means setting UID on the file. Which means that whoever is authorised to execute the file can excute this but this will be always executed as the user who is owner of the file so here root. This makes sense as the /etc/mnttab could have locked by some user.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
    <pubDate>Mon, 04 Jul 2005 04:26:41 GMT</pubDate>
    <dc:creator>Devender Khatana</dc:creator>
    <dc:date>2005-07-04T04:26:41Z</dc:date>
    <item>
      <title>/etc/mnttab: permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910357#M406043</link>
      <description>dear,&lt;BR /&gt;&lt;BR /&gt;When i run command "bdf" as user, i got an error:&lt;BR /&gt;$ bdf&lt;BR /&gt;bdf: Cannot open /etc/mnttab: Permission denied&lt;BR /&gt;&lt;BR /&gt;but, if we issued this command as root, output for bdf comnad is run normally.&lt;BR /&gt;&lt;BR /&gt;someone can help me, please !&lt;BR /&gt;&lt;BR /&gt;$ uname -a&lt;BR /&gt;HP-UX hqhpux36 B.11.00 A 9000/800 1193404627 two-user license&lt;BR /&gt;$ ll /etc/mnttab&lt;BR /&gt;-rw-r--r--   1 root       root           753 Jun 29 16:11 /etc/mnttab&lt;BR /&gt;$ ll /usr/bin/bdf&lt;BR /&gt;-r-xr-xr-x   1 root       bin          28672 Mar 21  2003 /usr/bin/bdf&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jul 2005 03:10:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910357#M406043</guid>
      <dc:creator>yuli_3</dc:creator>
      <dc:date>2005-07-04T03:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/mnttab: permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910358#M406044</link>
      <description>Check whether you have read and execute permissions on the parent directories i.e. /etc/&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jul 2005 03:12:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910358#M406044</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2005-07-04T03:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/mnttab: permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910359#M406045</link>
      <description>Can you read the file /etc/mnttab it could be corrupt.</description>
      <pubDate>Mon, 04 Jul 2005 03:16:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910359#M406045</guid>
      <dc:creator>Mark Nieuwboer</dc:creator>
      <dc:date>2005-07-04T03:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/mnttab: permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910360#M406046</link>
      <description>permission for /etc:&lt;BR /&gt;$ ll | grep etc&lt;BR /&gt;dr-xr-xr-x  25 bin        bin           6144 Jul  4 10:14 etc&lt;BR /&gt;&lt;BR /&gt;I can read /etc/mnttab file:&lt;BR /&gt;$ more /etc/mnttab&lt;BR /&gt;/dev/vg00/lvol3 / vxfs log 0 1 1120061449&lt;BR /&gt;/dev/vg00/lvol1 /stand hfs defaults 0 0 1120061450&lt;BR /&gt;/dev/vg00/lvol8 /var vxfs delaylog,nodatainlog 0 0 1120061467&lt;BR /&gt;/dev/vg00/lvol7 /usr vxfs delaylog,nodatainlog 0 0 1120061467&lt;BR /&gt;/dev/vg00/lvol6 /users/home vxfs delaylog,nodatainlog 0 0 1120061467&lt;BR /&gt;/dev/vg00/lvol5 /tmp vxfs delaylog,nodatainlog 0 0 1120061467&lt;BR /&gt;/dev/vg00/lvol07 /oracle vxfs delaylog,nodatainlog 0 0 1120061468&lt;BR /&gt;/dev/vg00/lvol4 /opt vxfs delaylog,nodatainlog 0 0 1120061468&lt;BR /&gt;/dev/vg00/appstemp /oasis/temp vxfs delaylog,nodatainlog 0 0 1120061468&lt;BR /&gt;/dev/vg00/lvaudit /auditlog vxfs delaylog,nodatainlog 0 0 1120061468&lt;BR /&gt;/dev/vg02/lvol1 /appstest vxfs delaylog,nodatainlog 0 0 1120061468&lt;BR /&gt;/dev/vg02/lvol2 /apps11.5.9 vxfs delaylog,nodatainlog 0 0 1120061468&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jul 2005 03:21:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910360#M406046</guid>
      <dc:creator>yuli_3</dc:creator>
      <dc:date>2005-07-04T03:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/mnttab: permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910361#M406047</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Could you please check whether latest file system patches are installed on your machine ?&lt;BR /&gt;&lt;BR /&gt;Run chmod 4555 /usr/bin/bdf.&lt;BR /&gt;&lt;BR /&gt;This will resolve the problem&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 04 Jul 2005 03:22:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910361#M406047</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2005-07-04T03:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/mnttab: permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910362#M406048</link>
      <description>victor,&lt;BR /&gt;&lt;BR /&gt;when i changed to 4555 /usr/bin/bdf,&lt;BR /&gt;problem is resolved.&lt;BR /&gt;$ ls -ld /usr/bin/bdf&lt;BR /&gt;-r-sr-xr-x   1 root       bin          28672 Mar 21  2003 /usr/bin/bdf&lt;BR /&gt;&lt;BR /&gt;but why i must do it ??in another server, permission for /usr/bin/bdf, only 555.&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jul 2005 03:39:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910362#M406048</guid>
      <dc:creator>yuli_3</dc:creator>
      <dc:date>2005-07-04T03:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/mnttab: permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910363#M406049</link>
      <description>Yes Yes,&lt;BR /&gt;&lt;BR /&gt;I am also eagerly waiting to know what is this 4555&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jul 2005 03:57:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910363#M406049</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2005-07-04T03:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/mnttab: permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910364#M406050</link>
      <description>Yuli,&lt;BR /&gt;&lt;BR /&gt;bdf can work without s-bit as well. Check whether /etc/mnttab with &lt;BR /&gt;fuser -u /etc/mnttab&lt;BR /&gt;Usually bdf itself locks the file. May be on one of the servers the file is locked by a mistake.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jul 2005 04:09:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910364#M406050</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2005-07-04T04:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/mnttab: permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910365#M406051</link>
      <description>4555 mean that users that not owner of file can execute this file (/usr/bin/bdf), but in another servers, permission for /usr/bin/bdf only 555 and all users can execute this file without error.confuse...</description>
      <pubDate>Mon, 04 Jul 2005 04:15:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910365#M406051</guid>
      <dc:creator>yuli_3</dc:creator>
      <dc:date>2005-07-04T04:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/mnttab: permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910366#M406052</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;4xxx means setting UID on the file. Which means that whoever is authorised to execute the file can excute this but this will be always executed as the user who is owner of the file so here root. This makes sense as the /etc/mnttab could have locked by some user.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Mon, 04 Jul 2005 04:26:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910366#M406052</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-07-04T04:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/mnttab: permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910367#M406053</link>
      <description>Similar to 'passwd' the command 'bdf' is also a setuid program. When executed, it assumes the root priviledges to read /etc/mnttab file and provide the output. The ll output on your system shows that it is missing that setuid permission, hence this failure. &lt;BR /&gt;&lt;BR /&gt;$ chmod 4555 /usr/bin/bdf&lt;BR /&gt;&lt;BR /&gt;Once you execute chmod you can see that first 'x' in permission string gets changed to 's'. You must run the baove command as root. &lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;-Amit</description>
      <pubDate>Mon, 04 Jul 2005 04:36:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910367#M406053</guid>
      <dc:creator>Amit Agarwal_1</dc:creator>
      <dc:date>2005-07-04T04:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/mnttab: permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910368#M406054</link>
      <description>ok..thanks for you all,&lt;BR /&gt;&lt;BR /&gt;now i am understand.&lt;BR /&gt;&lt;BR /&gt;many thanks,&lt;BR /&gt;&lt;BR /&gt;yuli</description>
      <pubDate>Mon, 04 Jul 2005 04:37:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-mnttab-permission-denied/m-p/4910368#M406054</guid>
      <dc:creator>yuli_3</dc:creator>
      <dc:date>2005-07-04T04:37:00Z</dc:date>
    </item>
  </channel>
</rss>

