Why is Drone.io transferring files with permissions like 550? #4

Open
opened 2022-12-14 21:08:38 +01:00 by dancingCycle · 1 comment
Member

Hi folks,
I am welcoming any hints that solves the following situation.

The following Secrets are setup in Drone.io:

gitea_token
hostname
password
username

While running the pipeline Drone.io is complaining in the html step like this.

latest: Pulling from cschlosser/drone-ftps
Digest: sha256:a8415e543c6cc125fa0a8d90576c74c45290f1606b8d665c60f7c9327afd42e7
Status: Downloaded newer image for cschlosser/drone-ftps:latest
Need to set hostname

While hostname is set as secret, Drone.io keeps complaining.

hostname is set like sib00.hostsharing.net.

I tested the hostname, username and password combination with success in Filezilla.

Can anyone provide hints about how to use image: cschlosser/drone-ftps?

Cheers!

Hi folks, I am welcoming any hints that solves the following situation. The following `Secrets` are setup in Drone.io: ``` gitea_token hostname password username ``` While running the pipeline Drone.io is complaining in the `html` step like this. ``` latest: Pulling from cschlosser/drone-ftps Digest: sha256:a8415e543c6cc125fa0a8d90576c74c45290f1606b8d665c60f7c9327afd42e7 Status: Downloaded newer image for cschlosser/drone-ftps:latest Need to set hostname ``` While `hostname` is set as secret, Drone.io keeps complaining. `hostname` is set like `sib00.hostsharing.net`. I tested the `hostname`, `username` and `password` combination with success in Filezilla. Can anyone provide hints about how to use `image: cschlosser/drone-ftps`? Cheers!
Author
Member

What the heck! Do you know the saying: The issue sits in front of your screen or behing your glasses.

This issue is solved with this commit

BTW, mind this repo to setup the image.

Anyhow, another issue remeins. The hostsharing account might not like certain file permissions.

latest: Pulling from cschlosser/drone-ftps
Digest: sha256:a8415e543c6cc125fa0a8d90576c74c45290f1606b8d665c60f7c9327afd42e7
Status: Image is up to date for cschlosser/drone-ftps:latest
Transferring file `.buildinfo'
Transferring file `genindex.html'
Transferring file `index.html'
Transferring file `objects.inv'
Transferring file `search.html'
Transferring file `searchindex.js'
Making directory `_sources'
Transferring file `_sources/index.rst.txt'
Making directory `_sources/manual'
Transferring file `_sources/manual/architecture.md.txt'
Transferring file `_sources/manual/components.md.txt'
Transferring file `_sources/manual/imprint.md.txt'
Transferring file `_sources/manual/introduction.md.txt'
Transferring file `_sources/manual/open-issues.md.txt'
Transferring file `_sources/manual/requirements.md.txt'
Transferring file `_sources/manual/research.md.txt'
Making directory `_static'
Transferring file `_static/_sphinx_javascript_frameworks_compat.js'
Transferring file `_static/alabaster.css'
Transferring file `_static/basic.css'
Transferring file `_static/custom.css'
mirror: Access failed: 550 basic.css: Overwrite permission denied
Transferring file `_static/doctools.js'
Transferring file `_static/documentation_options.js'
Transferring file `_static/file.png'
Transferring file `_static/jquery-3.6.0.js'
mirror: Access failed: 550 jquery-3.6.0.js: Overwrite permission denied
Transferring file `_static/jquery.js'
mirror: Access failed: 550 jquery.js: Overwrite permission denied
Transferring file `_static/language_data.js'
Transferring file `_static/minus.png'
Transferring file `_static/plus.png'
Transferring file `_static/pygments.css'
Transferring file `_static/searchtools.js'
Transferring file `_static/underscore-1.13.1.js'
mirror: Access failed: 550 searchtools.js: Overwrite permission denied
Transferring file `_static/underscore.js'
mirror: Access failed: 550 underscore-1.13.1.js: Overwrite permission denied
mirror: Access failed: 550 underscore.js: Overwrite permission denied
Making directory `manual'
Transferring file `manual/architecture.html'
Transferring file `manual/components.html'
Transferring file `manual/imprint.html'
Transferring file `manual/introduction.html'
Transferring file `manual/open-issues.html'
Transferring file `manual/requirements.html'
Transferring file `manual/research.html'
What the heck! Do you know the saying: The issue sits in front of your screen or behing your glasses. This issue is solved with this [commit](https://git.wtf-eg.de/FreeFleetManagement/manual/commit/cad768627f381f4bc96702d10bf65521b7d970fa) BTW, mind this [repo](https://github.com/cschlosser/drone-ftps) to setup the image. Anyhow, another issue remeins. The hostsharing account might not like certain file permissions. ``` latest: Pulling from cschlosser/drone-ftps Digest: sha256:a8415e543c6cc125fa0a8d90576c74c45290f1606b8d665c60f7c9327afd42e7 Status: Image is up to date for cschlosser/drone-ftps:latest Transferring file `.buildinfo' Transferring file `genindex.html' Transferring file `index.html' Transferring file `objects.inv' Transferring file `search.html' Transferring file `searchindex.js' Making directory `_sources' Transferring file `_sources/index.rst.txt' Making directory `_sources/manual' Transferring file `_sources/manual/architecture.md.txt' Transferring file `_sources/manual/components.md.txt' Transferring file `_sources/manual/imprint.md.txt' Transferring file `_sources/manual/introduction.md.txt' Transferring file `_sources/manual/open-issues.md.txt' Transferring file `_sources/manual/requirements.md.txt' Transferring file `_sources/manual/research.md.txt' Making directory `_static' Transferring file `_static/_sphinx_javascript_frameworks_compat.js' Transferring file `_static/alabaster.css' Transferring file `_static/basic.css' Transferring file `_static/custom.css' mirror: Access failed: 550 basic.css: Overwrite permission denied Transferring file `_static/doctools.js' Transferring file `_static/documentation_options.js' Transferring file `_static/file.png' Transferring file `_static/jquery-3.6.0.js' mirror: Access failed: 550 jquery-3.6.0.js: Overwrite permission denied Transferring file `_static/jquery.js' mirror: Access failed: 550 jquery.js: Overwrite permission denied Transferring file `_static/language_data.js' Transferring file `_static/minus.png' Transferring file `_static/plus.png' Transferring file `_static/pygments.css' Transferring file `_static/searchtools.js' Transferring file `_static/underscore-1.13.1.js' mirror: Access failed: 550 searchtools.js: Overwrite permission denied Transferring file `_static/underscore.js' mirror: Access failed: 550 underscore-1.13.1.js: Overwrite permission denied mirror: Access failed: 550 underscore.js: Overwrite permission denied Making directory `manual' Transferring file `manual/architecture.html' Transferring file `manual/components.html' Transferring file `manual/imprint.html' Transferring file `manual/introduction.html' Transferring file `manual/open-issues.html' Transferring file `manual/requirements.html' Transferring file `manual/research.html' ```
dancingCycle changed title from How to setup secrets in Drone.io to Why does Drone.io is not able to transfer files with certain permissions? 2022-12-14 21:28:22 +01:00
dancingCycle changed title from Why does Drone.io is not able to transfer files with certain permissions? to Why is Drone.io transferring files with permissions like 550? 2022-12-14 21:51:21 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: FreeFleetManagement/manual#4
No description provided.