Skip to content

v0.2.0-beta.16

Pre-release
Pre-release

Choose a tag to compare

@UniqueDroid UniqueDroid released this 28 Oct 08:10
· 44 commits to main since this release
7eb83cb

Test version: OneDrive works right after signing in (#92); a failed "Add" can be repeated; downloads of an admin cloud job into a personal folder belong to its user (#91). Details below.

What's Changed

Full Changelog: v0.2.0-beta.15...v0.2.0-beta.16


  • OneDrive works right after signing in (#92). rclone asks for the drive of a OneDrive account only in its interactive setup; the web interface creates the remote non-interactively, so rclone.conf got the token but no drive_id/drive_type, and every job failed until rclone config reconnect over SSH. Now ShareOS reads the drive of the signed-in account from Microsoft Graph (/me/drive) and writes both values. Accounts added before still need that reconnect, or remove and add them again.
  • "Sign in first" after a failed "Add" (#91). The sign-in was used up before rclone had created the remote, so when that failed (for a user before beta.14: rclone on the apps drive was not reachable for users, see beta.14), every further "Add" said "sign in first". The sign-in is now kept until the remote exists.
  • Downloads of an admin cloud job into a personal folder belong to its user (#91). A share can point into a personal folder (home/<user>); such folders keep their own rights (no share ACLs), so files that an admin job downloaded there belonged to root, were closed to the user (drwx------ root) and did not count towards the user's storage limit. After a download or mirror into /mnt/<volume>/home/<user>/… the files root created are now handed to that user. Files downloaded before are fixed by the next run of the job.
  • Tests: tests/test-cloud-paperless.sh checks a OneDrive remote with a faked Microsoft Graph, that the users of a share can open what a system job downloaded into it, and that a download into a personal folder belongs to its user.