How to remove OneDriveFileProvide-Personal folder on macos

鈞浩 許 0 信譽點數
2025-01-08T12:17:15.99+00:00

I have already removed the OneDrive app, but the folder still contains the OneDriveFileProvider-Personal directory in /Users/user_name/Library/CloudStorage, and I can't remove it.

I tried the following commands:

sudo rm -rf OneDriveFileProvider-Personal sudo chflags -R nouchg,nodump OneDriveFileProvider-Personal chmod -N OneDriveFileProvider-Personal sudo chown -R $USER OneDriveFileProvider-Personal sudo chmod -R u+rwx OneDriveFileProvider-Personal lsof | grep "OneDriveFileProvider-Personal"  sudo kill -9 731 csrutil disable

Office
Office
一套 Microsoft 生產力軟體,可支援常見的商務工作,包括文字處理、電子郵件、簡報,以及資料管理和分析。
28 個問題
0 則留言 沒有留言
{count} 則投票

1 個回答

排序依據: 最實用
  1. Jiajing Hua-MFST 12,800 信譽點數 Microsoft 廠商
    2025-01-09T07:47:52.1966667+00:00

    Hi @鈞浩 許

    and I can't remove it.OneDriveFileProvider-Personal/Users/user_name/Library/CloudStorage

    Do you mean there is no "Move to Bin" option to delete this folder?

    I suggest you check whether you have enough permission to delete it. For more, you may refer to: Change permissions for files, folders or disks on Mac.

    If yes, you have Write & Read permission on it, it's recommended to install OneDrive back (When you sign in, OneDrive will prompt you that a folder already exists: select Use this folder.), and then unlink the account, check whether this "sync root" folder disappears.

    If not, please reset the OneDrive, check whether you can delete this folder.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 則留言 沒有留言

您的回答

問題作者可以將答案標示為「已接受的回答」,有助使用者知道此回答解決了作者的問題。