Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files are being created with root user #6

Closed
0neTX opened this issue Jan 23, 2024 · 7 comments
Closed

Files are being created with root user #6

0neTX opened this issue Jan 23, 2024 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@0neTX
Copy link
Owner

0neTX commented Jan 23, 2024

@vitor Ventura bug reported:

Files are being created with root user, is there any way to create files, with different permissions?
Even after give permissions in template, files still being created with root and only root can read and write.

https://forums.unraid.net/topic/127999-support-onetx-teledock-bot-docker-control-template-support/#comment-1358017

@0neTX 0neTX added the enhancement New feature or request label Jan 23, 2024
@0neTX 0neTX self-assigned this Jan 23, 2024
@vmfventura
Copy link

vmfventura commented Jan 24, 2024

Added this to the template, and being worked well.
Have you tried?

PUID and PGID
image

@0neTX
Copy link
Owner Author

0neTX commented Jan 24, 2024

Hello
Have you added those two variables and does it work for you?

Yesterday I was doing tests, But don't get to a good point.

If you only need those two variables, I'll add them to the template.

How do you check that user 1000 has permissions to the file?

@vmfventura
Copy link

Hello Have you added those two variables and does it work for you?

Yesterday I was doing tests, But don't get to a good point.

If you only need those two variables, I'll add them to the template.

How do you check that user 1000 has permissions to the file?

Yes i confirmed.
Added to the template, and is working.
All files are created with 666.
image

@0neTX
Copy link
Owner Author

0neTX commented Jan 24, 2024

Thanks!

I'll change the template. Thank you!!

@vmfventura
Copy link

Have you confirmed? Working?

@0neTX
Copy link
Owner Author

0neTX commented Jan 25, 2024

Yesterday, I was testing and setting PUID and PGID but the files created are only accessible to the root user.

I am preparing a modified version that uses PUID and PGID correctly. I'mdoing some tests and in a few hours the new version will be released with this feature.

@0neTX
Copy link
Owner Author

0neTX commented Jan 25, 2024

I have released a new version v1.2 with this new feature.

0neTX/Bitwarden_Export#5

Please check the documentation and upgrade to the latest version.

Thank you!

@0neTX 0neTX closed this as completed Jan 25, 2024
@0neTX 0neTX reopened this Jan 25, 2024
@0neTX 0neTX closed this as completed Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants