-
Notifications
You must be signed in to change notification settings - Fork 105
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
Written video file permissions are different from set on first start #161
Comments
Thanks, looks like we don't have a |
Thanks, I believe that from Unifi Video perspective that is not an intended way of accessing recordings, so we're just hacking it to our own specifications =) |
Yeah, for sure. But if we're going to set files to |
I pushed some changes to how this works on |
I've tried updated :beta, but new files are still written with old permissions:
files that were created before container updated with perms.txt removed
Files created after update:
container umask values
|
Humm, they must be setting the umask. :/ |
would love to see a setting for correcting user/group and permissions. that way i could enable my videos folder sharing in different services |
This is breaking things for me also. I sync videos to cloud but having very annoying permission issues trying to read the files out of the container/volume. |
We'd probably have to reverse engineer their startup script and figure out what the heck they're doing. :/ |
Might be able to work around the issue using cp/move/sync commands to and another volume and re-write the permissions.. shitty but it will probably work. Moving them will cause all types of issues for the video index though. |
I have this problem when starting the latest docker image on a Qnap NAS with Container Station running. Can you see what the problem is ? I'm not that good with fixing container problems. When running kc8apf/unifi-video:latest I don't get the problem but he don't update the image any more. |
@Icegames-dk, thanks to @thomaso-mirodin's #176, we dropped some permissions and switched to mounting the tmpfs volume ourselves. Make sure you're doing the right things, compare your
And your issue isn't related to permissions, which is what this thread is about. The key to your error is the mount error between the two permissions fixing spam.
If you don't get this figured out, please make a new issue or post on the forums and include your |
All video files that are created by Unifi Video after docker is started have incorrect file permissions:
Here's example of files with permissions that are set by dockerfile on start (if you remove perms.txt)
and then new files have different permissions, new files cannot be browsed on a share by any user (permissions are only set for owner).
The text was updated successfully, but these errors were encountered: