Mac废纸篓自动清除文件的解决办法

问题:
每次删除东西前,总是出现“Finder想要进行修改,键入您的密码以允许执行此操作”,按“好”后“废纸篓”里的“倾倒废纸篓”却显示灰色,电脑自动清除了文件。

解决:
1. Quit the "Terminal" application and relaunch it, to make sure that you are NOT logged in as another user (root for example). This is important, because the folder we create will get all the permissions from the parent folder (your "home" folder), and only the user who created the new ".Trash" directory (you) will be able to use it without restrictions.

2. In the Terminal type

sudo rm -frv ~/.Trash

to remove the old ".Trash" directory and all folders and files in the old ".Trash" directory.

3. In the Terminal type

mkdir -v ~/.Trash

to create a new ".Trash" directory in your "home" folder!

4. In the Terminal type

osascript -e 'tell application "Finder" to quit'

then

osascript -e 'tell application "Finder" to activate'

to restart the Finder!

5. Done! You can now move files in the trash!

reference:
http://bbs.weiphone.com/read-htm-tid-2813762.html

标签: mac

仅有一条评论

  1. test

    not bad

添加新评论