You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Using "Apply to Enclosed Items" on a Home folder

The "Apply to Enclosed items" feature in the Sharing & Permissions" section of a Get Info window can have undesired consequences when applied to a home folder or one of its system-supplied subfolders (Documents, Desktop, Pictures, etc). This issue seems to come up a lot, and so I thought I would share some recent testing that I've done.


Apple has an earlier Leopard support article about this issue:

Mac OS X 10.5: Renaming or saving after using "Apply to enclosed items" on a Home folder


I've tried to explore this on my own dual-boot Snow Leopard-Lion setup, using a newly-created admin account on both systems for testing. Here are my results:


In both Lion and Snow Leopard, the home folder and its main subfolders carry an "everyone deny delete" ACL, a custom permission that does not show up in the Get Info window.


In Lion, but not in Snow Leopard, using "Apply to enclosed items" on the home folder propagates that "everyone deny delete" ACL onto the contained user data files and folders. There is no outward sign that this has happened, but if you then try to rename or Trash one of your user files or folders, you will need to authenticate your action with your admin password. This is clearly undesirable.


Once this happens, you cannot recover just by running the "Reset Home Folder Permssions and ACLs" utility that is on the Recovery HD. This will not remove the unwanted ACLs that are on the user-created items. The Terminal command "chmod -RN ~" will remove the unwanted ACLs, but will also remove the original desired ACLs on the home folder itself and on its main subfolders. When I ran this command I also received the error message "chmod: Failed to clear ACL on file ubiquity.socket: Invalid argument," This didn't seem to matter - the command still cleared the other ACLs properly.


THe recovery strategy of first running "chmod -RN ~", and then running the "Reset Home Folder Permissions and ACLs" utility on the Recovery HD seemed to work well. Except for the location of the utility program, this is equivalent to Apple's recommended procedure in the Leopard support article mentioned above. That article advised using sudo chmod -RN ~; I did not need the sudo.


At least in my system, Snow Leopard seemed to have a safeguard that was missing in Lion - as mentioned, in my Snow Leopard system the ACL on the home folder did not get propagated to the contained user items after using the "Apply to enclosed items" feature.


If anyone has done some testing and gotten different results from the above, please post details.


My own view is that to avoid all these issues a safe rule would be not to use "Apply to enclosed items" on any folder that you did not create yourself.

Mac Mini, Mac OS X (10.6.8), dual-boot Lion OS X 10.7.2

Posted on Dec 18, 2011 7:23 AM

Reply
15 replies

Dec 18, 2011 7:33 AM in response to jsd2

My own view is that to avoid all these issues a safe rule would be not to use "Apply to enclosed items" on any folder that you did not create yourself.

That has been my view for a long time. I'm pretty sure the ACLs were propagated at some point in Snow Leopard's history, also. Perhaps they fixed it with one of the updates along the way.


Your method of cleaning up the home folder is also documented in a MacFixIt - CNET article going back to Leopard. I had thought I found it on Apple's support pages, too, but have never found it again, so I always refer people to the MacFixIt page with the caveat that you can use the Snow Leopard and now Lion Recovery partition the same way as it describes. I can now point people to your post instead.


Thanks for putting the time into researching this.

Dec 18, 2011 8:55 AM in response to jsd2

As I recall, there was a bit of carnage when people were moving from Tiger (ACL's optional) to Leopard (ACL's enabled), since the "Apply to enclosed items" was used a bit before ACL's were the norm.


I don't use "Apply to enclosed items" on system created folders, so I also hadn't noticed this throwback behavior before (confirmed on my system as well) - there really needs to be a decent GUI utility included for managing ACL's (I wind up referring people to TinkerTool System a lot, since Sandbox hasn't been updated in quite a while). You can also use the following from the Terminal for restoring the default ACL's after removing all of them with chmod -RN ~:


chmod +a "everyone deny delete" ~/ ~/Desktop ~/Documents ~/Downloads ~/Library ~/Movies ~/Music ~/Pictures ~/Public ~/Sites

Jan 31, 2012 7:43 PM in response to jsd2

I foolishly clicked "Apply Permissions to Eclosed Items" for a folder on my external hard drive, and now when I view that folder in Finder, all of the files are missing...the sub-folders are all still there, but they are empty as well.


I have not been able to find any help on how to fix this, do you have any idea how I can go about resetting the permissions for a folder on an external hard drive??


Thank You!

Feb 1, 2012 4:30 AM in response to cbriggsby

On an external data drive, Apply to Enclosed is not a problem. What you've apparently done is prevent yourself from reading the data.

If you don't need permissions on the external, then if you Get Info on it, you can check the box to ignore permissions on that drive. It is down with the sharing and permission settings.


What are the permissions on that folder?

Feb 1, 2012 5:59 PM in response to Barney-15E

total 31352488

drwxr-xr-x 163 christian staff 10269 Jan 18 21:37 .

drwxrwxr-x@ 35 christian staff 2205 Jan 24 16:52 ..

srw-r--r--@ 1 christian staff 67588 Jan 23 23:22 .DS_Store

srw-r--r-- 1 christian staff 4096 Mar 4 2011 ._.DS_Store

drwxr-xr-x 7 christian staff 441 Nov 3 01:05 127 Hours (2010)

srw-r--r-- 1 christian staff 733956096 Mar 7 2011 25th Hour (2002).avi

srw-r--r-- 1 christian staff 1467586494 Dec 30 18:37 30.Minutes.Or.Less.2011.BDRip-HDT.avi

drwxr-xr-x 7 christian staff 441 Jan 11 02:12 300 (2006)

drwxr-xr-x 5 christian staff 315 Mar 7 2011 A Nightmare On Elm Street (2010)

drwxr-xr-x 5 christian staff 315 Mar 22 2011 Ace Ventura Pet Detective [Collection]

drwxr-xr-x 4 christian staff 252 Mar 7 2011 Adventures In Babysitting (1987)

drwxr-xr-x 6 christian staff 378 Jul 14 2011 American History X (1998)

drwxr-xr-x 3 christian staff 189 Mar 15 2011 Anchorman [Unrated] (2004)

drwxr-xr-x 11 christian staff 693 Mar 21 2011 Anne Of Green Gables I,II,III - Megan Follows 1985,'87,'99

drwxr-xr-x 6 christian staff 378 Nov 16 21:21 Battle Los Angeles (2011)

drwxr-xr-x 6 christian staff 378 Nov 21 13:12 Best In Show (2000)

drwxr-xr-x 9 christian staff 567 Jan 31 21:05 Black Swan (2010)

drwxr-xr-x 4 christian staff 252 Nov 16 21:31 Blade (1998)

drwxr-xr-x 4 christian staff 252 Mar 16 2011 Blades Of Glory (2007)

drwxr-xr-x 7 christian staff 441 Jun 28 2011 Blow (2001)

drwxr-xr-x 5 christian staff 315 Mar 21 2011 Blue Chips (1994)

drwxr-xr-x 6 christian staff 378 Oct 2 20:25 Bridesmaids (2011)

drwxr-xr-x 4 christian staff 252 Mar 15 2011 Caddyshack (1980)

drwxr-xr-x 7 christian staff 441 Nov 16 20:42 Captain America - The First Avenger (2011)

drwxr-xr-x 6 christian staff 378 Nov 19 22:50 Cars (2006)

drwxr-xr-x 7 christian staff 441 Nov 20 01:08 Cars 2 (2011)

drwxr-xr-x 7 christian staff 441 Jul 15 2011 Cedar Rapids (2011)

srw-r--r-- 1 christian staff 733995008 Mar 24 2011 Cirque du Soleil - Love.avi

drwxr-xr-x 7 christian staff 441 Jan 16 00:18 Contagion.2011.720p.BRRip.XviD.AC3-ViSiON

