- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Strange RMS CONVERT error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2008 02:03 PM
тАО02-13-2008 02:03 PM
Strange RMS CONVERT error
I have a userid (ftpuser) that creates text files in a directory called [ftpuser]. They have a UIC of [240,0]. The directory [ftpuser] and all the files therein have s:wred,o:wred,g;wred,w:re permissions.
When they try to run a convert on a text file
"convert /fdl=ftptype.fdl chem1.txt chem1.ok"
I get CONV-T-OPENOUT (error opening chem1.ok as output) and RMS-E-PRV (insufficient priv or file protection violation) errors.
Logged in as ftpuser, I can create files in the directory fine, but the only way i can get the convert to work is to use another account that has BYPASS privs.
I cannot think of anything that has changed that would have caused this, and it makes no sense. The user has rights to open/read/write all files in his directory, but convert can't seem to do it.
I'm at a loss as to where to start troubleshooting.
Can anyone shed some light on this?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2008 03:04 PM
тАО02-13-2008 03:04 PM
Re: Strange RMS CONVERT error
The correct fix for the problem will be specific to your site and security environment.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2008 03:17 PM
тАО02-13-2008 03:17 PM
Re: Strange RMS CONVERT error
Once enabled, try the (failing) operation, then check the audits.
If the system is busy, you might have to be quick about the enable-test-disable sequence.
And do see if there are any surprising logical names around, such as CHEM1, that might point the reference somewhere unexpected.
And FWIW, [*,0] is somewhat of a weird UIC value. Most UIC values are typically chosen as non-zero. (Probably not related here, though.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2008 03:20 PM
тАО02-13-2008 03:20 PM
Re: Strange RMS CONVERT error
Curiously enough this may be the result of running CONVERT with too much privilege!
I'm not sure if I remember the exact details, but it's something like this...
When SORT (and therefore CONVERT) create work files, it hardcodes the protection mask to (S,O:RWD,G,W). When files are created in a shared directory, and the new sortwork file is the same name as an old one, a NONPRIVILEGED user will create a file owned by themselves, and can therefore delete it. However, a SYSPRV user will create a file owned by the previous owner and therefore CANNOT delete it (without BYPASS).
If that's not the problem, some things to try:
Check for old SORTWORK files. Make sure they're not in active use and delete them.
Define logical names for SORTWORK
Also check the ownerships and protections of any files for which you're trying to create new versions.
Use SET WATCH/CLASS=MAJ to see what file operations are being performed
Enable auditing for file access failures
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2008 03:52 PM
тАО02-13-2008 03:52 PM
Re: Strange RMS CONVERT error
When they try to run a convert on a text file
"convert /fdl=ftptype.fdl chem1.txt chem1.ok"
I get CONV-T-OPENOUT (error opening chem1.ok as output) and RMS-E-PRV (insufficient priv or file protection violation) errors."
----------------------------
Is it only the specific file chem1.ok that can't be created?
Please do this:
$ directory/security chem1.ok
My guess is that the previous version of this file either has an ACL that is preventing the user running the convert from creating a new version (they need write access to the previous version of the file to be able to create a new version of it, since it effect, for many operations creating a new version is nearly the same as modifying the previous "highest version".
Perhaps the owner of the highest version of the file isn├в t [240,0] any more.
This is one reason I prefer to use directory/security instead of directory/protection, it shows all security related info (protection mask, ACL and owner), not just the protection mask.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2008 04:35 PM
тАО02-13-2008 04:35 PM
Re: Strange RMS CONVERT error
What does the FDL do?
Going to indexed?
Share it as a .TXT attachement?
Reduce the FDL file to just a FILE section with just OWNER and PROTECTION and the RECORD section. Now does the convert work?
As always, when in doubt on file access stuff check AUDTING, or...
grab CMKRL
and SET WATCH FILE/CLA=ALL
Cheerio,
Hein.