Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: prepare for removal scripts ...  (Read 2456 times)

0 Members and 1 Guest are viewing this topic.

ngabriel4

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
prepare for removal scripts ...
« on: September 06, 2004, 08:18:59 pm »

for shell-exec disabled sites ( for security reasons,  e.g. ) :

suggest changing the shell call  `chmod -R 777 .... '  to the function call chmod("file-name", 0777);
Might need another for loop to process each file in the directory ( instead of the -R ).
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: prepare for removal scripts ...
« Reply #1 on: September 07, 2004, 06:33:54 am »

Code: [Select]
<?php
chmod
("foldername"chmod_mode);
?>
already exists in various places within coppermine, what exactly are you suggesting?

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.