<?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: COPY/RECORDABLE_MEDIA in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/copy-recordable-media/m-p/4337155#M92975</link>
    <description>Re: DIAGNOSE and PHY_IO:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/73final/6136/6136pro_027.html#index_x_1011" target="_blank"&gt;http://h71000.www7.hp.com/doc/73final/6136/6136pro_027.html#index_x_1011&lt;/A&gt;</description>
    <pubDate>Wed, 14 Jan 2009 02:10:35 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2009-01-14T02:10:35Z</dc:date>
    <item>
      <title>COPY/RECORDABLE_MEDIA</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-recordable-media/m-p/4337151#M92971</link>
      <description>The COPY/RECORDABLE_MEDIA doco seems a bit limited. I looked in the DCL Dictionary and it doesn't seem to be there at all! Anyone got a link to some doco?&lt;BR /&gt;&lt;BR /&gt;It also seems to produce errors that aren't recognized by HELP/MESS&lt;BR /&gt;&lt;BR /&gt;A specific question ... what are the minimum privs required?&lt;BR /&gt;&lt;BR /&gt;If there are privs required, what is the best way to avoid the need for those privs?&lt;BR /&gt;&lt;BR /&gt;(I would like selected unpriv'd or minimally priv'd users to be able to burn CDs rather than requiring system-busting privs.)&lt;BR /&gt;&lt;BR /&gt;Installing an image that doesn't expect to be installed is generally a bad idea. On my system the image is already installed with DIAG PHY and SYSLCK. Is that normal?&lt;BR /&gt;&lt;BR /&gt;Based on that, maybe all that an unpriv'd user would need would be access to the device e.g. via an ACL. Or maybe not even that. What access? Are there any risks or downsides with granting that access?&lt;BR /&gt;&lt;BR /&gt;$ HELP COPY/RECORD Restriction&lt;BR /&gt;&lt;BR /&gt;is present but blank, as if it's trying to tell me something.&lt;BR /&gt;&lt;BR /&gt;Itanium; V8.3-1H1</description>
      <pubDate>Tue, 13 Jan 2009 23:53:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-recordable-media/m-p/4337151#M92971</guid>
      <dc:creator>Derek Garson</dc:creator>
      <dc:date>2009-01-13T23:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: COPY/RECORDABLE_MEDIA</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-recordable-media/m-p/4337152#M92972</link>
      <description>I use Crdtools/Cdrecord for this stuff, so I&lt;BR /&gt;know little (at most) about COPY&lt;BR /&gt;/RECORDABLE_MEDIA, but I normally install&lt;BR /&gt;cdrecord.exe with ALTPRI, DIAGNOSE, and&lt;BR /&gt;PHY_IO.  ALTPRI because it tries to boost its&lt;BR /&gt;process priority, in the hope of avoiding an&lt;BR /&gt;empty buffer old drives which can't cope with&lt;BR /&gt;that situation. DIAGNOSE is needed for some&lt;BR /&gt;of the more exotic SCSI operations.  I don't&lt;BR /&gt;remember the justification for  PHY_IO, but I&lt;BR /&gt;suspect that there is one.  Might be in the&lt;BR /&gt;same boat as DIAGNOSE.  Permission to access&lt;BR /&gt;the drive device is helpful, of course.  I'm&lt;BR /&gt;a one-user operation, so I just put W:RWPL on&lt;BR /&gt;my "YAMAHA CRW2100S".  (Probably similar on&lt;BR /&gt;the other system with the DVD drive.)  Unless&lt;BR /&gt;someone has SHARE, allocating the device&lt;BR /&gt;should be good enough to avoid clashes.&lt;BR /&gt;&lt;BR /&gt;I can imagine that COPY /RECO doesn't bother&lt;BR /&gt;with nice(), and it might do some more exotic&lt;BR /&gt;locking, about which I know nothing.&lt;BR /&gt;&lt;BR /&gt;I once looked at the COPY /RECO documentation&lt;BR /&gt;(or lack thereof), and decided to stick with&lt;BR /&gt;Cdrtools.</description>
      <pubDate>Wed, 14 Jan 2009 01:06:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-recordable-media/m-p/4337152#M92972</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-01-14T01:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: COPY/RECORDABLE_MEDIA</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-recordable-media/m-p/4337153#M92973</link>
      <description>The tool does need access to the input and the output, and the tool is (or was) specifically coded and built to operate correctly when installed with added privileges. &lt;BR /&gt;&lt;BR /&gt;During normal OpenVMS operations, the tool is installed with PHY_IO, DIAGNOSE, and SYSLCK privileges via the AUTOGEN stuff and SYS$MANAGER:VMSIMAGES.DAT, etc.&lt;BR /&gt;&lt;BR /&gt;Adding privileges to the installation would not be my first choice; I'd probably look to use a subsystem identifier here.&lt;BR /&gt;&lt;BR /&gt;Here is some related documentation that I've written up:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://64.223.189.234/node/28" target="_blank"&gt;http://64.223.189.234/node/28&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As with most other projects, there is some backstory here, too.  But that's fodder for other discussions elsewhere.</description>
      <pubDate>Wed, 14 Jan 2009 01:31:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-recordable-media/m-p/4337153#M92973</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-01-14T01:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: COPY/RECORDABLE_MEDIA</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-recordable-media/m-p/4337154#M92974</link>
      <description>From Hoff's post (indirectly), the documentation hides in&lt;BR /&gt;&lt;BR /&gt;HP OpenVMS System Management Utilities Reference Manual: Aâ  L (Chapter 9)&lt;BR /&gt;&lt;BR /&gt;Unfortunately it doesn't contain much more than is in the $ HELP</description>
      <pubDate>Wed, 14 Jan 2009 01:57:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-recordable-media/m-p/4337154#M92974</guid>
      <dc:creator>Derek Garson</dc:creator>
      <dc:date>2009-01-14T01:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: COPY/RECORDABLE_MEDIA</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-recordable-media/m-p/4337155#M92975</link>
      <description>Re: DIAGNOSE and PHY_IO:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/73final/6136/6136pro_027.html#index_x_1011" target="_blank"&gt;http://h71000.www7.hp.com/doc/73final/6136/6136pro_027.html#index_x_1011&lt;/A&gt;</description>
      <pubDate>Wed, 14 Jan 2009 02:10:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-recordable-media/m-p/4337155#M92975</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-01-14T02:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: COPY/RECORDABLE_MEDIA</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-recordable-media/m-p/4337156#M92976</link>
      <description>I've found this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.digitalsynergyinc.com/openvms_dvd_burning.html" target="_blank"&gt;http://www.digitalsynergyinc.com/openvms_dvd_burning.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Eberhard</description>
      <pubDate>Wed, 14 Jan 2009 09:12:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-recordable-media/m-p/4337156#M92976</guid>
      <dc:creator>Heuser-Hofmann</dc:creator>
      <dc:date>2009-01-14T09:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: COPY/RECORDABLE_MEDIA</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-recordable-media/m-p/4337157#M92977</link>
      <description>Partly and tentatively answering my own question ... it seems well and truly broken.&lt;BR /&gt;&lt;BR /&gt;The user needs PHY_IO and DIAG even though the image is installed with those privs.&lt;BR /&gt;&lt;BR /&gt;(Granting P access either via the device protection mask or an ACL didn't seem to make any difference. Granting RWPL via an ACL didn't seem to make any difference. Nothing elicited a good error message either.)&lt;BR /&gt;&lt;BR /&gt;So it doesn't seem as if I can easily achieve what I wanted to achieve.&lt;BR /&gt;&lt;BR /&gt;The user doesn't seem to need any actual access to the device. That is, the device is owned by SYSTEM and does not grant any access to W and the non-system-UIC user doesn't have any relevant access privs but with PHY_IO and DIAG the user seems to be able to burn.&lt;BR /&gt;&lt;BR /&gt;If anyone from HP reads this post, COPY/RECORD is in serious need of some work, for everything in this thread and other "funnies" besides.&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jan 2009 23:22:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-recordable-media/m-p/4337157#M92977</guid>
      <dc:creator>Derek Garson</dc:creator>
      <dc:date>2009-01-21T23:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: COPY/RECORDABLE_MEDIA</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-recordable-media/m-p/4337158#M92978</link>
      <description>&lt;!--!*#--&gt;&amp;gt; The user needs PHY_IO and DIAG even though&lt;BR /&gt;&amp;gt; the image is installed with those privs.&lt;BR /&gt;&lt;BR /&gt;Perhaps they stole too much old cdrecord&lt;BR /&gt;code.  It (well, my stuff) works right,&lt;BR /&gt;these days:&lt;BR /&gt;&lt;BR /&gt;alp $ show symbol cdr*&lt;BR /&gt;  CDRECORD == "$ UTILITY:CDRECORD.EXE"&lt;BR /&gt;  CDRX == "$ UTILITY:CDRECORD.EXE;0"&lt;BR /&gt;&lt;BR /&gt;alp $ cdrx QREADCD.TXT dev=cdr&lt;BR /&gt;cdrecord: No write mode specified.&lt;BR /&gt;cdrecord: Asuming -sao mode.&lt;BR /&gt;cdrecord: If your drive does not accept -sao, try -tao.&lt;BR /&gt;cdrecord: Future versions of cdrecord may have different drive dependent default&lt;BR /&gt;s.&lt;BR /&gt;Cdrecord-ProDVD-ProBD-Clone 2.01.01a55 (Alpha-HP-VMS/OpenVMS) Copyright (C) 1995&lt;BR /&gt;-2008 JÃ¶rg Schilling&lt;BR /&gt;cdrecord: Fifo not supported.&lt;BR /&gt;scsidev: 'cdr'&lt;BR /&gt;devname: 'cdr'&lt;BR /&gt;scsibus: -2 target: -2 lun: -2&lt;BR /&gt;cdrecord: not all requested privileges authorized. (DIAGNOSE and PHY_IO). Cannot&lt;BR /&gt; open or use SCSI driver.&lt;BR /&gt;cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.&lt;BR /&gt;cdrecord: For possible transport specifiers try 'cdrecord dev=help'.&lt;BR /&gt;&lt;BR /&gt;Now, the same program, but installed:&lt;BR /&gt;&lt;BR /&gt;alp $ cdrecord QREADCD.TXT dev=cdr&lt;BR /&gt;cdrecord: No write mode specified.&lt;BR /&gt;cdrecord: Asuming -sao mode.&lt;BR /&gt;cdrecord: If your drive does not accept -sao, try -tao.&lt;BR /&gt;cdrecord: Future versions of cdrecord may have different drive dependent default&lt;BR /&gt;s.&lt;BR /&gt;Cdrecord-ProDVD-ProBD-Clone 2.01.01a55 (Alpha-HP-VMS/OpenVMS) Copyright (C) 1995&lt;BR /&gt;-2008 JÃ¶rg Schilling&lt;BR /&gt;cdrecord: Fifo not supported.&lt;BR /&gt;scsidev: 'cdr'&lt;BR /&gt;devname: 'cdr'&lt;BR /&gt;scsibus: -2 target: -2 lun: -2&lt;BR /&gt;Physical device name: _ALP$DKB500:&lt;BR /&gt;Using libscg version 'schily-0.9'.&lt;BR /&gt;cdrecord: Warning: using unofficial libscg transport code version (SMS-scsi-vms.&lt;BR /&gt;c-1.34+SMS '@(#)scsi-vms.c      1.34 06/11/26 Copyright 1997 J. Schilling').&lt;BR /&gt;Device type    : Removable CD-ROM&lt;BR /&gt;Version        : 2&lt;BR /&gt;Response Format: 2&lt;BR /&gt;Capabilities   : SYNC&lt;BR /&gt;Vendor_info    : 'YAMAHA  '&lt;BR /&gt;Identifikation : 'CRW2100S        '&lt;BR /&gt;Revision       : '1.0K'&lt;BR /&gt;Device seems to be: Generic mmc CD-RW.&lt;BR /&gt;Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).&lt;BR /&gt;Driver flags   : MMC-2 SWABAUDIO&lt;BR /&gt;Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R&lt;BR /&gt;cdrecord: error 0. test unit ready: scsi sendcmd: retryable error&lt;BR /&gt;CDB:  00 C0 00 00 00 00&lt;BR /&gt;status: 0x2 (CHECK CONDITION)&lt;BR /&gt;Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 00 00 00 00&lt;BR /&gt;Sense Key: 0x2 Not Ready, Segment 0&lt;BR /&gt;Sense Code: 0x3A Qual 0x01 (medium not present - tray closed) Fru 0x0&lt;BR /&gt;Sense flags: Blk 0 (not valid)&lt;BR /&gt;cmd finished after 0.000s timeout 200s&lt;BR /&gt;cdrecord: No disk / Wrong disk!&lt;BR /&gt;cdrecord: error 0. prevent/allow medium removal: scsi sendcmd: retryable error&lt;BR /&gt;CDB:  1E C0 00 00 00 00&lt;BR /&gt;status: 0x2 (CHECK CONDITION)&lt;BR /&gt;Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 0C 0A 00 00 00 00&lt;BR /&gt;Sense Key: 0x3 Medium Error, Segment 0&lt;BR /&gt;Sense Code: 0x0C Qual 0x0A (write error - padding blocks added) Fru 0x0&lt;BR /&gt;Sense flags: Blk 0 (not valid)&lt;BR /&gt;&lt;BR /&gt;(No disc, but I can talk to the drive.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;alp $ show proc /priv&lt;BR /&gt;&lt;BR /&gt;21-JAN-2009 18:01:51.61   User: SMS              Process ID:   2020F465&lt;BR /&gt;                          Node: ALP              Process name: "SMS_63596"&lt;BR /&gt;&lt;BR /&gt;Authorized privileges:&lt;BR /&gt; NETMBX       TMPMBX&lt;BR /&gt;&lt;BR /&gt;Process privileges:&lt;BR /&gt; NETMBX               may create network device&lt;BR /&gt; TMPMBX               may create temporary mailbox&lt;BR /&gt;&lt;BR /&gt;Process rights:&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It's been a while, but I think I had to fix&lt;BR /&gt;something in this neighborhood.</description>
      <pubDate>Thu, 22 Jan 2009 00:04:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-recordable-media/m-p/4337158#M92978</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-01-22T00:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: COPY/RECORDABLE_MEDIA</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-recordable-media/m-p/4337159#M92979</link>
      <description>&amp;gt; It's been a while, but I think I had to fix&lt;BR /&gt;&amp;gt; something in this neighborhood.&lt;BR /&gt;&lt;BR /&gt;If I'm reading the archives (6-JUN-2006)&lt;BR /&gt;right, the problem in cdrecord was that&lt;BR /&gt;simply installing the image with privileges&lt;BR /&gt;is not enough.  The program (apparently)&lt;BR /&gt;needs to do a sys$setprv() to ask for them,&lt;BR /&gt;too, and that part was missing from&lt;BR /&gt;cdrecord.  (My belief is that if your&lt;BR /&gt;_process_ has the privileges, then the&lt;BR /&gt;program doesn't need to do anything.  If the&lt;BR /&gt;_image_ has the privileges, then the program&lt;BR /&gt;needs to ask.  Everything's complicated.  The&lt;BR /&gt;problem is easy to miss if all the testing&lt;BR /&gt;is done by gods.)&lt;BR /&gt;&lt;BR /&gt;It could all be documented somewhere.&lt;BR /&gt;&lt;BR /&gt;Of course, that doesn't fix COPY /RECO.  (But&lt;BR /&gt;it does suggest a place from which one might&lt;BR /&gt;steal some code.)</description>
      <pubDate>Thu, 22 Jan 2009 14:40:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-recordable-media/m-p/4337159#M92979</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-01-22T14:40:54Z</dc:date>
    </item>
  </channel>
</rss>

