Sometimes theres a need to dig around in the OS X file system without restriction, (which also means without protection) for example should you need access to files or folders, but don’t fancy switching permissions or playing with complex terminal commands.

Using the single lined command below in terminal you can launch an instance of finder which doesn’t hold any of the restrictions that your normal finder window holds.

Bear in mind this will also give you the ability to cause serious damage to your file system, should you go messing with things you shouldn’t.

Copy and paste the following into a terminal window and press return.

sudo /System/Library/CoreServices/

You will be prompted for your password, then a new finder instance should launch. It it doesn’t you should see a second set of icons overlaying your desktop icons. Double click the ‘root’ icon, and it should launch finder as root.

Remember boys and girls.. Be careful in there!

Using the Redemption object you can use the following code to reset the permissions on a folders sub folders in outlook to leave the Default permissions.

Handy if you need to reset permissions on large numbers of folders.

Sub scall()
Dim TopFolder
Set mySession = CreateObject("Redemption.RDOSession")
Set TopFolder = mySession.PickFolder
For i = 1 To TopFolder.Folders.Count
Debug.Print ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>> " & TopFolder.Folders(i).Name
For Each ace In TopFolder.Folders (i).ACL
Debug.Print ace.Name & " - " & ace.rights
If ace.Name "Default" Then
Debug.Print ">>>>>>>>>>>>>>>
Deleted " & ace.Name
If ace.rights > 0 Then
ace.rights = 0
Debug.Print "<<<<<<<<<<<<<<< Rights Reset"
Debug.Print "< Rights default"
End If
End If
End Sub

Page 1 of 11

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!


* = required field

powered by MailChimp!