<?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: canot chdir to a directory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/canot-chdir-to-a-directory/m-p/5277850#M474063</link>
    <description>Dear Matti , &lt;BR /&gt;&lt;BR /&gt;You solution is right on the spot , as they are most of the times.&lt;BR /&gt;Soluiton was a chmod -R ug+x ./directory&lt;BR /&gt;&lt;BR /&gt;Regards, &lt;BR /&gt;Rahul</description>
    <pubDate>Mon, 28 Mar 2011 09:56:49 GMT</pubDate>
    <dc:creator>DeafFrog</dc:creator>
    <dc:date>2011-03-28T09:56:49Z</dc:date>
    <item>
      <title>canot chdir to a directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/canot-chdir-to-a-directory/m-p/5277848#M474061</link>
      <description>Dear Gurus, &lt;BR /&gt;&lt;BR /&gt;I tried to crete one chroot jail environemnt for one of the user,user1 ,however the user was instead being logged in to / and not the chroot /, as the case should be.i used this script /opt/ssh/utils/ssh_chroot_setup.sh.&lt;BR /&gt;&lt;BR /&gt;my os version is 11.31.This could have happened as the chroot user,user1, being created might not have had access to the directory, which belongs to user2.&lt;BR /&gt;&lt;BR /&gt;So , i added another user whose primary group is same as the user2 with restricted shell&lt;BR /&gt;&lt;BR /&gt;useradd -g winstall -s /usr/bin/rsh -d /tango/INB_UAT1/chrlie/Batch/AllBatch/data/reports/jrxml raritan&lt;BR /&gt;&lt;BR /&gt;now raritan is also logged in to the system as / , and not at his home directory , which should be /tango/INB_UAT1/chrlie/Batch/AllBatch/data/reports/jrxml.The error that shows while login is "Could not chdir to home directory /inbdata/INB_UAT1/EBUATP4/Batch/AllBatch/data/                                              reports/jrxml: Permission denied"&lt;BR /&gt;&lt;BR /&gt;but :&lt;BR /&gt;&lt;BR /&gt;apple1:#ls -ld /tango/INB_UAT1/charlie/Batch/AllBatch/data/reports/jrxml/ &lt;BR /&gt;&lt;BR /&gt;drwxrwxrwx  11 user3     winstall     10240 Mar 27 16:33 &lt;BR /&gt;&lt;BR /&gt;/tango/INB_UAT1/charlie/Batch/AllBatch/data/reports/jrxml/&lt;BR /&gt;&lt;BR /&gt;Please suggest ,&lt;BR /&gt;&lt;BR /&gt;Regards,  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Mar 2011 04:15:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/canot-chdir-to-a-directory/m-p/5277848#M474061</guid>
      <dc:creator>DeafFrog</dc:creator>
      <dc:date>2011-03-28T04:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: canot chdir to a directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/canot-chdir-to-a-directory/m-p/5277849#M474062</link>
      <description>There's probably at least one directory on the path from / to the chrooted users' home directories that is not accessible to those users.&lt;BR /&gt;&lt;BR /&gt;Please run:&lt;BR /&gt;ll /tango &lt;BR /&gt;ll /tango/INB_UAT1 &lt;BR /&gt;ll /tango/INB_UAT1/charlie &lt;BR /&gt;ll /tango/INB_UAT1/charlie/Batch &lt;BR /&gt;ll /tango/INB_UAT1/charlie/Batch/AllBatch &lt;BR /&gt;.. etc. all the way to the users' home directories.&lt;BR /&gt;&lt;BR /&gt;The access (x) permissions are the important ones: if the user does not have access permission for all the parent directories of his home directory, the home directory is not accessible.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Mon, 28 Mar 2011 04:42:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/canot-chdir-to-a-directory/m-p/5277849#M474062</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-03-28T04:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: canot chdir to a directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/canot-chdir-to-a-directory/m-p/5277850#M474063</link>
      <description>Dear Matti , &lt;BR /&gt;&lt;BR /&gt;You solution is right on the spot , as they are most of the times.&lt;BR /&gt;Soluiton was a chmod -R ug+x ./directory&lt;BR /&gt;&lt;BR /&gt;Regards, &lt;BR /&gt;Rahul</description>
      <pubDate>Mon, 28 Mar 2011 09:56:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/canot-chdir-to-a-directory/m-p/5277850#M474063</guid>
      <dc:creator>DeafFrog</dc:creator>
      <dc:date>2011-03-28T09:56:49Z</dc:date>
    </item>
  </channel>
</rss>

