<?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: ksh : permission denied on mounted directory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013738#M771889</link>
    <description>So my problem appears to be solved !!&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Brecht</description>
    <pubDate>Tue, 14 Nov 2006 02:29:33 GMT</pubDate>
    <dc:creator>Brecht De Baets</dc:creator>
    <dc:date>2006-11-14T02:29:33Z</dc:date>
    <item>
      <title>ksh : permission denied on mounted directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013728#M771876</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;We have the following Unix-version : B.11.23.&lt;BR /&gt;&lt;BR /&gt;I have the following problem. I made a directory /mnt/appserv and&lt;BR /&gt;mounted it on a windows server. The line in /etc/fstab to do this is the following : &lt;BR /&gt;&lt;BR /&gt;winoracle:/environments10g /mnt/appserv cifs defaults 0 0&lt;BR /&gt;&lt;BR /&gt;I have mounted this dir as root-user.&lt;BR /&gt;The rights on the directory are the following : &lt;BR /&gt;&lt;BR /&gt;drwxrwxrwx 2 root sys 131072 Nov 13 09:54 appserv&lt;BR /&gt;&lt;BR /&gt;When I log in as user 'oracle' and when I try to access this directory I get&lt;BR /&gt;the following : &lt;BR /&gt;ksh : appserv : permission denied &lt;BR /&gt;&lt;BR /&gt;I am pretty new to Unix. &lt;BR /&gt;What am I missing here ?</description>
      <pubDate>Mon, 13 Nov 2006 04:14:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013728#M771876</guid>
      <dc:creator>Brecht De Baets</dc:creator>
      <dc:date>2006-11-13T04:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: ksh : permission denied on mounted directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013729#M771878</link>
      <description>Seems a nfs mount&lt;BR /&gt;&lt;BR /&gt;Permissions on the base filesystem&lt;BR /&gt;(that is where the physical files reside)&lt;BR /&gt;are not superseded because you mounted&lt;BR /&gt;a local directory as root !!&lt;BR /&gt;&lt;BR /&gt;The permission need to be correctly set at&lt;BR /&gt;the filesystem before you mounted it.&lt;BR /&gt;&lt;BR /&gt;Also it is worth&lt;BR /&gt;checking on Windows how permissions&lt;BR /&gt;and access lists are exported.&lt;BR /&gt;On unix it is done thru&lt;BR /&gt;exportfs -a&lt;BR /&gt;based on your /etc/exports file.&lt;BR /&gt;&lt;BR /&gt;Otherwise post the contents of this&lt;BR /&gt;equivalent windows file here , so&lt;BR /&gt;we can check.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Nov 2006 04:45:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013729#M771878</guid>
      <dc:creator>Frank de Vries</dc:creator>
      <dc:date>2006-11-13T04:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: ksh : permission denied on mounted directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013730#M771880</link>
      <description>Hi, can you access the shared filesystem on HPUX as root?&lt;BR /&gt;&lt;BR /&gt;Can you describe how you setup this share?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yang</description>
      <pubDate>Mon, 13 Nov 2006 05:00:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013730#M771880</guid>
      <dc:creator>Yang Qin_1</dc:creator>
      <dc:date>2006-11-13T05:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: ksh : permission denied on mounted directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013731#M771882</link>
      <description>The permissions on the windows-machine should be ok. I have mounted the same dir on a linux-machine and there I had no problems.&lt;BR /&gt;&lt;BR /&gt;From HP-Unix I can access the directory as root, but not as user 'oracle'.&lt;BR /&gt;&lt;BR /&gt;To mount I did the following : &lt;BR /&gt;- I made a new directory : /mnt/appserv and &lt;BR /&gt;  with chmod I gave it the maximum of &lt;BR /&gt;  permissions.&lt;BR /&gt;- I added a line in /etc/fstab : &lt;BR /&gt;  'winoracle:/environments10g /mnt/appserv &lt;BR /&gt;  cifs defaults 0 0'&lt;BR /&gt;  The pasword for the server is in the file&lt;BR /&gt;  cifsclient (in /sbin/init.d) :&lt;BR /&gt;  '/opt/cifsclient/bin/cifslogin -U  &lt;BR /&gt;  username winoracle -P pasword'&lt;BR /&gt;- I issued the following : mount -aF cifs&lt;BR /&gt;  as root-user.&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Nov 2006 05:32:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013731#M771882</guid>
      <dc:creator>Brecht De Baets</dc:creator>
      <dc:date>2006-11-13T05:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: ksh : permission denied on mounted directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013732#M771883</link>
      <description>It seems you are using samba share. I'm not sure you can manage the file system permission of a Windows samba share by "chmod 777 appserv" for the mount point on HPUX -- you may need to verify the share setup from Windows maybe "root" is configured as a samba user but "oracle" not.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yang</description>
      <pubDate>Mon, 13 Nov 2006 05:48:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013732#M771883</guid>
      <dc:creator>Yang Qin_1</dc:creator>
      <dc:date>2006-11-13T05:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: ksh : permission denied on mounted directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013733#M771884</link>
      <description>Hello Brecht,&lt;BR /&gt;&lt;BR /&gt;Here's the answere to your query:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1056700" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1056700&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also instead of using the mount_cifs(1M), can you try the cifsmount and the cifslogin commands?&lt;BR /&gt;&lt;BR /&gt;For CIFS problem, I normally search the responses posted by Eric Raeburn for quick resolutions. :)&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Sanjay</description>
      <pubDate>Mon, 13 Nov 2006 06:45:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013733#M771884</guid>
      <dc:creator>Sanjay Yugal Kishore Ha</dc:creator>
      <dc:date>2006-11-13T06:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: ksh : permission denied on mounted directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013734#M771885</link>
      <description>My problem is still not solved !&lt;BR /&gt;&lt;BR /&gt;Sanjay, The link you provided wasn't useful to me because I can actualy mount the directory, but I only have access as the root-user.&lt;BR /&gt;&lt;BR /&gt;Yang, Is there any way to check these samba-users ? I have tried the smbpasswd command to add the oracle-user but I can't execute the command. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Nov 2006 07:30:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013734#M771885</guid>
      <dc:creator>Brecht De Baets</dc:creator>
      <dc:date>2006-11-13T07:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: ksh : permission denied on mounted directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013735#M771886</link>
      <description>Do you have an account "oracle" on winoracle? if you have, does that account has access to appserv? &lt;BR /&gt;&lt;BR /&gt;If you do not have an account for "oracle" on winoracle, you can still try the following:&lt;BR /&gt;&lt;BR /&gt;1. logon as oracle&lt;BR /&gt;&lt;BR /&gt;2. run "cifslogin -s winoracle &lt;USERNAME winoracle=""&gt; -P &lt;PASSWORD&gt;" -- same as what you used in /sbin/init.d&lt;BR /&gt;&lt;BR /&gt;3. try to access /mnt/appserv again&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yang&lt;/PASSWORD&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Mon, 13 Nov 2006 10:39:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013735#M771886</guid>
      <dc:creator>Yang Qin_1</dc:creator>
      <dc:date>2006-11-13T10:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: ksh : permission denied on mounted directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013736#M771887</link>
      <description>Thanks Yang,&lt;BR /&gt;&lt;BR /&gt;This is working ! Can you tell me&lt;BR /&gt;how to automize this, so that when the&lt;BR /&gt;server restarts the mounts are automatically ok. Or do you always have to do this manually ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Brecht</description>
      <pubDate>Tue, 14 Nov 2006 02:10:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013736#M771887</guid>
      <dc:creator>Brecht De Baets</dc:creator>
      <dc:date>2006-11-14T02:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: ksh : permission denied on mounted directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013737#M771888</link>
      <description>Hi, Brecht, if the share is always used by "oracle" you can add the cifslogin command in /sbin/init.d like this:&lt;BR /&gt;&lt;BR /&gt;su - oracle -c "cifslogin -s winoracle &lt;USERNAME winoracle=""&gt; -P &lt;PASSWORD&gt;" &lt;BR /&gt;&lt;BR /&gt;You may still need cifslogin you configured in /sbin/init.d for root because the share will be mounted by root.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yang&lt;/PASSWORD&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Tue, 14 Nov 2006 02:24:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013737#M771888</guid>
      <dc:creator>Yang Qin_1</dc:creator>
      <dc:date>2006-11-14T02:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: ksh : permission denied on mounted directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013738#M771889</link>
      <description>So my problem appears to be solved !!&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Brecht</description>
      <pubDate>Tue, 14 Nov 2006 02:29:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013738#M771889</guid>
      <dc:creator>Brecht De Baets</dc:creator>
      <dc:date>2006-11-14T02:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: ksh : permission denied on mounted directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013739#M771890</link>
      <description>Problem solved by Yang.&lt;BR /&gt;&lt;BR /&gt;Thanks !</description>
      <pubDate>Tue, 14 Nov 2006 05:24:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-permission-denied-on-mounted-directory/m-p/5013739#M771890</guid>
      <dc:creator>Brecht De Baets</dc:creator>
      <dc:date>2006-11-14T05:24:19Z</dc:date>
    </item>
  </channel>
</rss>

