MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » May 2014

RE: IFS File permissions



fixed

I don't have the specifics, but I know that we had the same issue and you must send a second request to change the authority. I don't think you can specify the authority upon create, it requires a change. The developer that did that work isn't available right now so I can be more detailed than that - sorry

James P. Wiant
Test System Administrator
 
FOODSTUFFS
NORTH ISLAND LIMITED

DD: 09 621 0774 | M: 027 463 4159| P: 09 621 0600
DX Box CX 15021 or PO Box 27480 Mount Roskill, Auckland 1440, New Zealand
 
Fast is fine. Accuracy is everything
Earp, Wyatt

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of David Baugh
Sent: Friday, 2 May 2014 11:15 AM
To: midrange-l@xxxxxxxxxxxx
Subject: IFS File permissions

Hi,



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.



Thanks,



David



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.


######################################################################
This message was scanned for compliance with Foodstuffs North Island Limited email policies
######################################################################
This message has been sent from Foodstuffs North Island Limited (Foodstuffs).

The information contained in this message (including its attachments) is intended only for the person or entity
to which it is addressed and may contain confidential and/or privileged material.
If you received this message in error, please contact the sender immediately by return email and delete this message and your reply.
You must not use, disclose, distribute, print or copy any part of this message.

The views and opinions expressed in this message may be those of the individual sender and not necessarily those of Foodstuffs,
in which case the views are not given or endorsed by Foodstuffs.

Please note that this communication does not designate an
information system for the purposes of the Electronic
Transactions Act 2002.





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

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact