set chmod 755 as default for websites

Started by tamha, November 22, 2014, 08:51:17 AM

Previous topic - Next topic

tamha

Hello,

I want to set chmod 755 as a default value for all websites.
How can i do it?

Thanks

Administrator

in CWP.admin  you have option to fix users permissions.

tamha

Thanks,

I have 2 problems.

1/ First problem:
My code : when i create a folder, it will automatically create the same folder in thumb folder in admin page. But now, i only create a folder. It can't automatically create the same folder in thumb folder. (my old hosting can do it automatically)

My structure for upload in admin page
- assets/images : for saving orignal images
- assets/thumb/images: saving thumb images

2/ Second problem:
In admin page of website, i can upload the '.png' files. Other types such as: jpg, jpeg, gif,... can't be uploaded.
How do i set to upload other types?

What do i need to change?

Thanks

Administrator

you can upload any images that is up to you, if you have some kind of scripting errors then you will need to check the logs.