Subversion Repositories dms

Compare Revisions

Ignore whitespace Rev 50 → Rev 51

/dms/bin/print-cmd
338,6 → 338,7
*)
echo "Manca il parametro con il tipo di stampa" >&2
chmod 660 $Dest/*
test -d $Dest/fax && chmod 770 $Dest/fax
chgrp $DMS_GROUP $Dest/*
[ $LOCK = yes ] && rm -f $LOCK_FILE
exit 1
344,6 → 345,7
;;
esac
chmod 660 $Dest/*
test -d $Dest/fax && chmod 770 $Dest/fax
chgrp $DMS_GROUP $Dest/*
[ $LOCK = yes ] && rm -f $LOCK_FILE
exit 0
/dms/bin/print-doc.pl
158,7 → 158,7
}
}
 
SYSTEM("bash -c 'chmod 770 $Dest; chmod 660 $Dest/*; chgrp -R $DMS_GROUP $Dest'");
SYSTEM("bash -c 'chmod 770 $Dest; chmod 660 $Dest/*; test -d $Dest/fax && chmod 770 $Dest/fax; chgrp -R $DMS_GROUP $Dest'");
 
# ---------------------------------------------------------------------- #
 
/dms/bin/zoom-tiff.pl
94,7 → 94,7
$file = "$Dest/g4";
}
 
SYSTEM("bash -c 'chmod 770 $Dest; chmod 660 $Dest/*; chgrp -R $DMS_GROUP $Dest'");
SYSTEM("bash -c 'chmod 770 $Dest; chmod 660 $Dest/*; test -d $Dest/fax && chmod 770 $Dest/fax; chgrp -R $DMS_GROUP $Dest'");
 
print $CGI->redirect("$DMS_HOST/$DMS_CGI/image-tiff?$file");
 
/dms/bin/zoom-gif.pl
192,7 → 192,7
$icons->add(qq(</TR></TABLE>\n));
}
 
SYSTEM("bash -c 'chmod 770 $Dest; chmod 660 $Dest/*; chgrp -R $DMS_GROUP $Dest'");
SYSTEM("bash -c 'chmod 770 $Dest; chmod 660 $Dest/*; test -d $Dest/fax && chmod 770 $Dest/fax; chgrp -R $DMS_GROUP $Dest'");
 
## Eliminazione del lock
unlink "$DMS_VAR/lock/${NomeDir}.img";