Share via

Can't Rename Files & Folders on Mac

Anonymous
2023-07-27T15:11:50+00:00

Software: OneDrive for mac

OS: macOS Ventura 13.4.1

OneDrive version: 23.137.0702.0001 (Standalone) (Apple silicon)

Symptoms:

All newly created files under the "Onedrive" folder does not allow me to rename or edit (autosave) it.

It seems that the permission to do so is not automatically granted.

WORKS: Creating new files under Onedrive sync folder, using respective office apps (Word, Powerpoint, Excel, ...)

DON'T: Creating new files under Onedrive sync folder, using macOS system (copy and paste, duplicate, ...) or any third-party apps

TRIED: clean re-installing all microsoft software, booting in macOS safe mode, logging in and out again for macOS and microsoft account, removing all downloaded files from onedrive and reinstalling (all did not work out.)

Error message: the file can't be renamed. you don't have permission to rename this file.

Microsoft 365 and Office | OneDrive | For home | MacOS

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

9 answers

Sort by: Most helpful
  1. Anonymous
    2023-10-19T17:52:13+00:00

    For me, I closed the folder and reopened it through OneDrive "Open Folder" button, and it resolved the renaming issue.

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-08-03T10:05:33+00:00

    Hi

    Thanks for these tips. I have this same issue, but it only seems to affect new files/folders that are synced from sharepoint.

    Most older files rename just fine, but new files cannot be renamed - even the menu item disappears, but only on these files.

    The workaround for now is to keep files on desktop and rename them there first.

    -G

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-07-27T16:13:49+00:00

    Hello there,

    Thank you for providing the details about the issue you are facing with OneDrive for Mac.

    Based on the symptoms and the troubleshooting steps you have already taken, it seems like there might be a permissions-related problem with the OneDrive sync folder on your macOS. To resolve this issue, you can try the following steps:

    1. Check Folder Permissions:
      • Right-click on the "OneDrive" folder in Finder and select "Get Info."
      • In the Info window, scroll down to the "Sharing & Permissions" section.
      • Ensure that your user account has "Read & Write" access. If not, click on the lock icon, enter your administrator password, and then add your user account with Read & Write access.
    2. Repair Disk Permissions:
      • Open "Disk Utility" (you can find it in the "Utilities" folder under "Applications").
      • Select your system disk (usually named "Macintosh HD") from the left sidebar.
      • Click on the "First Aid" tab, then click "Run" to repair disk permissions.
    3. Reset OneDrive Preferences:
      • Quit OneDrive by clicking on the OneDrive icon in the menu bar and selecting "Quit OneDrive."
      • Open the Terminal app (you can find it in the "Utilities" folder under "Applications").
      • Copy and paste the following command into the Terminal window and press Enter:

    defaults delete com.microsoft.OneDrive

    • Restart your Mac and then relaunch OneDrive.
    1. Check for macOS Updates:
      • Ensure that your macOS is up to date by going to the Apple menu, selecting "About This Mac," and clicking on "Software Update." Install any available updates.
    2. Contact Microsoft Support:
      • If the issue persists after trying the above steps, it's best to contact Microsoft Support for further assistance. They may have additional troubleshooting steps or insights specific to your setup.

    Remember to back up important data before attempting any significant changes to your system.

    I hope these steps help resolve the problem with renaming files and folders on OneDrive. If you have any more questions or need further assistance, please feel free to ask.

    Best regards, Ivan

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2023-10-07T19:13:39+00:00

    Just a note then when I ran this command:

    defaults delete com.microsoft.OneDrive
    

    I got this response:

    Domain (com.microsoft.OneDrive) not found.

    Defaults have not been changed.

    However, some investigation revealed that "com.microsoft.OneDrive-mac" is a domain in my Mac's defaults, so instead I ran this command, which executed without errors:

    defaults delete com.microsoft.OneDrive-mac
    

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2023-10-10T13:39:56+00:00

    Did it fix the issue?

    Was this answer helpful?

    0 comments No comments