× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Expanding on what I said earlier:

In the program that creates the IFS objects involved (mixed-language, FWIW, with this particular module in C), we do a QSYRUSRI on the user's profile name, then a second QSYRUSRI on the primary group profile name returned. Then, whenever we create one of these files, we do an fchown() on the file, immediately upon creation, passing it the UID field from the second QSYUSRI, and 0, i.e. (with usri0300g being the response from the second QSYUSRI),
fchown(docDescriptor, usri0300g.UID, 0);

I haven't yet run a debugger on this (and probably won't have time to do so until at least tomorrow), but would anybody know offhand whether (and how, and why) a failed fchown() would somehow not only fail to change the owner, but cause the file to end up with its authorities looking like (with the original creator ARTWELDING):
Data --Object Authorities--
User Authority Exist Mgt Alter Ref
*PUBLIC *RWX X X X X
ARTWELDING *RWX

???

--
JHHL

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.