win7权限搞破头

  原本是xp系统,现在重装了win7 64位,结果E盘很多文件都丢失了权限,无法写入,我的dropbox文件夹也在里面。修改E盘根目录权限后还是无用,往上搜了很多方法都无用,只是把我的权限搞的更乱。windows确实很难用,权限设置那一块巨复杂,一般人根本无从掌握。

  搜了很多最后都没效果,E盘和dropbox文件夹都添加了我的账户,但是里面的文件还是没有权限,虽然我已经勾选了继承权限。里面的文件有一个一连串字符的用户:



  是原来xp账户的权限还是什么,不是很清楚,最后歪打正着,把dropbox文件夹剪切到其他正常权限的盘,然后再剪切回去,神奇的发现权限正常了,那个一连串字符的账户消失了,而我当前账户被添进去了。

  还记得刚拿到mac的时候,在system preference里找了一圈,很失望,因为一切都太简单了,让我觉得没有折腾的快感。。。但是最后使用起来让人非常满意。OSX可以很简单,也可以很复杂,这点实在让人佩服。

 

  最后是在英文微软论坛搜到一个详细的指导。

==============================================================================

http://social.technet.microsoft.com/Forums/windowsserver/en-US/1b55a043-3f37-4060-a562-8109d4a00c98/an-error-occurred-while-applying-security-information-to-cboot-cbootmgr-chiberfilsys



Windows 7
Are you getting these errors?
 “an error occurred while applying security information to: “filename”
“access is denied”
“you currently don’t have access to this folder”
File Folder Lock On Lock Off Icon
Note: you may want to create a “test folder” and test these instructions so you can get familiar with them. Also if you have lots of folders, subfolders and files your computer may take awhile to make all the changes. Just sit back and relax while it crunches away ;-)
If you are going to want access to all your folders and files start with the topmost folder as we will be making a selection that will apply the setting to all subfolders and files. Ill point this out when we get to it later. You may only want to do this to files that you use directly and not mess with system files etc. These instructions can help you with files already on your system or files that you are bringing in from an external drive or other source.
Here we go!
First we will be taking “ownership” of your files and folders (instructions 1-18) then we will be granting you the proper “permissions” (instructions 19-) ; these are two key principles you need to be aware of to properly manage your files. The good new is that once you make these changes they will persist and then you will be your local file guru!
Instructions:
TAKING OWNERSHIP (1-18):
1) Turn on your computer and log into windows with administrator privileges. If you are the only user of your computer then chances are the normal account you log in with has these privileges. If someone else set your computer up for you they may have the administrator privileges and you should check with them.
2) Right click on your top most folder and select properties.
3) Select the security tab at the top.
4) Don’t answer any questions that pop up just click the “advanced button” on the bottom right.
5) Click the owner tab.
6) Now click edit.
7) Then click on “you”, that is, the account that you just logged into your computer with, also known as your “username”.
8) Check the box “replace owner on subcontainers and objects”. I promised to point this out earlier. If you don’t check this box then any changes you make WON’T apply to the subfolders and files.
9) Click apply.
10) A dialog box should pop up with a message “You do not have…”
11) you should select “yes”
12) Another dialog box should pop up with a message “If you have just taken ownership …”
13) Select “OK”
14) Click “OK” again to close the “advanced security settings” screen were making changes to.
15) The next box should now show you as the current owner
16) Click “OK”
17) Click “OK” again to close the properties tab
18) We are now back at your folder listing. Congratulations! You are now the proud owner of your files! Take good care of them 
SETTING PERMISSIONS
19) OK, now let’s get started setting your permissions. Right click your topmost folder again and select properties.
20) Select the security tab at the top.
21) OPTIONAL: You will likely see a list of “group or user names” that have various permissions. You don’t need to make any changes to these. If you want to remove some then click edit, highlight a “group or user” and hit remove.
22) If you are not already listed we need to add “you” to the list, again by “you” I mean the name of the account  that you logged into your computer with to start this session when you logged into windows, in other words your “username”. Click “add” then type JUST your username that comes up when you first log in to your computer by entering your username and password. You shouldn’t’ include any pathnames JUST the username.
23) Click on “check names”; windows should find you.
24) Click “OK”.
25) Now you should be back at the “Permission/security” box
26) Check the “full control” box under “allow”. Scroll down and you will see you can do everything now. Hey, stop obsessing …the “special permissions” tab is OK unchecked…  It is there if you were to want to fine tune. You took full control already what else do you want  You are behind the driver’s wheel my friend, enjoy!
27) Select “apply”.
28) Select “OK”
29) Select “OK”
30) OPTIONAL (THE little LOCK): did a “lock” appear. It might have if you removed all other “group or user names” back in step 21. The lock just means that YOU alone have access to these files. It is not bad in fact it is an easy way to see that the folder is unshared in every way. If you want to experiment with the “lock” try this: Right click the folder again but this time DON’T select properties instead a little higher up on the list select “share with”: see the lock by “nobody”. You aren’t sharing with anybody and so there is a lock to signify that. To experiment you can click “specific people” type “guest” click “add” then click to highlight the new “guest row” leave the “read” box checked and click “share”. You are now sharing those folders or files with “YOU” and anyone that logs onto your machine as a “Guest” and the lock has disappeared. To bring the lock back: right click the folder, click “share”, click “nobody”. LOCK ON / LOCK OFF …hey your Kung Fu is pretty good! For further experimenting with the lock try this but first a security warning: (SECURITY WARNING: changing these sharing settings may share your files with anyone going through your router/homegroup. This may compromise your security. Always protect access to your wireless router by using passwords to get onto the wireless network and also setting router passwords to prevent access to the router itself). If you set up a “homegroup” on your network and select this choice the “lock” will disappear and your files can now be shared with anyone logged into your network.
• There could be multiple reasons for “access denied errors”. A nasty one is that the file/pathname is too long (>260 characters in Windows 7). You should start to shorten the root folder names as much as possible and bring down the longest path name to well under 260 characters (also including into that calculation the path where you will be copying the files).
Enjoy!
George
This is a draft document; please send me an email to let me know how it went for you and to help improve the document.

Comments

Popular posts from this blog

Nvidia Shield TV 2017 国行直接刷美版8.01固件

openwrt路由器忘记IP或端口等无法登录的解决方法

Thinkpad x13 Linux mint 无法正常休眠 (linux mint sleep problem)