<?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: Java/VMS - Cannot transparently delete a subdirectory. wityh NETMBX, TMPMBX privileges in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5355707#M36467</link>
    <description>&lt;P&gt;If I've guessed correctly at what you're reporting here with Java, have you tried selecting the DECC$FILE_PERMISSION_UNIX or JAVA$CREATE_DIR_WITH_OWNER_DELETE logical names to modify this behavior?﻿ &amp;nbsp;Also review the current settings of the JAVA$DELETE_ALL_VERSIONS and&amp;nbsp;JAVA$RENAME_ALL_VERSIONS logical names while you're looking at this area. &amp;nbsp;Check the HP/Compaq OpenVMS Java docs for related details.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Oct 2011 12:02:49 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2011-10-07T12:02:49Z</dc:date>
    <item>
      <title>Java/VMS - Cannot transparently delete a subdirectory. wityh NETMBX, TMPMBX privileges</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5355635#M36466</link>
      <description>&lt;P&gt;Dear Java/VMS user,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought best to document this pure Java/VMS aspect at &lt;A target="_blank" href="http://vouters.dyndns.org/tima/OpenVMS-Java-Directories_deletion_w_o_the_BYPASS_granted_privilege.html"&gt;http://vouters.dyndns.org/tima/OpenVMS-Java-Directories_deletion_w_o_the_BYPASS_granted_privilege.html&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This peticular aspect impacts every Java based code running on OpenVMS. This includes Apache/Ant, Apache/Maven, JRuby among a few. Every Opensource code underneath executing for the same purpose the DECC$RMDIR function is not impacted by this problem. This is highlighted in this technical paper.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because this problem impacts all Java based Opensource code I thought best to change the title of this document to:&lt;/P&gt;&lt;P&gt;[OpenVMS, Java] Java based Opensource codes may reveal unportable onto OpenVMS ﻿&lt;/P&gt;&lt;P&gt;which better reflects the reality to my mind.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This issue is 100% a pure Java for OpenVMS issue and does not impact&amp;nbsp; other Oracle's based Java .implementations running on other operating systems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may find this technical article overdocumented. I have been desperatly trying to find a possible solution to the problem. The evidence is that there is currently none unless granting the BYPASS privilege (may not be desired) or manually changing the protections with $ SET FILE/PROTECTION=(O:RWED) subdir.DIR (which is very cumbersome). The other possible solution I would think of would be to VMS INSTALL the Java image granting it the BYPASS privilege.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards to everyone,&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2011 10:49:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5355635#M36466</guid>
      <dc:creator>Ph Vouters</dc:creator>
      <dc:date>2011-10-07T10:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Java/VMS - Cannot transparently delete a subdirectory. wityh NETMBX, TMPMBX privileges</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5355707#M36467</link>
      <description>&lt;P&gt;If I've guessed correctly at what you're reporting here with Java, have you tried selecting the DECC$FILE_PERMISSION_UNIX or JAVA$CREATE_DIR_WITH_OWNER_DELETE logical names to modify this behavior?﻿ &amp;nbsp;Also review the current settings of the JAVA$DELETE_ALL_VERSIONS and&amp;nbsp;JAVA$RENAME_ALL_VERSIONS logical names while you're looking at this area. &amp;nbsp;Check the HP/Compaq OpenVMS Java docs for related details.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2011 12:02:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5355707#M36467</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-10-07T12:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Java/VMS - Cannot transparently delete a subdirectory. wityh NETMBX, TMPMBX privileges</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5356227#M36468</link>
      <description>&lt;P&gt;$ dire maven.dir&lt;BR /&gt;%DIRECT-W-NOFILES, no files found&lt;BR /&gt;$ sho proc/priv&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;7-OCT-2011 23:00:24.54&amp;nbsp;&amp;nbsp; User: PHV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Process ID:&amp;nbsp;&amp;nbsp; 202C2A33&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Node: THESEE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Process name: "PHV"&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Authorized privileges:&lt;BR /&gt;&amp;nbsp;ACNT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ALLSPOOL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ALTPRI&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BUGCHK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BYPASS&lt;BR /&gt;&amp;nbsp;CMEXEC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CMKRNL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DIAGNOSE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DOWNGRADE&amp;nbsp;&amp;nbsp;&amp;nbsp; EXQUOTA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GROUP&lt;BR /&gt;&amp;nbsp;GRPNAM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GRPPRV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IMPERSONATE&amp;nbsp; IMPORT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOG_IO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MOUNT&lt;BR /&gt;&amp;nbsp;NETMBX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OPER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PFNMAP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PHY_IO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PRMCEB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PRMGBL&lt;BR /&gt;&amp;nbsp;PRMMBX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PSWAPM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READALL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SECURITY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SETPRV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SHARE&lt;BR /&gt;&amp;nbsp;SHMEM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SYSGBL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SYSLCK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SYSNAM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SYSPRV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TMPMBX&lt;BR /&gt;&amp;nbsp;UPGRADE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VOLPRO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WORLD&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Process privileges:&lt;BR /&gt;&amp;nbsp;NETMBX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; may create network device&lt;BR /&gt;&amp;nbsp;TMPMBX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; may create temporary mailbox&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Process rights:&lt;BR /&gt;&amp;nbsp;PHV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; resource&lt;BR /&gt;&amp;nbsp;INTERACTIVE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;LOCAL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;PHV_GROUP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;APACHE$APR_ALL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;APACHE$READ&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;APACHE$EXECUTE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;System rights:&lt;BR /&gt;&amp;nbsp;SYS$NODE_THESEE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;$ define JAVA$CREATE_DIR_WITH_OWNER_DELETE true&lt;BR /&gt;$ java "MkdirRmdir" maven&lt;BR /&gt;Fatal - Directory still exists&lt;BR /&gt;Warning - Calling deleteOnExit()&lt;BR /&gt;$ dire maven.dir&lt;BR /&gt;%DIRECT-W-NOFILES, no files found&lt;BR /&gt;﻿&lt;/P&gt;&lt;P&gt;Post-Scriptum: I&amp;nbsp; do not much appreciate this inflation of JAVA$* and DECC$* logicals. This does look to me as poorly designed software leading the end-user to many questions, trials and complete loss of time and efforts. This only proves very end-user unfriendly and does not deserve much of my consideration.&lt;/P&gt;&lt;P&gt;Anyhow, thanks to Hoff to bring in this solution,.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2011 21:15:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5356227#M36468</guid>
      <dc:creator>Ph Vouters</dc:creator>
      <dc:date>2011-10-07T21:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Java/VMS - Cannot transparently delete a subdirectory. wityh NETMBX, TMPMBX privileges</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5356411#M36469</link>
      <description>&lt;P&gt;Exclusively thanks to Hoff's input, the corresponding article in my knowledge database has been completely rewritten, simplified and split into two documents each one dealing with one subject although both having to be applied the exact same logical settings so that the code works under minimal privilege conditions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may read the result of these changes, redeading :&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://vouters.dyndns.org/tima/OpenVMS-Java-Directories_deletion_w_o_the_BYPASS_granted_privilege.html"&gt;http://vouters.dyndns.org/tima/OpenVMS-Java-Directories_deletion_w_o_the_BYPASS_granted_privilege.html&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://vouters.dyndns.org/tima/OpenVMS-Java-Using_the_Java_Security_Manager.html"&gt;http://vouters.dyndns.org/tima/OpenVMS-Java-Using_the_Java_Security_Manager.html&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a fallout of Hoff's input, I modified this Maven related article at &lt;A target="_blank" href="http://vouters.dyndns.org/tima/OpenVMS-Java-Maven-Ant-Invoking_Ant_from_within_Maven-Solution_when_running_custom_Ant_version.html"&gt;http://vouters.dyndns.org/tima/OpenVMS-Java-Maven-Ant-Invoking_Ant_from_within_Maven-Solution_when_running_custom_Ant_version.html&lt;/A&gt;﻿ in its OpenVMS specific note subparagraph (in the the NOTE ATTENTION THE READER paragraph).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also as a fallout of Hoff's input, this implies the two persons who ported JRuby onto OpenVMS (this includes myself) must add this logical with this setting within each provided JRuby's DCL command files as well as within the GNV bash provided Unix shell script so that JRuby works as Ruby advertises it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As well and as a fallout of Hoff's input, the HP supplied ANT.COM available on HP's Web site has to also include this logical with this setting for correct Ant operations at the DCL prompt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Several Kudos to Hoff.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I may write some code in a near future in order to extract each JAVA$ logical name from the Java's user_guide.html. With the knowledge of each possible Java$ logical name, this will better orient me toward a possible solution as I will know what I am looking after within this Java User Guide or any other Web available documents. Such a summary already exists for DECC$ logicals (refer to the sample C program at &lt;A target="_blank" href="http://vouters.dyndns.org/tima/OpenVMS-DECC-Getting_the_logicals_DECC_list.html"&gt;http://vouters.dyndns.org/tima/OpenVMS-DECC-Getting_the_logicals_DECC_list.html&lt;/A&gt;﻿).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2011 10:41:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5356411#M36469</guid>
      <dc:creator>Ph Vouters</dc:creator>
      <dc:date>2011-10-08T10:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Java/VMS - Cannot transparently delete a subdirectory. wityh NETMBX, TMPMBX privileges</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5356413#M36470</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;&amp;gt; Post-Scriptum: I &amp;nbsp;do not much appreciate this inflation of JAVA$* and DECC$* logicals. This does look to me as poorly designed software leading the end-user to many questions, trials and complete loss of time and efforts. This only proves very end-user unfriendly and does not deserve much of my consideration.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;I'm sure you are not the only one who is not happy with all the DECC (really&amp;nbsp;CRTL) and Java (really Java VM) feature logicals. But, you are switching&amp;nbsp;between VMS and Unix behaviour. That requires you to turn some knobs or&amp;nbsp;throw some switches. Usually you need the Unix behavior just for one image.&amp;nbsp;The right thing to do is to enable the Unix behavior at image&amp;nbsp;initialization. If this wasn't done by the developers, for whatever reason,&amp;nbsp;the only option is to enable the feature at DCL level before running the&amp;nbsp;image. You do not have control over the image initialization of the Java VM, &amp;nbsp;so you have to stick with enabling features at DCL level.&lt;/DIV&gt;&lt;DIV&gt;And no, the CRTL or Java VM developers can't change the default behavior,&amp;nbsp;it would break older applications. VMS is very good in upward&amp;nbsp;compatibility and that is very much appreciated by many customers.&lt;/DIV&gt;&lt;DIV&gt;If you use a logical, always try to define it in user mode. That should&amp;nbsp;almost always work and should not have any effect on subsequent&amp;nbsp;commands/images.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 08 Oct 2011 10:56:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5356413#M36470</guid>
      <dc:creator>H.Becker</dc:creator>
      <dc:date>2011-10-08T10:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Java/VMS - Cannot transparently delete a subdirectory. wityh NETMBX, TMPMBX privileges</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5356437#M36471</link>
      <description>&lt;P&gt;Dear Hoff,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I named you as the hidden technical contributor of my three above mentionned articles. Provided you wish to receive a copy of the orginal documents in text form for your use and eventually for advertising your company if any as well as promoting your competence, let me know by dropping me a mail at the mail address you will find on my home page at &lt;A target="_blank" href="http://vouters.dyndns.org/"&gt;http://vouters.dyndns.org/&lt;/A&gt; In any cases, I remain responsible for what I publish on my Web site.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are Steve Hoffman I worked with during my DEC, Compaq, HP career and you hold the Hoffman Labs Web site, please do correct your statements regarding my Web site. Every article contained there is my personal contribution to TIMA/Qtip/Saw DEC's, Compaq's, HP's knowledge databases and does in no case includes a copy of other DEC's, Compaq's, HP's employees work although I pastly sometimes when still employed inspired myself for some of them from relevant code extracts&amp;nbsp; to simplify my work producing code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since January 2010,&amp;nbsp; I have no longer any connection with HP and does in very rare occasions gets support from an HP employee. This is although my Web site and the technical articles it contains are often still accessed by HP employees as a reference for either their own use or for supporting HP customers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With my renewed thanks for your post as a reply to mine which will undoubtly help many Java/VMS users as well as VMS system managers .&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2011 13:17:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5356437#M36471</guid>
      <dc:creator>Ph Vouters</dc:creator>
      <dc:date>2011-10-08T13:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Java/VMS - Cannot transparently delete a subdirectory. wityh NETMBX, TMPMBX privileges</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5356451#M36472</link>
      <description>&lt;P&gt;That portion of the discussion beyond Java is &lt;A target="_blank" href="http://labs.hoffmanlabs.com/contact"&gt;best conducted offline&lt;/A&gt;, though updates have been made.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2011 13:58:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5356451#M36472</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-10-08T13:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Java/VMS - Cannot transparently delete a subdirectory. wityh NETMBX, TMPMBX privileges</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5357001#M36473</link>
      <description>&lt;P&gt;Phillipe,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This is not just a Java issue, it's true of deleting directories from anywhere.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Some history might explain some of the logic. Way back in V1.0, the check for an empty directory was not implemented. Since deleting a non-empty directory results in lost files, the quick fix was to always create directories without D access for anyone. The non-empty check was implemented in VMS V2 (or V3?), and at that time, the system COULD have changed the "no D access" default to use the general file protection default, but it didn't happen, no doubt because of intertia.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So unless a directory is created with explicit D access, the protection will need to be changed before it can be deleted, regardless of what language you use (up until fairly recently the D access was even stripped from an explicit CREATE/DIRECTORY/PROTECTION=mask!).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; The other possible solution I would think of would be to VMS INSTALL the Java image granting it the BYPASS privilege.&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;DEFINITELY POSITIVELY NO! NO! NO!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would allow anyone using Java&amp;nbsp;to delete any directory, or, broader, to access anything. It would effectively break all protection across the system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;﻿﻿JAVA$CREATE_DIR_WITH_OWNER_DELETE is a possible candidate for a system wide logical name. Indeed, I'd like to see a system&amp;nbsp;parameter (like RMS_FILEPROT) or a SET&amp;nbsp;SECURITY command which could set the system&amp;nbsp;or process wide default protection for directories to&amp;nbsp;fix this anachronism.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Oct 2011 22:46:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5357001#M36473</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2011-10-09T22:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Java/VMS - Cannot transparently delete a subdirectory. wityh NETMBX, TMPMBX privileges</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5360323#M36474</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;If you did notice it, I demonstrate in my paper I can delete my own created subdirectories that I do create with CREATE/DIR (no other options) with just NETMBX and TMPMBX privileges using an simple rmdir HP CRTL call. The created subdirectory I can delete with an rmdir call has just the (RWE,RWE,RWE,RWE) directory protections.&lt;BR /&gt;&lt;BR /&gt;So this leads to my statement in my conclusion chapter :&lt;BR /&gt;&amp;lt;QUOTE&amp;gt;&lt;BR /&gt;Provided the Java/VMS&lt;BR /&gt;calls the HP VMS/CRTL rmdir function like on any other Oracle's based Java implementations, this JAVA$CREATE_DIR_WITH_OWNER_DELETE logical would have strictly no reason to exist and this aspect would be totally transparent to the Java/VMS end-user.&lt;BR /&gt;&amp;lt;/QUOTE&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Warmest regards to you,&lt;BR /&gt;Philippe</description>
      <pubDate>Wed, 12 Oct 2011 15:35:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5360323#M36474</guid>
      <dc:creator>Ph Vouters</dc:creator>
      <dc:date>2011-10-12T15:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Java/VMS - Cannot transparently delete a subdirectory. wityh NETMBX, TMPMBX privileges</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5360385#M36475</link>
      <description>&lt;P&gt;The behavior of C may well depend on Unix compatibility knobs already set elsewhere in the process or system context, and (if not) I'd tend to expect (and if any changes are ever made as a result of this discussion) code changes in the CRTL for the addition of the DECC$CREATE_DIR_WITH_OWNER_DELETE to cause rmdir to honor VMS protections, unless the logical name is established.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But then, which behavior is correct here is entirely HP's call.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2011 16:41:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-vms-cannot-transparently-delete-a-subdirectory-wityh-netmbx/m-p/5360385#M36475</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-10-12T16:41:41Z</dc:date>
    </item>
  </channel>
</rss>

