Checking File Permissions
#61
Posted 25 January 2011 - 04:09 PM
www.sitepath.com/store/includes/configure.php
file --> save as --> .txt gives you the full config file.
I'd HIGHLY recommend using 400...
i am still trying to piece my site back together after a massive hack and will more than likely have to start from scratch.
Please safeguard your config files!!!!
#62
Posted 04 February 2011 - 07:09 PM
Any thoughts?
biggeorge, on 20 January 2011 - 03:45 PM, said:
#63
Posted 02 March 2011 - 08:27 AM
My question:-
How can I change the default permissions which appear just before I click on update?
Details:-
When I add a new product, the images are uploaded with a 777 permission.
There might be an easier way to change these permissions but about once a week, I just use this addon and update
image permissions to 644. To my annoyance, I have to change ALL the default permissions to my desired permission
EVERYTIME.
Also, It's been mentioned in the previous page or two that some of the suggested permissions are strange.
This problem can be eliminated if the contribution user can change the default permissions themselves
to their desired settings.
Thanks.
#64
Posted 05 March 2011 - 12:52 PM
geoffreywalton, on 04 July 2010 - 10:38 AM, said:
Just change it to the one you want.
G
Hi Geoffrey,
I have a crontab set up to execute admin/sitemonitor.php but after I update my php files to 644, I get a message (execute) "permission denied". When I change this file to 700, it works. My problem here is that after I update my permissions in the administration panel, I need to go to my hosting control panel everytime to change my admin/sitemonitor.php permission setting.
I guess the only solution to this is to individualize the admin/sitemonitor.php permission like you have done to configure.php and IPtrap.php???
Edited by CutieCute2, 05 March 2011 - 12:54 PM.
#65
Posted 05 March 2011 - 01:05 PM
Because different hosts have different requirements I can't please all of the people all of the time.
Just nip in there and change it to your requirments.
Adding in a new file that needs a special/different level can be done by duplicating the code for one of the other files that need specified permissions.
HTH
G
Virus Threat Scanner
My Contributions
Basic install answers.
Click here for Contributions / Add Ons.
UK your site.
Site Move.
Basic design info.
For links mentioned in old answers that are no longer here follow this link Useful Threads.
If this post was useful, click the Like This button over there ======>>>>>.
#66
Posted 05 March 2011 - 01:13 PM
mopes, on 04 February 2011 - 07:09 PM, said:
Any thoughts?
This was written for 2.2 and not 2.3.1.
For those of you running IP Trap, AVS (Anti-Virus System) and Site Monitor check this does not break them.
If things ever quieten down I'll look at adding code to cater specifically for them.
Cheers
G
Edited by geoffreywalton, 05 March 2011 - 01:14 PM.
Virus Threat Scanner
My Contributions
Basic install answers.
Click here for Contributions / Add Ons.
UK your site.
Site Move.
Basic design info.
For links mentioned in old answers that are no longer here follow this link Useful Threads.
If this post was useful, click the Like This button over there ======>>>>>.
#67
Posted 05 March 2011 - 01:18 PM
Edited by CutieCute2, 05 March 2011 - 01:25 PM.
#68
Posted 26 March 2011 - 12:44 AM
geoffreywalton, on 05 March 2011 - 01:05 PM, said:
Adding in a new file that needs a special/different level can be done by duplicating the code for one of the other files that need specified permissions.
HTH
G
I've tried twice, once duplicating the IP_trap (15) and once duplicating the sitemap (16) info to sitemonitor (17), and both times the sitemonitor appears on the first page but after I click on "check" or "update", nothing happens. The default permission is 700, but the check shows 644 OK.
Thanks.
#69
Posted 05 April 2011 - 11:52 PM
I have duplicated info at lines:
175
483
591-595
#70
Posted 14 April 2011 - 04:06 AM
My problem isn't a big one so I'm still hoping to solve it.
To reiterate my problem and question.......
When I upload new products, the uploaded images have a 777 permission instead of 644.
The option of updating all permissions with Geoffrey's Permission Checker seems better than changing the permissions of each new image, however,
I require a 700 permission for my sitemonitor.php file so I have to change that manually.
I have tried to create an individual checker thingy for sitemonitor.php by changing sitemap to sitemonitor.
It all appears and looks good but doesn't change the permissions.
Could someone please tell me the lines I need to change?
#71
Posted 01 December 2011 - 09:03 PM
Virus Threat Scanner
My Contributions
Basic install answers.
Click here for Contributions / Add Ons.
UK your site.
Site Move.
Basic design info.
For links mentioned in old answers that are no longer here follow this link Useful Threads.
If this post was useful, click the Like This button over there ======>>>>>.
#72
Posted 22 March 2012 - 05:48 PM
array(
'code' => FILENAME_NEWSLETTERS,
'title' => BOX_TOOLS_NEWSLETTER_MANAGER,
'link' => tep_href_link(FILENAME_NEWSLETTERS)
),
2. Will this work for Windows/IIS?









