|
No it wouldn't.
CRTDIR DIR('/SampleDirectory') DTAAUT(GDIDIVF) OBJAUT(*NONE)Directory created.
edtf '/SampleDirectory/deleteme.txt'Object . . . . . . . . . . . . : /SampleDirectory/deleteme.txt
dspaut '/SampleDirectory/deleteme.txt'
Type . . . . . . . . . . . . . : STMF
Owner . . . . . . . . . . . . : ROB
Primary group . . . . . . . . : *NONE
Authorization list . . . . . . : *NONE
Data --Object Authorities--
User Authority Exist Mgt Alter Ref
*PUBLIC *RW
ROB *RW X X X X
Notice, no authorization list is supplied to that particular object?
Notice also that if TOM tries to delete deleteme.txt he cannot because
*PUBLIC does not have object existence authority? Even though TOM is in
that authorization list?
There are some commands with a hack in them to help with this crippling
limitation. For example
the CPY command as the AUT(*INDIR) parameter
CPY OBJ('/fromdir/fromfile') TOOBJ('/todir/tofile') AUT(*INDIR)
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: Arco Simonse <arco400@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 10/30/2017 03:15 PM
Subject: Re: IFS: Is there a similar command to the library CHGLIB
LIB(MYLIB) CRTAUT(MYAUTL)?
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Hi Rob,
CRTDIR DIR('/SampleDirectory') DTAAUT(MYAUTL) OBJAUT(*NONE) would do that.
Regards,
-Arco
2017-10-30 15:47 GMT+01:00 Rob Berendt <rob@xxxxxxxxx>:
When you set up security on a library you can dothat
CHGLIB LIB(MYLIB) CRTAUT(MYAUTL)
So that all new objects created in that library have the authority in
authorization list.etc,
Is there some way to do this with an IFS directory?
Basically I want all new files, directories, subdirectories thereof,
created in the '/SampleDirectory' to have the authority of authorizationlist
list MYAUTL.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx--
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
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: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
--
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: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.
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.