<?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: permission setting in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/permission-setting/m-p/4050369#M85706</link>
    <description>Shashi,&lt;BR /&gt;&lt;BR /&gt;I concur with Jan:&lt;BR /&gt;&lt;BR /&gt;$ CREATE/DIRECTORY/OWN=[XXX] [YYY]&lt;BR /&gt;&lt;BR /&gt;for already created directories:&lt;BR /&gt;&lt;BR /&gt;$ SET FILE/OWNER=[xxx] YYY.DIR&lt;BR /&gt;&lt;BR /&gt;Please review the HELP text for details.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
    <pubDate>Mon, 06 Aug 2007 12:51:35 GMT</pubDate>
    <dc:creator>Robert Gezelter</dc:creator>
    <dc:date>2007-08-06T12:51:35Z</dc:date>
    <item>
      <title>permission setting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/permission-setting/m-p/4050367#M85704</link>
      <description>I have mounted a fiber channel LUN as a system user &lt;BR /&gt;&lt;BR /&gt;as a system user&lt;BR /&gt;&lt;BR /&gt;$init/structure=5 $1$dga201 oracle&lt;BR /&gt;$mount/system $1$dga201 oracle&lt;BR /&gt;&lt;BR /&gt;I have issued the mount command on all the nodes which are part of cluster.&lt;BR /&gt;&lt;BR /&gt;I have a user with name "oracle"&lt;BR /&gt;&lt;BR /&gt;if i login as a "oracle" user, and if i create a directory as a "oracle" user, then the owner permission on that directory by default is setting as a "system" , not "oracle". I want as a "oracle".&lt;BR /&gt;&lt;BR /&gt;create/direc $1$dga201:[temp]&lt;BR /&gt;&lt;BR /&gt;dir/sec temp;1&lt;BR /&gt;TEMP.DIR;1           [SYSTEM]                         (RWE,RWE,RE,E)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i want , it should show as "oracle"&lt;BR /&gt;&lt;BR /&gt;please anyone tell me how to do this ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Aug 2007 10:57:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/permission-setting/m-p/4050367#M85704</guid>
      <dc:creator>shashi kanth</dc:creator>
      <dc:date>2007-08-06T10:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: permission setting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/permission-setting/m-p/4050368#M85705</link>
      <description>Shashi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;With anuy VMS wuestion, it is always useful to try &lt;BR /&gt;$ HELP &lt;COMMAND&gt;&lt;BR /&gt;&lt;BR /&gt;I you had done&lt;BR /&gt;&lt;BR /&gt;HELP VREATE/DIR&lt;BR /&gt;&lt;BR /&gt;then you would havo found it yourself, and saved some time:&lt;BR /&gt;&lt;BR /&gt;$ CREATE/DIR /OWN=ORACLE&lt;BR /&gt;&lt;BR /&gt;Noe. the dir is there already, do a &lt;BR /&gt;&lt;BR /&gt;$ SET FILE/OWN=ORACLE&lt;BR /&gt;&lt;BR /&gt;Enjoy VMS!!&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;/COMMAND&gt;</description>
      <pubDate>Mon, 06 Aug 2007 11:28:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/permission-setting/m-p/4050368#M85705</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2007-08-06T11:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: permission setting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/permission-setting/m-p/4050369#M85706</link>
      <description>Shashi,&lt;BR /&gt;&lt;BR /&gt;I concur with Jan:&lt;BR /&gt;&lt;BR /&gt;$ CREATE/DIRECTORY/OWN=[XXX] [YYY]&lt;BR /&gt;&lt;BR /&gt;for already created directories:&lt;BR /&gt;&lt;BR /&gt;$ SET FILE/OWNER=[xxx] YYY.DIR&lt;BR /&gt;&lt;BR /&gt;Please review the HELP text for details.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Mon, 06 Aug 2007 12:51:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/permission-setting/m-p/4050369#M85706</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2007-08-06T12:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: permission setting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/permission-setting/m-p/4050370#M85707</link>
      <description>shashi,&lt;BR /&gt;&lt;BR /&gt;  Lookup the "Flowchart of File Creation" in the "Guide to OpenVMS System Security" to understand how ownership and security of files are decided. It's quite complex.&lt;BR /&gt;&lt;BR /&gt;  The "problem" here is your oracle user has privilege. When a file is created, without explicitly specifying the ownership, there are only 2 possibilities - 1) the creator, and 2) the owner of the enclosing directory. The latter will only happen if the process has sufficient privilege (SYSPRV, GRPPRV or ownership privileges via an ACL, resource or subsystem identifier). &lt;BR /&gt;&lt;BR /&gt;  In your case, the top level directory is owned by SYSTEM. Your user has SYSPRV privilege, so therefore the default ownership is the owner of the directory, thus SYSTEM. &lt;BR /&gt;&lt;BR /&gt;  As Jan and Robert have suggested, specifying an explicit CREATE/OWNER=ORACLE will work (or SET FILE/OWNER to change the ownership of an existing file). Another possibility is to remove SYSPRV (but that assumes the account has write access other than via SYSPRV). &lt;BR /&gt;&lt;BR /&gt;  "Normal" practice is for volumes to be owned by SYSTEM and to deny non-privileged access to the [000000] directory. Top level directories are created by SYSTEM, specifying the ownership and access as required. Typically non-privileged users only have "E" access to 000000.DIR, and are therefore only able to lookup files whos names are known (no wildcard lookups allowed).&lt;BR /&gt;&lt;BR /&gt;  On the other hand, if this disk is purely for the use of your Oracle user, it may make sense to set the ownership of the volume:&lt;BR /&gt;&lt;BR /&gt;$ INIT/STRUCTURE=5/OWNER=ORACLE $1$DGA201 ORACLE&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;$ SET VOLUME/OWNER=ORACLE $1$DGA201 &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Aug 2007 18:45:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/permission-setting/m-p/4050370#M85707</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2007-08-06T18:45:33Z</dc:date>
    </item>
  </channel>
</rss>

