S-1-5-32-544 is a Windows sid, the IFS would have no concept of that. Can you tell us what the authorities are that you specified on the open() API, and what the actual IFS authorities (not this windows stuff) are for this file and it's directory?

One easy way to do that is to use WRKLNK from a green-screen session. iNav would be another way.

On 5/1/2014 6:15 PM, David Baugh wrote:

I created a file in the IFS as part of a job running an RPG/free program, using an 'open' API from the RPG program.

When I try to manually delete that file in Windows, I get 'permission denied' if logged in as the user that ran the job. If I'm logged in as an administrator, I can delete it.

The error states that I need permission from the owner, which is S-1-5-32-544 (i.e. the Windows built-in Administrator).

It seems that when the file was created, the owner was assigned as the Windows built-in user 'Administrator', so any Windows-user trying to delete it must have admin privileges.

Anyone have experience with similar issues?

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-545) instead of 'Administrator', which appears to be the root of the issue.



This thread ...


Return to Archive home page | Return to MIDRANGE.COM home page