Your suggestions are absolutely true.
all chmod commands should use $wwwuser variable
I want to state that: not all code is perfect in ehcp yet, (maybe
nothing is perfect, another point of discussion)
so, you may find some points that needs editing, I am completely open
to suggestions.
since you got the point, I can say this about Easy Install Scripts:
ehcp's function about those: instead of manually downloading them, and
uploading to server,
ehcp does: download using wget, extracts, puts in target dir, executes
some preliminary commands.
all things done using scripts table ,
fields of that table, that needs explanation for you and similar programmers:
filetype: identifies if fileinfo is a url or something else, currently
constant of "directurl" this field is used in code,
fileinfo: url of file to download, for ex, http://blah.com/this.tgz
scriptdirtocopy: some downloads have a directory structure inside it.
for ex, doc, upload; this field id the "directory" that contents
should be put in target dir of user's choice. for ex, "upload" in
some cases.
for new/changed downloads: this is identified by manually extracting
the file and examining contents, once..
commandsaftercopy: these are commands that should be executed on
target files, such as chmod, config file creation etc... as you asked
in your first posts.. this is an important place..
Your suggestions are absolutely true.
all chmod commands should use $wwwuser variable
I want to state that: not all code is perfect in ehcp yet, (maybe
nothing is perfect, another point of discussion)
so, you may find some points that needs editing, I am completely open
to suggestions.
since you got the point, I can say this about Easy Install Scripts:
ehcp's function about those: instead of manually downloading them, and
uploading to server,
ehcp does: download using wget, extracts, puts in target dir, executes blah.com/ this.tgz
some preliminary commands.
all things done using scripts table ,
fields of that table, that needs explanation for you and similar programmers:
filetype: identifies if fileinfo is a url or something else, currently
constant of "directurl" this field is used in code,
fileinfo: url of file to download, for ex, http://
scriptdirtocopy: some downloads have a directory structure inside it.
for ex, doc, upload; this field id the "directory" that contents
should be put in target dir of user's choice. for ex, "upload" in
some cases.
for new/changed downloads: this is identified by manually extracting
the file and examining contents, once..
commandsaftercopy: these are commands that should be executed on
target files, such as chmod, config file creation etc... as you asked
in your first posts.. this is an important place..