AFAIK chmod is used to set access auth on ifs objects like

chmod 644 test.txt

-----Original Message-----
From: c400-l-bounces+mihael.schmidt=rossmann.de@xxxxxxxxxxxx
[mailto:c400-l-bounces+mihael.schmidt=rossmann.de@xxxxxxxxxxxx] On
Behalf Of Daniel Webb
Sent: Friday, October 23, 2009 10:26 AM
To: C400-L@xxxxxxxxxxxx
Subject: [C400-L] C function to set public authority on ifs file

Hi C400-L,

can anyone listening tell me how to set the public authority on an
existing
ifs file from within a C(++) program ? I've searched high and low but no
go.

I'm looking to be able to set the authority to a combination of R,W,X as
well as *AUTL

Eg similar functionality to the DTAAUT parameter of CHGAUT:
CHGAUT OBJ('/test.txt') USER(*PUBLIC) DTAAUT(*AUTL)


The other thing i'm stuck on is setting the authorisation list a la:
CHGAUT
OBJ('/test.txt') AUTL(TESTAUTL), so bonus respect for ideas on this too.

Any help much appreciated.

Regards

Daniel Webb

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2021 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.