Forum Discussion
Onedrive readonly (green locks)
The reason that OneDrive Client (testing with Version 2016 - Build 17.3.6917.0607) sets the files as read only and changes the icon from a green checkmark to a green padlock is that the SharePoint library has at least one of the following:
- Check In/Out functionality feature enabled
- A column set as Required
See in the following sequence of images how the local OneDrive files change from writable to read only when Check In functionality in the source library is enabled.
Folder with files from a library with no check in enabled
SharePoint library with no check in enabled
SharePoint library with no check in enabled - Library Settings
SharePoint library with no check in enabled - Library Settings MenuSharePoint library with no check in enabled - Versioning SettingsSharePoint library with check in enabled - Versioning SettingsSharePoint library with check in enabled
So, the solution to make the local OneDrive files writable is both:
- To disable Check In functionality in the source SharePoint library
- To make all columns not Required
Thanks
- Nicolle BriceMar 25, 2019Brass Contributor
Hi, I have tried all these suggestions and nothing works. The site is a subsite which has been built from a site template. Content types for the document library are from the parent site. Includes folder content types. Per-location views are enabled and default column values per folder. I have stripped the library right back and the problem persists. This is a huge problem as there are hundreds of project sites based on this template. Mandatory metadata has been turned off, check out required off, content approval off... There is a retention hold policy on the site, yet other libraries on the same site can be sucessfully synced, so the issue is definitely with the library.
- Mar 25, 2019Have you worked with MS on this?
- Nicolle BriceApr 12, 2019Brass Contributor
Yes we have a premiere support ticket. Ticket #:13695302 adam deltinger Fennix Mach
A few weeks ago, several document libraries started syncing in Read Only mode. The cause – several columns suddenly became mandatory behind the scenes.
The site content types show the columns as optional, but mandatory columns from the base content type have re-appeared behind the scenes – hidden from view.
These columns are Owner, Record Type and Sensitivity.
Fix
- Go to “Library Settings” > “Advanced Settings”
- In the first option, choose “No” on “Allow management of content type”
- Then the column will display the “Required” tab in the library settings as my following first screenshot
- Click the columns which are required, and change to option “Require that this column contains information” to No
After changing the columns back to optional, the folder in OneDrive should become available immediately
Then we could go back to “Advanced Settings”, then enable content type again
Finally, check that the files are again editable in OneDrive.
this is a bug. We have asked Microsoft to investigate what changed. We have this problem for thousands of libraries and the workaround is unacceptable.