mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 13:42:04 +00:00
some explaination on how to use the scripts
This commit is contained in:
parent
49df29e69d
commit
5641a1c5c8
21
utils/README.md
Normal file
21
utils/README.md
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
Running one of the scripts
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
Scripts in this folder are ment to be called on the command line by
|
||||||
|
either executing one of the shell wrappers 'seeddms-*' or by calling
|
||||||
|
'php -f <scriptname> -- <script options>'.
|
||||||
|
If you run the adddoc.php script make sure to run in with the permissions
|
||||||
|
of the user running your web server. I will copy files right into
|
||||||
|
your content directory of your SeedDMS installation. Don't do this
|
||||||
|
as root because you will most likely not be able to remove those documents
|
||||||
|
from the web gui. If this happens by accident, you will still be able
|
||||||
|
to fix it manually by setting the propper file permissions for the document
|
||||||
|
just created in your content directory. Just change the owner of the
|
||||||
|
document folder and its content to the user running the web server.
|
||||||
|
|
||||||
|
Do not allow regular users to run this scripts!
|
||||||
|
-----------------------------------------------
|
||||||
|
|
||||||
|
None of the scripts do any authentication. They all run with a SeedDMS
|
||||||
|
admin account! So anybody being allowed to run the scripts can modify
|
||||||
|
your DMS content.
|
Loading…
Reference in New Issue
Block a user