- #Batchmod mac reset permissions pkg files how to#
- #Batchmod mac reset permissions pkg files mac os#
- #Batchmod mac reset permissions pkg files code#
#Batchmod mac reset permissions pkg files code#
Like BatChmod, you can set the execute privilege and propagate privileges to the contents of folders, but XRay and FileXaminer also provide you with the actual code you would need to type in Terminal to achieve the same result - for example, CHMOD 644 for "read and write" for the owner and "read only" for everyone else - which is useful for those trying to understand the chmod command. Note that you cannot modify the permissions of locked files by enabling the Unlock option, BatChmod will unlock any locked files first and then perform the desired changes.īatchMod also has one other, slightly hidden, feature that can be quite useful: If you've got a stubborn file or folder in the Trash that refuses to delete, the Force Empty Trash command will do just that after you provide your username and password.įileXaminer and XRay If your file finagling needs are slightly more demanding, and you're willing to spend a few bucks for a more powerful tool, you'll want to check out Rainer Brockerhoff's $10 XRay and Gideon Softworks $10 FileXaminer.īoth utilities allow you to change settings available via the Finder's Get Info window, but both also go much further. If the change requires administrative authorization, you'll be asked for your admin-level username and password. You simply drag a file or a folder of files onto the BatChmod icon or window (or click the File button and navigate to the file or folder) choose the desired Owner, Group, and privileges, enabling the "Apply ownership and privileges" option for enclosed files and folders, if desired and then click the Apply button. Named after the Unix command chmod, which is used to change permissions on files in Terminal, but pronounced "batch-mod" for its ability to recursively apply such changes, BatChmod is both effective and easy to use. If you really need to recursively change owner or group ownership of a directory of files, and/or their permissions, a better approach is to use Renaud Boisjoly's donationware BatChmod.
(And unless you're the owner of the files/folders in question, it won't even let you apply the permissions.) Second, you can't modify the "execute" privileges of files via Get Info.
#Batchmod mac reset permissions pkg files mac os#
More info on some of these topics can be found in our Tutorials section, including articles that cover permissions, invisible files, and, tangentially, file types and extensions.īatChmod Mac OS X's own Get Info window lets you change the owner, group, and corresponding permissions of a file or folder, but it has a couple significant limitations: First, when working with a folder of files, clicking the "Apply to enclosed items" button does change the permissions of enclosed files, but sometimes it doesn't change the Owner and Group settings.
#Batchmod mac reset permissions pkg files how to#
are, but you just want some tips on how to work with them. Note: This article assumes that you know what most file attributes - file permissions, owners, and groups type and creator codes filename extensions invisibility, etc. These definitely aren't the only such utilities out there, but they're the ones that I think stand out - and the ones I turn to when I need to get something done. In today's column, I'm going to talk about some of my favorite utilities for working with files. Here at MacFixIt, we're frequently asked how to make such changes without resorting to Terminal or obscure developer tools. There may also be times when you want to manipulate files - move them, rename them, and so on - in a more efficient manner than can be done in the Finder. But there are times, especially during troubleshooting, when instead of editing the contents of files, you need to change file settings: permissions, file types, extensions, or even obscure attributes such as visibility. Our monthly Troubleshooting Tools column, penned by MacFixIt Contributing Editor Dan Frakes, covers products that can help you maintain and fix your Mac.įor the most part, you work with your files in Mac OS X, not on them.