drwxr-xr-x 4 christian staff 252 Nov 16 21:34 Cyrus (2010)

drwxr-xr-x 5 christian staff 315 Jun 28 2011 Dave Chappelle - Killin Them Softly (2003)

drwxr-xr-x 5 christian staff 315 Apr 19 2011 Dave Chappelle's Block Party

drwxr-xr-x 4 christian staff 252 Mar 7 2011 Despicable Me (2010)

drwxr-xr-x 4 christian staff 252 Mar 7 2011 Dinner for Schmucks (2010)

drwxr-xr-x 6 christian staff 378 Mar 13 2011 Don't Be a Menace to South Central While Drinking Your Juice in the Hood (1996)

drwxr-xr-x 5 christian staff 315 Nov 16 21:24 Donnie Brasco [Extended Cut] (1997)

srw-r--r-- 1 christian staff 733085696 Mar 7 2011 Due Date (2010).avi

drwxr-xr-x 9 christian staff 567 Mar 21 2011 Eight Men Out (1988)

drwxr-xr-x 5 christian staff 315 Nov 16 20:51 Envy (2004)

drwxr-xr-x 4 christian staff 252 Mar 10 2011 Eternal Sunshine of the Spotless Mind (2004)

drwxr-xr-x 5 christian staff 315 Nov 16 20:44 Everything Must Go (2010)

drwxr-xr-x 6 christian staff 378 Nov 16 20:43 Fast Five (2011)

drwxr-xr-x 6 christian staff 378 Apr 5 2011 Forgetting Sarah Marshall [Unrated] (2008)

drwxr-xr-x 6 christian staff 378 Mar 22 2011 Get Him to the Greek (2010)

srw-r--r-- 1 christian staff 2103478849 Mar 28 2011 Gladiator.m4v

drwxr-xr-x 5 christian staff 315 Nov 16 21:14 Good Will Hunting (1997)

drwxr-xr-x 3 christian staff 189 Nov 16 20:57 Grease (1978)

drwxr-xr-x 6 christian staff 378 Nov 16 20:43 Green Lantern [Extended] (2011)

drwxr-xr-x 7 christian staff 441 Jul 14 2011 Gremlins (1984)

drwxr-xr-x 7 christian staff 441 Mar 22 2011 Groundhog Day (1993)

drwxr-xr-x 4 christian staff 252 Jul 11 2011 Hall Pass {2011} 720p BRRip x264 - Mr. KickASS

drwxr-xr-x 6 christian staff 378 Nov 16 20:45 Hanna (2011)

drwxr-xr-x 4 christian staff 252 Mar 21 2011 He Got Game (1998)

drwxr-xr-x 10 christian staff 630 Jan 11 01:41 Hereafter (2010)

drwxr-xr-x 5 christian staff 315 Nov 16 20:42 Horrible Bosses (2011)

drwxr-xr-x 6 christian staff 378 Jul 14 2011 Hot Fuzz (2007)

drwxr-xr-x 4 christian staff 252 Mar 22 2011 How Do You Know (2010)

drwxr-xr-x 6 christian staff 378 Jul 14 2011 I Am Legend (2007)

drwxr-xr-x 4 christian staff 252 Mar 7 2011 I Love You Man (2009)

drwxr-xr-x 5 christian staff 315 Nov 16 21:25 IMAX Space Station (2002)

drwxr-xr-x 7 christian staff 441 Nov 16 21:37 Inception (2010)

drwxr-xr-x 4 christian staff 252 Nov 16 21:38 Into The Wild (2007)

drwxr-xr-x 5 christian staff 315 Mar 7 2011 Iron Man 2 (2010)

drwxr-xr-x 7 christian staff 441 Nov 16 21:36 It's Kind Of A Funny Story (2010)

drwxr-xr-x 4 christian staff 252 Mar 7 2011 ******* 3D UNRATED (2010)

