SmartFAQ is developed by The SmartFactory (https://www.smartfactory.ca), a division of InBox Solutions (https://www.inboxsolutions.net)

How to CHMOD to 0444 ?
Sometime the setting 444 cannot be done via FTP, in which case use your host's control panel or file manager to set the permissions level.) In cpanal this can be done by selecting 'File manager' Alternatively, you can use a small .php file to change the permissions of a file or a folder. Create a file with the following script and name it with a .php extension.
<?php chmod("mainfile.php"0444?>
Replace 'mainfile.php' with whatever file/folder you require. Upload the file (ie: changeperm.php) to the directory that holds your file or folder that requires chmod change. In the case of mainfile.php, this is of course, in the root of your xoops installation. Now call the file from your browser. You will probably have a blank page, but go back and check the chmod setting. It should now agree with 0444 or whatever permission you entered.


The comments are owned by the author. We aren't responsible for their content.
Author
Thread
user

 PowWeb


This came in handy for someone I'm helping out who uses Powweb.com

Thanks.

 
Replies
Author
Published
01/30/2005 1:42
Author
Thread
user

 RE: How to CHMOD to 0444?


Thanks
Is there a way to do it with all files in a folder..instead of typing in every singel file manually in the script? ( *.php didn't work)

 
Replies
Author
Published
11/08/2005 17:19


Login

Who's Online

235 user(s) are online (2 user(s) are browsing XOOPS FAQ)


Members: 0


Guests: 235


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Did you know ?

XOOPS 2.0.x requires PHP version 4.1.0 or higher
XOOPS 2.2.x requires PHP version 4.2.0 or higher

Random question

What is the difference between an Article submission and News submission?