I want to chown all transferred files once the transfer has completed. The eyefiserver is running as www-data (33) and I want to change the ownership to, say, 1000:1000. How would I do that?
My first approach was using the complete_execute config option:
complete_execute=/bin/chown 1000.1000
But this results in a python error with the subprocess:
OSError: [Errno 2] No such file or directory
I did some minor research, it seems that python is unable to call the system binary. But the reason remains a mystery to me.
PS: I'm trying to setup the eyefiserver within a docker container. I am using this base image. If I ever find a satisfactory way on how to do this I'll gladly provide a PR with the docker file and a detailed description. I'm having the image transfer working just fine, but changing the ownership after transfer would be very nice to have.
I want to chown all transferred files once the transfer has completed. The eyefiserver is running as www-data (33) and I want to change the ownership to, say, 1000:1000. How would I do that?
My first approach was using the
complete_executeconfig option:complete_execute=/bin/chown 1000.1000
But this results in a python error with the subprocess:
I did some minor research, it seems that python is unable to call the system binary. But the reason remains a mystery to me.
PS: I'm trying to setup the eyefiserver within a docker container. I am using this base image. If I ever find a satisfactory way on how to do this I'll gladly provide a PR with the docker file and a detailed description. I'm having the image transfer working just fine, but changing the ownership after transfer would be very nice to have.