srw-r--r-- 1 christian staff 725737472 Mar 13 2011 Juice (1992).avi

drwxr-xr-x 7 christian staff 441 Jul 22 2011 Kill Bill Boxset 720p

drwxr-xr-x 5 christian staff 315 Mar 7 2011 Les Miserables (1998)

drwxr-xr-x 7 christian staff 441 Nov 16 20:57 Limitless (2011)

drwxr-xr-x 9 christian staff 567 Nov 16 20:40 Lord of the Rings - Trilogy [Extended Cut] 720p

drwxr-xr-x 5 christian staff 315 Mar 7 2011 MacGruber (2010)

drwxr-xr-x 4 christian staff 252 Mar 7 2011 Man On Fire (2004)

srw-r--r-- 1 christian staff 1106855936 Mar 8 2011 Man on the moon (1999).avi

drwxr-xr-x 6 christian staff 378 Jan 16 00:17 Margin Call LIMITED 2011 720p BRRip x264 AAC - KiNGDOM

drwxr-xr-x 7 christian staff 441 Jan 7 22:02 Margin.Call.BRRIP.MP4.x264.720p-HR

drwxr-xr-x 5 christian staff 315 Mar 10 2011 Me Myself and Irene (2000)

drwxr-xr-x 4 christian staff 252 Nov 16 21:17 Meet The Fockers (2004)

drwxr-xr-x 5 christian staff 315 Nov 16 21:25 Meet The Parents (2000)

drwxr-xr-x 7 christian staff 441 Jan 7 22:03 Megamind 2010 720p BRRip x264-HDLiTE

drwxr-xr-x 5 christian staff 315 Nov 16 21:05 Memento (2000)

drwxr-xr-x 9 christian staff 567 Jan 16 00:18 Moneyball 2011 720p BRRip x264 vice

drwxr-xr-x 8 christian staff 504 Jan 16 16:17 Moneyball 2011 BRRip 720p x264 AAC - KiNGDOM

drwxr-xr-x 6 christian staff 378 Jul 14 2011 My Cousin Vinny (1992)

drwxr-xr-x 3 christian staff 189 Mar 8 2011 Observe and Report (2009)

drwxr-xr-x 6 christian staff 378 Jul 14 2011 Office Space (1999)

drwxr-xr-x 5 christian staff 315 Mar 7 2011 Old School - Unrated (2003)

drwxr-xr-x 4 christian staff 252 Mar 7 2011 Outside Providence (1999)

drwxr-xr-x 6 christian staff 378 Nov 16 21:08 Paranormal Activity 2 (2010)

drwxr-xr-x 6 christian staff 378 Jun 23 2011 Paul [EXTENDED] (2011)

drwxr-xr-x 4 christian staff 252 Mar 8 2011 Pineapple Express - Unrated (2008)

drwxr-xr-x 7 christian staff 441 Jul 22 2011 Rango [EXTENDED] (2011)

drwxr-xr-x 6 christian staff 378 Jul 14 2011 Ratatouille (2007)

drwxr-xr-x 8 christian staff 504 Jan 7 22:03 Rise of the Planet of the Apes 2011 1080p BRRip x264 aac vice (HDScene Release)

drwxr-xr-x 6 christian staff 378 Jan 7 22:01 Rise.of.the.Planet.of.the.Apes.2011.720p.BRRip.x264.Feel-Free

drwxr-xr-x 4 christian staff 252 Nov 16 21:29 Rocky IV (1985)

drwxr-xr-x 4 christian staff 252 Mar 7 2011 Role Models (2008) [Unrated Edition]

drwxr-xr-x 4 christian staff 252 Mar 16 2011 Rudy (1993)

drwxr-xr-x 5 christian staff 315 Jan 7 22:05 Scrooged 1988 DvDrip[Eng]-greenbud1969

drwxr-xr-x 4 christian staff 252 Mar 7 2011 Se7en (1995)

