I have been been trying to get the OneDrive (driveone/onedrive) docker running… while I have made some progress I think I have some residual permission issues which is preventing this from working.
Intial run
Using the -interactive switch to generate the authentication link
Then running:
For those who have this working, can you share any tips on which permissions to apply to which dataset?
The docker can create the directories, but is not able to write the actual files.
Error: The local file system returned an error with the following message:
Error Message: Operation not permitted
It likely doesn’t solve the issue, but it’s good practice. It also avoids the entryscript trying to chown the directory, which can mess up the permissions.
Can you post the output of the following commands:
I have tried running at user 3005:3002… but the container does not start. Well it starts running, but RAM usage stays low then it stops after 20 secs. There is nothing in the terminal of the container.
I think this is because the contrainer location (default ix-apps) needs to be run as 586, and there is nothing in the compose file about where the container is located (the mapped paths are for the config database and onedrive data itself).
I suspect the above is the reason this is not working… the app is running as user 586, but needs to be running as 3005:3002.
The container location does not matter for permissions. It does not have to be ran as user 586. Though I do not know why it doesn’t start.
In your ACL for /mnt/FastPool/Data/OneDrive/OneDrive-AJ the user 3005 is not given any permissions. Nor is any permission given to group 3002. You either have to give permission to the user 3005 or to the group 3002.
Your ACL for /mnt/FastPool/Docker/OneDrive-AJ looks good, you are giving permission for user 3005 and it will be inherited for both files and directories.
Just curious, did the webui show user 3005? Also what username is associated with that id? In the screenshot you only had three users that have access, but the console output has four.