Unlock multiple folders files mac

You've decided to leave a comment. That's fantastic!

Helpful answers

Check out our comment policy here. Let's have a personal and meaningful conversation. Save my name, email, and website in this browser for the next time I comment. Notify me of follow-up comments by email. Skip to content. Hide the File with System Commands macOS offers a couple ways that allow experienced users to employ system functionality to hide files. Is this article useful? Yes No. Leave a comment. Facebook Tweet. Leave a Comment Cancel reply Yeah! Contact me by phone only.

Post navigation Previous story. That way I don't have to backup everything in case I have to reformat the system volume, and reinstall the system. And if one were to execute it from root for whatever reason it wouldn't work at all. So perhaps better to simply hard-code the location of the Users folder you intend to manage. Guess I should always read ALL the man page And: does anyone know if the "home" property is ok for OSX server too? Since you are using csh have the shell do the work for you. As a bonus it will work with both short and long names; including longnames that have spaces because of the quotes.

You don't have to know how to write code. It's actually pretty simple. The easiest way to do it is to open the folder that all of the locked folders are in. Single click the folder and type command I as in the letter "I". At the bottom right of the info screen click the lock. Type in your administrator password which will unlock the permissions.

Now for the cool part. At the very bottom just to the right of the zoom icon, click once and a drop down menu opens. Select "apply to enclosed items" and every folder and program within that folder and ALL subfolders will be unlocked.

Locking files and folders to prevent changes - Mac OS X Hints

You can do the same thing for batch locking programs, or for that matter, changing permission on any amount of files. You are welcome!

Hide the File with System Commands

It also can and does make a mess of things sometimes! Terminal commands are faster to implement and also scriptable. I used the finder to change some permissions on the Homedir folder and propagated them down.

How to unlock multiple files easily?

It made a mess of the home folder permissions and no one could log in. As we are on a live system I had to find a quick solution rather than going through each of the users. Luckily the students have not found out they have access to each others folders yet As i changed it in the finder, I am now also the owner of all the folders that i changed. Will this script work to change the network home folders permissions back to default? Thanks, Rob. I would advise buying a copy of Passenger as a System Admin with this many users.

It does a lot of really cool stuff including resetting permissions on HomeDir to defaults. You will need to do an export of your users, import into passenger batch permissions, change the Base Path to location of HomeDirs on your server you can find this out in Workgroup manager and run It should sort your issues out Thanks for this, I actually have a trial copy of passenger already, I used it for importing the users but i didn't know it had this function.

I'll try this , Thanks! Lost your password? Powered by the Parse.

Unlock multiple files simultaneously on MacOS - Unlock Multiple Files MacOS

The permissions on OS X Server home directories can get screwed up during reinstalls, hard drive swapping, or by users who know enough to be dangerous. This shell script goes through and corrects the permissions and owners on all user folders so you don't have to do it manually.

  • Set the Hidden Flag in Terminal;
  • Deleting: Problems Deleting Files.
  • Better Unlock Stubborn Files.
  • Hint Options?
  • 2. Hidden /private/var Folder.
  • How to Lock Files and Folders in Mac OS X.
  • mac mail keeps crashing 10.5.8.

Then type sudo resetusers to run it. If you are not running a NetInfo domain, use nireport. Use egrep to subtract any users who either have home directories in a different location like root or don't have home directories at all.