|
Not sure I understand the question...
Java uses a system API to create objects, off the top of my head I don't
know which one.
I think the word you're looking for is "inherit"
When the directory is created, there's two parms
Create Directory (CRTDIR)
Type choices, press Enter.
Directory . . . . . . . . . . .
Public authority for data . . . *INDIR Name, *INDIR, *RWX, *RW...
Public authority for object . . *INDIR *INDIR, *NONE, *ALL...
But that controls *PUBLIC authority to a new object...
I know of no way to create a new object without the owner having full
authority.
In the WRKAUT screen, what's shown for Type, Pwener, Primary group and
authorization list?
Type . . . . . . . . . . . . . : STMF
Owner . . . . . . . . . . . . : CWILT5
Primary group . . . . . . . . : *NONE
Authorization list . . . . . . : *NONE
Charles
On Fri, Jul 30, 2021 at 7:18 AM Brad Stone <bvstone@xxxxxxxxx> wrote:
So, where does the authority come from when IFS objects are created usinghave
APIs (which appear to be adopted from the directory) vs when Java creates
it (which makes no sense).
On Thu, Jul 29, 2021 at 9:57 PM Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:
Neither Java nor IFS objects support adopted authority.
Charles
On Thu, Jul 29, 2021 at 3:36 PM Brad Stone <bvstone@xxxxxxxxx> wrote:
Here's another funny thing.. .I can use the user ID that "doesn't
*RWXauthority" to the object to rename it and change the authority to
asand*ALL.
I know this is probably something unique to Java, but I'm curious why
what would be the fix so that the Java routine acts the same as far
wrote:adopted authority as everything else.
On Thu, Jul 29, 2021 at 4:28 PM Brad Stone <bvstone@xxxxxxxxx>
itfor
HEre's some more info I got testing.
It's a java program creating the file, and here are the authorities
wrote:the file when created:
Data --Object Authorities--
User Authority Exist Mgt Alter Ref
*PUBLIC *RW X X X X
TEST *RW
Now, the directory has this authority:
Data --Object Authorities--
Opt User Authority Exist Mgt Alter Ref
*PUBLIC *RWX X X X X
So the issue seems to be the java application isn't adopting
authority like other things do (IFS commands, APIs, etc)
On Thu, Jul 29, 2021 at 12:19 PM Brad Stone <bvstone@xxxxxxxxx>
out
Ya, that's what I'm finding. But I am trying to help them figure
granted.why... I don't think they were removed, they were just never
And
the user in question is the one running the application to create
andin
thedirectory.
first place.
All my testing has shown the file adopts authorities from the
Of course, if they run it with a user with *ALLOBJ it works fine
authorities"thecharles.wilt@xxxxxxxxx
file is removed.
On Thu, Jul 29, 2021 at 12:14 PM Charles Wilt <
wrote:
If by "the user profile appears to not have any object
removedyou
mean this
Data --Object Authorities--
User Authority Exist Mgt Alter Ref
*PUBLIC *RWX X X X X
CWILT5 *RWX
Then it would appear that the owner's authorities have been
Itand
wrote:would explain why they can't delete the file.
Normally the owner (CWILT5) should have
Data --Object Authorities--
User Authority Exist Mgt Alter Ref
*PUBLIC *RWX X X X X
CWILT5 *RWX X X X X
Charles
On Thu, Jul 29, 2021 at 11:03 AM Brad Stone <bvstone@xxxxxxxxx>
The user profile appears to not have any object authorities.
anyalso
doesn't have private authority to the directory.
*PUBLIC has exist, mgt, alter and ref. The user doesn't have
bvstone@xxxxxxxxxof
directory?charles.wilt@xxxxxxxxx>these.
On Thu, Jul 29, 2021 at 11:33 AM Charles Wilt <
wrote:
Does the user happen to have a private authority to the
That would take precedence over *PUBLIC.
*RWX applies to the contents...
WHat are the object authorities?
Data --Object Authorities--
Opt User Authority Exist Mgt Alter Ref
*PUBLIC *RWX X X X X
Charles
On Thu, Jul 29, 2021 at 10:20 AM Brad Stone <
the
profilewrote:
What authorities to the parent directory and file does a
need
to
have to be able to delete a stream file?
I've run into a case where *PUBLIC has *RWX authority to
ourfile.authoritydirectory
and
*RW authority to the file.
The User ID that is running the RMVLNK command has *RW
to the
file and is the owner, yet they aren't able to delete the
Gmail,It was
originally created under that user profile as well.
Bradley V. Stone
www.bvstools.com
Native IBM i e-Mail solutions for Microsoft Office 365,
or(MIDRANGE-L)
any
Cloud
Provider!
--
This is the Midrange Systems Technical Discussion
https://lists.midrange.com/mailman/listinfo/midrange-lmailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
subscriptionor email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any
related
questions.
Help support midrange.com by shopping at amazon.com with
(MIDRANGE-L)affiliate
link: https://amazon.midrange.com--
This is the Midrange Systems Technical Discussion
https://lists.midrange.com/mailman/listinfo/midrange-lmailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
subscriptionsubscriptionor email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any
mailingrelated
affiliatequestions.
Help support midrange.com by shopping at amazon.com with our
link: https://amazon.midrange.com--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any
mailingmailingaffiliaterelated
questions.
Help support midrange.com by shopping at amazon.com with our
link: https://amazon.midrange.com--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
affiliatelist
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.
Help support midrange.com by shopping at amazon.com with our
--link: https://amazon.midrange.com
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
affiliatelistrelated
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
questions.
Help support midrange.com by shopping at amazon.com with our
relatedlistlink: https://amazon.midrange.com--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
listquestions.--
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx--
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
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.