drwxr-xr-x 4 christian staff 252 Mar 15 2011 Semi-Pro (2008)

drwxr-xr-x 4 christian staff 252 Mar 7 2011 Sex And The City 2 (2010)

srw-r--r-- 1 christian staff 1788156548 Oct 9 21:43 Sleepy Hollow (1999).mkv

drwxr-xr-x 7 christian staff 441 Nov 20 01:10 Something Borrowed (2011)

drwxr-xr-x 5 christian staff 315 Nov 16 20:40 Source Code [2011]

drwxr-xr-x 4 christian staff 252 Mar 7 2011 Step Brothers UNRATED (2008)

drwxr-xr-x 6 christian staff 378 Dec 10 00:40 Super 8 (2011)

drwxr-xr-x 4 christian staff 252 Nov 16 21:32 Super Troopers (2001)

drwxr-xr-x 7 christian staff 441 Nov 3 01:03 Superman Returns (2006)

drwxr-xr-x 7 christian staff 441 Nov 20 01:11 Take Me Home Tonight (2011)

drwxr-xr-x 5 christian staff 315 Mar 15 2011 Talladega Nights (2006)

drwxr-xr-x 6 christian staff 378 Nov 16 20:52 Tangled (2010)

drwxr-xr-x 7 christian staff 441 Nov 16 21:33 Team America World Police [Unrated] (2004)

drwxr-xr-x 5 christian staff 315 Mar 15 2011 The A-Team (2010) [Extended]

drwxr-xr-x 7 christian staff 441 Nov 25 01:14 The Adjustment Bureau (2011)

drwxr-xr-x 4 christian staff 252 Mar 7 2011 The Book of Eli (2010)

drwxr-xr-x 4 christian staff 252 Mar 7 2011 The Cable Guy (1996)

drwxr-xr-x 5 christian staff 315 Mar 7 2011 The Cell (2000)

drwxr-xr-x 6 christian staff 378 Jun 28 2011 The Company Men (2011)

drwxr-xr-x 6 christian staff 378 Nov 26 17:41 The Day After Tomorrow (2004)

drwxr-xr-x 9 christian staff 567 Mar 21 2011 The Expendables (2010)

drwxr-xr-x 8 christian staff 504 Jan 16 00:19 The Fighter 2010 720p BRRip x264-HDLiTE

drwxr-xr-x 7 christian staff 441 Nov 16 21:20 The Green Hornet (2011)

drwxr-xr-x 5 christian staff 315 Dec 10 00:40 The Hangover - Part II (2011)

drwxr-xr-x 6 christian staff 378 Jan 11 02:21 The Hangover - Unrated (2009)

drwxr-xr-x 6 christian staff 378 Jan 7 22:03 The Help [2011] 720p BRRip H264 AAC - CODY

drwxr-xr-x 4 christian staff 252 Nov 16 21:09 The Kingdom (2007)

drwxr-xr-x 8 christian staff 504 Nov 16 20:50 The Kings Speech (2010)

drwxr-xr-x 7 christian staff 441 Nov 20 01:10 The Little Mermaid (1989)

drwxr-xr-x 8 christian staff 504 May 19 2011 The Matrix Box Set

srwxr-xr-x 1 christian staff 2252971957 May 17 2011 The Matrix Revolutions.mp4

drwxr-xr-x 5 christian staff 315 Mar 16 2011 The Mechanic (2011)

drwxr-xr-x 5 christian staff 315 Nov 16 20:57 The Money Pit (1986)

drwxr-xr-x 4 christian staff 252 Mar 15 2011 The Next Three Days (2010)

drwxr-xr-x 5 christian staff 315 Mar 15 2011 The Other Guys (2010) [Extended]

drwxr-xr-x 3 christian staff 189 Mar 16 2011 The Program (1993)

drwxr-xr-x 5 christian staff 315 Jul 14 2011 The Simpsons Movie (2007)

drwxr-xr-x 7 christian staff 441 Jan 11 01:54 The Social Network (2010)

