× 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.



I posted this on the WEB400 list yesterday but got no takers on an answer. Perhaps I can rephrase this so it is applicable to Midrange-L.

How do IFS file permissions get set? Below is my post to WEB400 where files are uploaded to the IFS. The application can list the file, providing a link for the user to open the file, but when the file is opened (or attempted to open) I get an access denied message.

Perhaps an idea on how to monitor for files placed in this folder and then a program that grants READ permissions? That seems a little awkward but I guess that would be a possibility.

Don't files placed in an IFS folder "inherit" the folder permissions? Is there a way to do this? The rest of the post is what was on WEB400:

Any idea how permissions can be set for files uploaded through a web page to the IFS?

We are running PHP in PASE and the file gets created with the following permissions:

            Data     --Object Authorities--
User        Authority  Exist  Mgt  Alter  Ref
*PUBLIC *NONE X X X X
QTMHHTP1    *RW          X     X     X     X

If we change permissions to *PUBLIC *R then we can access the file. There was a solution in the archives for Apache/Websphere but it doesn't apply to a PHP server.

Any idea of how you could accomplish the change of permissions? Since *PUBLIC has *RW permissions on the folder I thought files copied to that folder would inherit those permission but I guess I assumed too much.

Ideas?

Thanks,

Pete Helgren



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.