× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi,

I have a vbscript being executed using STRPCCMD by a windows user with less than admin privileges, which is blowing up when it tries to delete a file in the IFS. If I try running the same as a windows administrator, it works fine.

The file was created as part of the same job by an RPG program, using an 'open' command. The vbscript error reports that the owner is S-1-5-32-544 (i.e. the Windows built-in Administrator). I see the same owner when I look at permissions in Windows Explorer on the file. The owner in iSeries Navigator is the user id of the person that ran the program. They have all access rights to that file on the AS/400. I assume it has nothing to do with the AS/400 rights, but is using the pc-user's privileges vs the owner of the file in Windows.

I'm wondering if there's any way to tell the RPG program to create the file with the default built-in 'users' group (s-1-5-32-546) instead of 'Administrator', which appears to be the root of the issue.

Anyone have experience with similar issues?

Thanks,

David


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.