drwxr-xr-x 6 christian staff 378 Mar 7 2011 The Town [Extended Cut] (2010)

drwxr-xr-x 4 christian staff 252 Mar 10 2011 The Truman Show (1998)

drwxr-xr-x 7 christian staff 441 Jul 14 2011 The Usual Suspects (1994)

srw-r--r-- 1 christian staff 734281728 Mar 5 2011 The Usual Suspects (1995).avi

drwxr-xr-x 5 christian staff 315 Nov 16 20:50 Thor (2011)

drwxr-xr-x 6 christian staff 378 Nov 3 01:04 Tommy Boy (1995)

drwxr-xr-x 4 christian staff 252 Mar 7 2011 Toy Story 3 (2010)

drwxr-xr-x 7 christian staff 441 Jul 14 2011 Training Day (2001)

drwxr-xr-x 6 christian staff 378 Nov 16 20:46 Transformers - Dark Of The Moon (2011)

drwxr-xr-x 8 christian staff 504 Mar 22 2011 Tron Legacy (2010)

drwxr-xr-x 6 christian staff 378 Mar 29 2011 Tropic Thunder [UNRATED] (2008)

drwxr-xr-x 6 christian staff 378 Mar 21 2011 Troy [Director's Cut] (2004)

drwxr-xr-x 6 christian staff 378 Jun 23 2011 True Grit (2010)

drwxr-xr-x 3 christian staff 189 Mar 8 2011 True Romance (1993)

srw-r--r-- 1 christian staff 1468358656 Apr 6 2011 UP IN SMOKE TOUR [DVDRip].avi

drwxr-xr-x 6 christian staff 378 Jun 22 2011 Unknown (2011)

drwxr-xr-x 4 christian staff 252 Mar 11 2011 Unstoppable (2010)

drwxr-xr-x 4 christian staff 252 Mar 7 2011 Wall Street - Money Never Sleeps (2010)

drwxr-xr-x 4 christian staff 252 Mar 7 2011 War Games (1983)

srw-r--r-- 1 christian staff 735496192 Mar 15 2011 Wedding Crashers (2005).avi

srw-r--r-- 1 christian staff 734626128 Mar 15 2011 What about Bob (1991).avi

drwxr-xr-x 4 christian staff 252 Mar 7 2011 Willow [Special Edition] (1988)

drwxr-xr-x 5 christian staff 315 Dec 10 00:40 Winnie.the.Pooh.RERIP.DVDRip.XviD-NeDiVx

drwxr-xr-x 9 christian staff 567 Jan 11 02:01 X Men First Class (2011)

drwxr-xr-x 8 christian staff 504 Jan 11 02:08 X-Men Origins Wolverine (2009)

srw-r--r-- 1 christian staff 733186048 Mar 11 2011 faster (2010).avi

Christians-MacBook:~ christian$

Feb 3, 2012 10:15 AM in response to Barney-15E

So I was not able to repair the drive, however all of the missing files were visible/accessable on the windows machine. Lacking any additional ideas, I decided it easiest to just move all of the files off of my external, and then back on (into a new folder). Simply moving the files within my external did not solve the problem, for whatever reason I had to physically move them off of the drive and then back on.


Not the solution I was looking for (quite time comsuming), but in the end it worked so guess I shouldn't complain.

May 9, 2012 6:09 PM in response to jsd2

It looks like this was finally fixed in the Lion OS X 10.7.4 software update.


According to the newly posted support article below, not only will using "Apply to Enclosed items.. " on a Home folder no longer cause the described permissions problems as it did in earlier versions of Lion, but in fact re-running that feature in 10.7.4 or later will now fix such problems:


OS X Lion: After "Apply to enclosed items…", unable to change prefs, remove or save files, iPhoto & iTunes issues, Preview & TextEdit quit

http://support.apple.com/kb/TS4040

Using "Apply to Enclosed Items" on a Home folder

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.