Post by saligkaros » Thu Nov 07, 2019 7:10 pm

Hello
My OC 2.1.0.2 image manager creates 0777 directories.
When I create a dir through the image manager , its permissions are 0777
How can I change that?

Thank you

Newbie

Posts

Joined
Fri May 18, 2012 3:51 am

Post by IP_CAM » Thu Nov 07, 2019 10:58 pm

it's in: 'admin/model/tool/image.php'

Code: Select all

if (!is_dir(DIR_IMAGE . $path)) {
	@mkdir(DIR_IMAGE . $path, 0777);
} 
But you could also try the s_repair.php file (enclosed), to make sure,
that all CHMOD Settings are set according standards. It just needs to be placed
in the Shop ROOT Section and executed.
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by saligkaros » Fri Nov 15, 2019 2:32 am

Thanks
Appreciated

Newbie

Posts

Joined
Fri May 18, 2012 3:51 am
Who is online

Users browsing this forum: Bing [Bot] and 10 guests