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



You should be able to use chmod.

http://us2.php.net/manual/en/function.chmod.php

|chmod( "/www/instance/someDir/someImage.png", 644 ); // read write owner, read group, read others|

SUSAN FRAZIER wrote:

Whenever we write to the ifs we must also execute a chgaut on the object.




"Eric Kempter" <EKempter@xxxxxxxxxxxxxxx> Sent by: web400-bounces@xxxxxxxxxxxx
04/17/2007 02:55 PM
Please respond to
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>


To
<web400@xxxxxxxxxxxx>
cc

Subject
[WEB400] IFS permissions






Hello,

What controls file permissions on the IFS? We have written a PHP applications that allows users to upload images (.jpgs) from their desktop to the IFS. The upload to the IFS works fine but the file on the IFS ends up without *public Read / Execute permissions so the user can not view the image after the upload. We are on V5R3, using PHP and Apache via the PASE shell. Any assistance is appreciated.




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.