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.
("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.
user

 PowWeb


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

Thanks.

 
user

 Re: PowWeb


yup, me too sunsnapper!
Powweb doesn't allow CHMODing to 444, but that script did it alright.

 
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)

 
user

 RE: How to CHMOD to 0444?


With Smartftp you can select several files at once and change them or you can even select folders and choose to have all subfolders and files within them to be changed.

 
user

 RE: How to CHMOD to 0444?


yupp I know, but my *stupid* provider has deactivated permission editing, so until he answer my complaints and do something with it I have to do it manually like this *sigh*.
But thanks for tip anyway

 


Login

Who's Online

289 user(s) are online (6 user(s) are browsing XOOPS FAQ)


Members: 0


Guests: 289


more...

Donat-O-Meter

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

Did you know ?

You can solve problems for users who cannot post or login by disabling the HTTP referrer check (or by users allowing referrer information through the firewall).

Random question

How can I prevent users copying material off my site?