Open cwittern opened 2 years ago
Glad, you like it @cwittern there is plenty more to come see #22
@duncdrum requested a feature that might solve your problem as well:
A set of commands xst chmod
, xst chown
, xst chgrp
that align with unix command line tools to set mode, owner and group. With the option to do this recursively and with --include and --exclude patterns.
This would allow for more fine grained control of the permissions and cover plenty of additional use-cases.
For now it is best to rely on the permissions setting features of the package installation routines.
I could also run a xquery on the server to fix this
This can also be done on the command line now with xst run
.
xst run 'sm:chmod(xs:anyURI($file), "rwxrwxr-x")' -b '{"file": "/db/apps/my-app/controller.xq"}'
Is your feature request related to a problem? Please describe. When uploading, the permissions are set from the uploading users permissions. It would be nice to be able to specify a target for permissions of the uploaded files Describe the solution you'd like I would like to see a config option that allows setting permissions for the target Describe alternatives you've considered I could also run a xquery on the server to fix this, but getting it in one run would be much nicer :-) Additional context Not really, but this is a nifty tool!