Location: PHPKode > projects > TVEz - Media Library > tvez-0.2.1/demo/create_fake.php

# Creates the config file owned by nfsnobody

$infile = "original/config_file.php";
$outfile = "config_file.php";

$file_perms = 0660;
$file_group = 96952; #this does not work


# I would like to change the group to 'tvez', but apache can't do

# make the file readable by the group only

echo "Config file '$outfile' written and chmoded to ".decoct($file_perms);
Return current item: TVEz - Media Library