How to set No Access (restrict) permission to a user on a folder? I'm trying to deny my user access to a certain folder. I can't.

I set an admin account to be the owner of that folder, but i can't set "No Access" for any user on that folder. But i can do it for "everyone".

What i really want to do is cut myself off from a certain folder (the old xcode apps) without having to delete them and empty trash, i want to keep them, but make sure my user can't access any files in that location anyway, unless i override it again.

So these are two questions, but i expect my first question to be answered. Maybe there is a way i can do that through command line, which i'm still not sure, but is there a way using the OSx interfaces?

Thank you
You could set the folder to have the following permissions to deny access from yourself, do this with your admin user:


Everyone: No Access
admin user: Read &amp; Write


After this delete the line with your own user, so that you fall under the group "Everyone". This way only the admin user has an exception to the "no access" rule.