Replace username
with the actual user
- Find the username users
Example:
users
jonathanaddington
- Move into the CloudStorage folder
cd /Users/jonathanaddington/Library/CloudStorage
-
Update ownership:
chown -R username:staff *
-
Update permissions
chmod -R o+rwx *
These commands kill and start the SharePoint and OneDrive processes, it isn't clear what the different between those two executables are. They run independently of each other but are both contained in OneDrive.app
This restarts the process named Microsoft SharePoint, but not the entire OneDrive client
Stop the process: pkill "Microsoft SharePoint"
Start the process: "/Applications/OneDrive.app/Contents/Microsoft SharePoint.app/Contents/MacOS/Microsoft SharePoint" &
This restarts the OneDrive client, but not the Microsoft SharePoint process.
Stop the process: pkill OneDrive
Start the process: /Applications/OneDrive.app/Contents/MacOS/OneDrive &