How to fix permission to deny sync WorkDrive contents issue while using Desktop Sync?

How to fix the "Permission denied" sync issue in the Desktop Sync app?

The Desktop Sync app for Zoho WorkDrive makes working offline convenient by syncing data with multiple devices seamlessly. While the Desktop sync is predominantly a very dependable application, errors may occur sometimes due to the reasons mentioned below, leading to non-syncing your content to your Desktop folder.
  1. If you encounter this error, you may first have to ensure the drive the Sync folder is located on is not under any ransomware shield in your antivirus settings. If it is, then you may need to whitelist the Desktop Sync application in your antivirus settings.

  2. Make sure that the files inside the Zoho WorkDrive folder in your desktop is not kept hold by other applications installed in your computer. Quitting the application will help in the proper syncing of the latest contents of the file.
If the error persists, you will have to make sure your user account has complete access to the WorkDrive folder.
Never move the folder to an external hard drive or any other cloud drive, as that will prevent Zoho WorkDrive from accessing or syncing your files.

Follow the instructions below to achieve complete control over the WorkDrive folder for the below-mentioned computer operating systems.

For Windows users

  1. Close the Sync application.
  2. Press Windows+R to open the Run box. Type "cmd", then click OK to open a regular Command Prompt.
  3. Enter the command as per the below format, then click Enter:
    Formaticacls  “D:\Zoho WorkDrive (<Your Team Name>)" /grant “%Username%”:(F) /T


    Note:
    In the above format, update the provided sync folder path "D:\Zoho WorkDrive (Zylker)" with the appropriate path to your actual sync folder. For instance, if your sync folder is located in the Documents folder on the E: drive, the revised path would be "E:\Documents\Zoho WorkDrive (<Your Team Name>)".

  4. Restart the Desktop Sync application by searching for Zoho WorkDrive in the Start Menu, then launch the application.

For Mac users

  1. Quit the running Desktop Sync application by clicking Quit from the tray icon.



  2. Open your Terminal app (located at /Applications/Utilities/Terminal).
  3. Enter the following lines into the Terminal, one at a time, pressing Return after each one:

    sudo chflags -R nouchg ~/Zoho\ WorkDrive\ \(<Team Name>\) ~/.zohoworkdrive

    sudo chown "$USER" "$HOME"

    sudo chown -R "$USER" ~/Zoho\ WorkDrive\ \(<Team Name>\) ~/.zohoworkdrive

    sudo chmod -RN ~/.zohoworkdrive ~/Zoho\ WorkDrive\ \(<Team Name>\)

    chmod -R u+rw ~/Zoho\ WorkDrive\ \(<Team Name>\) ~/.zohoworkdrive




  4. If you've placed your WorkDrive sync folder in a custom location, replace ~/Zoho WorkDrive with your WorkDrive folder's full location (for example: /Users/username/Documents) in the above lines. Replace <Team Name> with your WorkDrive team name (for example: Zylker\ Creative).
    Note: Before entering spaces or other special characters, you must include a backward slash '\'.
Enter your computer user's password (not your Desktop Sync password) after entering the first command. The password field in the terminal will remain blank as you type your password. Press Return once you entered the password.

         4. Restart Desktop Sync from your Applications folder.

For Linux Users

  1. Close Desktop Sync by selecting Quit in the Sync menu.
  2. After opening a terminal window, enter the following lines into the terminal, one at a time, pressing Enter after each one:

    sudo chown "$USER" "$HOME"
    sudo chown -R "$USER" ~/Zoho\ WorkDrive\ \(<Team Name>\) ~/.zohoworkdrive
    sudo chattr -R -i ~/Zoho\ WorkDrive\ \(<Team Name>\)/
    sudo chmod -R u+rw ~/Zoho\ WorkDrive\ \(<Team Name>\) ~/.zohoworkdrive

    Notes:
    1. If you've placed your WorkDrive sync folder in a custom location, replace ~/Zoho WorkDrive with your WorkDrive folder's full location in the above lines. Replace <Team Name> with your WorkDrive team name
    2. Before entering spaces or other special characters, you must include a backward slash '\'.

  3. Restart Desktop Sync application by going to the Internet menu under Applications.