Skip to content

Dataset folder permissions #165

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

Open
face-palm opened this issue Mar 27, 2019 · 2 comments
Open

Dataset folder permissions #165

face-palm opened this issue Mar 27, 2019 · 2 comments

Comments

@face-palm
Copy link

face-palm commented Mar 27, 2019

When a dataset is created through the GUI, it generates the folder correctly but does this as “root” - when I then try to SFTP images into that folder, its blocked from access. Without chmod every time, thats annoying...

Browser:
Safari 12.1 (64-bit) - OSX 10.14.4
Running on Ubuntu 18.04 via Lightsail instance
CocoAnnotator v.0.8.0

@jsbroks
Copy link
Owner

jsbroks commented Mar 28, 2019

I don't think its possible to make files owned by the user who launched the docker run command. But with that said it would be a good idea to add a user to the docker for security

@face-palm
Copy link
Author

The only workaround I've seen for this @EMCP is to first create a folder, say via an FTP client, then ensure that has the right privileges before putting images in. Then in Coco-annotator create a dataset that has the SAME name as the folder you just created. Thats the only way I can get working right now.

trinath503 pushed a commit to trinath503/coco-annotator that referenced this issue Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants