<?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: folert Permissions ...can not execute file.. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160785#M691504</link>
    <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;To find the permission problem you need to do:&lt;BR /&gt;&amp;gt;$ id&lt;BR /&gt;&lt;BR /&gt;you have to add to do it as 'newuser' ;-P&lt;BR /&gt;&lt;BR /&gt;V.&lt;BR /&gt;</description>
    <pubDate>Thu, 13 Mar 2008 12:15:48 GMT</pubDate>
    <dc:creator>V. Nyga</dc:creator>
    <dc:date>2008-03-13T12:15:48Z</dc:date>
    <item>
      <title>folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160775#M691494</link>
      <description>Hello I do have directory with some scripts..created as root user..now I would like to have user /I already added user/ to be able to user rwx those scripts and files in that directory..&lt;BR /&gt;&lt;BR /&gt;here is /etc/passwd:&lt;BR /&gt;&lt;BR /&gt;root:x:0:1:Super-User:/:/bin/bash&lt;BR /&gt;newuser:x:60106:1:testtest:/export/home/newuser:/bin/sh&lt;BR /&gt;&lt;BR /&gt;but this newuser can not execute any on scripts in directory but I put as root 777 Permissions to that directory..still not working..&lt;BR /&gt;&lt;BR /&gt;any help...:(</description>
      <pubDate>Thu, 13 Mar 2008 07:37:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160775#M691494</guid>
      <dc:creator>amonamon</dc:creator>
      <dc:date>2008-03-13T07:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160776#M691495</link>
      <description>Hi, &lt;BR /&gt;Please login with newuser and cd to directory that you create script file. If newuser cannot please check directory permission. If it can cd to that directory run ./&amp;lt;script_file&amp;gt;. let me know error mesg if it failed.</description>
      <pubDate>Thu, 13 Mar 2008 08:03:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160776#M691495</guid>
      <dc:creator>Chengchai Theerakalkul</dc:creator>
      <dc:date>2008-03-13T08:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160777#M691496</link>
      <description>HI,&lt;BR /&gt;&lt;BR /&gt;you also need at least 555 permissions to the scripts inside the directory.&lt;BR /&gt;Also are there other scripts inside the scripts?&lt;BR /&gt;&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Mar 2008 08:10:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160777#M691496</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2008-03-13T08:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160778#M691497</link>
      <description>script (test.tmp) is simple:&lt;BR /&gt;&lt;BR /&gt;echo testtest&amp;gt; /export/home/newuser/User.cron&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;cd works perfect..but if I want to execute it I get:&lt;BR /&gt;&lt;BR /&gt;./test.tmp: /export/home/newuser/User.cron: Permission denied&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I guess it can not write file into directory..</description>
      <pubDate>Thu, 13 Mar 2008 08:11:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160778#M691497</guid>
      <dc:creator>amonamon</dc:creator>
      <dc:date>2008-03-13T08:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160779#M691498</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;script (test.tmp) is simple:&lt;BR /&gt;&amp;gt;echo testtest&amp;gt; /export/home/newuser/User.cron&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;./test.tmp: /export/home/newuser/User.cron: &amp;gt;Permission denied&lt;BR /&gt;&lt;BR /&gt;So check the permissions of /export/home/newuser/User.cron&lt;BR /&gt;&lt;BR /&gt;V.&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Mar 2008 08:38:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160779#M691498</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2008-03-13T08:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160780#M691499</link>
      <description>"So check the permissions of /export/home/newuser/User.cron"&lt;BR /&gt;&lt;BR /&gt;User.cron is a file that can not be created by that script into certani directory..&lt;BR /&gt;I do not know why..&lt;BR /&gt;Or more clear what should I do with root created directory in order to be able to write into it certain user created files..&lt;BR /&gt;and how?&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 13 Mar 2008 09:51:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160780#M691499</guid>
      <dc:creator>amonamon</dc:creator>
      <dc:date>2008-03-13T09:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160781#M691500</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;you have to open permissions for these directories - the better solution would be to open permissions for a certain group and to assign the needed users to this group.&lt;BR /&gt;So you don't have to open permissions for the 'world'.&lt;BR /&gt;Can you create a file in this directory by 'touch'?&lt;BR /&gt;&lt;BR /&gt;V.&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Mar 2008 10:30:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160781#M691500</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2008-03-13T10:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160782#M691501</link>
      <description>$ touch tempFILE&lt;BR /&gt;touch: tempFILE cannot create&lt;BR /&gt;$ &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;right...can not create file in directory..:(&lt;BR /&gt;&lt;BR /&gt;how to enable this?</description>
      <pubDate>Thu, 13 Mar 2008 11:04:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160782#M691501</guid>
      <dc:creator>amonamon</dc:creator>
      <dc:date>2008-03-13T11:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160783#M691502</link>
      <description>What does 'll /export/home' and 'll /export/home/newuser' says?&lt;BR /&gt;Which group does newuser is in?&lt;BR /&gt;&lt;BR /&gt;V.&lt;BR /&gt;*BTW. - you should work on your points assignment rate:&lt;BR /&gt;You have assigned points to   91  of   240  responses&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/pageList.do?userId=CA1394601&amp;amp;listType=unassigned&amp;amp;forumId=1" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/pageList.do?userId=CA1394601&amp;amp;listType=unassigned&amp;amp;forumId=1&lt;/A&gt; *</description>
      <pubDate>Thu, 13 Mar 2008 11:51:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160783#M691502</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2008-03-13T11:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160784#M691503</link>
      <description>root:x:0:1:Super-User:/:/bin/bash&lt;BR /&gt;&lt;BR /&gt;The first thing you should immediately do is change this back to the proper shell:&lt;BR /&gt;root:x:0:1:Super-User:/:/sbin/sh&lt;BR /&gt;&lt;BR /&gt;Root can't have any other shell but this one.  If you insist, you can execute your favorite shell once you login.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;./test.tmp: /export/home/newuser/User.cron: Permission denied&lt;BR /&gt;&lt;BR /&gt;To find the permission problem you need to do:&lt;BR /&gt;$ id&lt;BR /&gt;$ ll /export/home/newuser/User.cron&lt;BR /&gt;$ ll -d /export/home/newuser /export/home /export</description>
      <pubDate>Thu, 13 Mar 2008 12:04:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160784#M691503</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-03-13T12:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160785#M691504</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;To find the permission problem you need to do:&lt;BR /&gt;&amp;gt;$ id&lt;BR /&gt;&lt;BR /&gt;you have to add to do it as 'newuser' ;-P&lt;BR /&gt;&lt;BR /&gt;V.&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Mar 2008 12:15:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160785#M691504</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2008-03-13T12:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160786#M691505</link>
      <description>I understood nothing...&lt;BR /&gt;why is it problem if my root has any other shell..that has to do nothing with my problem..&lt;BR /&gt;as I mentioned /etc/passwd:&lt;BR /&gt;&lt;BR /&gt;root:x:0:1:Super-User:/:/bin/bash&lt;BR /&gt;newuser:x:60106:1:testtest:/export/home/newuser:/bin/sh&lt;BR /&gt;&lt;BR /&gt;new user has no right to write in any directory?? why and how to enable newuser to be able to for example to: touch newFILE&lt;BR /&gt;&lt;BR /&gt;that is topic..&lt;BR /&gt;THANKS fot time</description>
      <pubDate>Thu, 13 Mar 2008 12:34:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160786#M691505</guid>
      <dc:creator>amonamon</dc:creator>
      <dc:date>2008-03-13T12:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160787#M691506</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;so show us&lt;BR /&gt;ll of /export/home/newuser /export/home /export&lt;BR /&gt;&lt;BR /&gt;The hint about the root shell was only a good tipp from Dennis when you have a normal designed file system where root could have problems to find /bin if you are in single user mode.&lt;BR /&gt;And so maybe will have problems to login ...&lt;BR /&gt;&lt;BR /&gt;V.&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Mar 2008 12:41:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160787#M691506</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2008-03-13T12:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160788#M691507</link>
      <description>I am sorry I do not get it what is that I should provide??&lt;BR /&gt;&lt;BR /&gt;ll ??of /export/home/newuser /export/home /export</description>
      <pubDate>Thu, 13 Mar 2008 12:50:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160788#M691507</guid>
      <dc:creator>amonamon</dc:creator>
      <dc:date>2008-03-13T12:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160789#M691508</link>
      <description>and if I hit&lt;BR /&gt;&lt;BR /&gt;$id&lt;BR /&gt;&lt;BR /&gt;I get this:&lt;BR /&gt;&lt;BR /&gt;$ id&lt;BR /&gt;uid=60106(newuser) gid=1(other)</description>
      <pubDate>Thu, 13 Mar 2008 12:56:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160789#M691508</guid>
      <dc:creator>amonamon</dc:creator>
      <dc:date>2008-03-13T12:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160790#M691509</link>
      <description>hi again,&lt;BR /&gt;&lt;BR /&gt;'ls -l' equal ll (small LL)&lt;BR /&gt;&lt;BR /&gt;V.</description>
      <pubDate>Thu, 13 Mar 2008 14:50:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160790#M691509</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2008-03-13T14:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160791#M691510</link>
      <description>&amp;gt;why is it problem if my root has any other shell. that has to do nothing with my problem.&lt;BR /&gt;&lt;BR /&gt;If you have to go into single user mode or maybe reboot, you'll be hosed.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;new user has no right to write in any directory?? why and how to enable newuser ...&lt;BR /&gt;&lt;BR /&gt;If you set it up that way.  Of course it can write to /tmp and /var/tmp.&lt;BR /&gt;&lt;BR /&gt;To be able to write to the user's home directory, it has to be owned by the user and have the proper permissions.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I do not get it what is that I should provide??  ll ?? of &lt;BR /&gt;&lt;BR /&gt;Those 3 shell commands I mentioned, executed by newuser.  "ll -d" of those paths.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;uid=60106(newuser) gid=1(other)&lt;BR /&gt;&lt;BR /&gt;(It is probably a good idea to assign another group name, other than "other".)&lt;BR /&gt;&lt;BR /&gt;Anyway, we need to see those ll(1) commands so we can check the directory/file permissions with the UID of 60106.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;V: you have to add to do it as 'newuser'&lt;BR /&gt;&lt;BR /&gt;(It would be obvious if done incorrectly.  :-)&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Mar 2008 02:29:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160791#M691510</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-03-14T02:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160792#M691511</link>
      <description>&amp;gt;Dennis: (It would be obvious if done incorrectly. :-)&lt;BR /&gt;&lt;BR /&gt;Yep but then you'd have to ask again ;-)&lt;BR /&gt;&lt;BR /&gt;amonamon - not a bad tipp from Dennis: change your script to see if you can create a file in /tmp&lt;BR /&gt;&lt;BR /&gt;A strange case - this should be solved in a very short time ... do you know, that you need also read/execute permissions for a directory to go through (yes - I know that's a silly question ...)&lt;BR /&gt;&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Mar 2008 07:06:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160792#M691511</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2008-03-14T07:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160793#M691512</link>
      <description>I do not have newuser directory creaeed..:(&lt;BR /&gt;&lt;BR /&gt;$ ls -ld /export&lt;BR /&gt;drwxr-xr-x   3 root     sys         1024 Mar 12 09:01 /export&lt;BR /&gt;$ &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ ls -ld /export/home&lt;BR /&gt;drwxr-xr-x  27 root     root        2048 Mar  7 14:59 /export/home&lt;BR /&gt;$</description>
      <pubDate>Fri, 14 Mar 2008 07:57:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160793#M691512</guid>
      <dc:creator>amonamon</dc:creator>
      <dc:date>2008-03-14T07:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: folert Permissions ...can not execute file..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160794#M691513</link>
      <description>Ahhhhhh!&lt;BR /&gt;You can't create a directory with the command echo!&lt;BR /&gt;You only can create a file if it doesn't exist.&lt;BR /&gt;The directory MUST exist!&lt;BR /&gt;Do a mkdir before (either in the script or by root!&lt;BR /&gt;If newuser shall create the directory he need write permissions, so /export/home has to have 777 permissions or better change group of this dir to 'other' and use 775 permissions.&lt;BR /&gt;&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Mar 2008 08:07:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/folert-permissions-can-not-execute-file/m-p/4160794#M691513</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2008-03-14T08:07:25Z</dc:date>
    </item>
  </channel>
</rss>

