~ file permission change

I've just done the following

chmod -R o-rwx ~

Open in new window


Is that likely to have any nast knock on effects? e.g. perhaps some system process requires public read/list permissions?
LVL 87
CEHJAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Eoin OSullivanConsultantCommented:
Where did you apply these permissions? What directory?
If you use the tilde (~) then you are applying permissions to your Home User directory (the root folder for the currently logged in user ~/ is the same as /Users/myusername/ on OSX and Unix systems.

OSX has a program in the Applications/Utilities folder called Disk Utility

You can run the Verify Permissions and Repair Permissions options on your hard drive and it will correct any mis-set file and folder permissions.  If the permissions you set are not in conflict with OSX requirements then it will leave them as you have set them.

Unless you are very familiar with unix file and folder permissions I'd recommend you do not change permissions on files or folders on the /System /Library or other key folders on your OSX system.
0
Daniel HelgenbergerCommented:
Hello, this should have no side effects at all. Removing world-rights from your home dir is even recommended. There are no processes witch need access to your home directory if not run by you (then they will have access).
Even if you did add 'sudo' it would do no 'bad' things.

Using disk utility's fix permissions would not change this back btw.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CEHJAuthor Commented:
Hello, this should have no side effects at all. Removing world-rights from your home dir is even recommended.
I thought so - was just being cautious. I'm not at the box now, so am wondering what umask is set? The user in question would never work from the command line, so i wonder what is the 'umask for the gui'?
0
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

Eoin OSullivanConsultantCommented:
Default umask for the standard user is 002 and for admin is 022
You can set the users default umask settings in their 'launchd-user.conf' so that all files and folders created by them will use the custom setting if 002 is not what you want.

Here's apple's article on setting umask values and you can follow the link near the top of that article for more detail on OSX permissions
http://support.apple.com/kb/HT2202
0
Daniel HelgenbergerCommented:
MacOS's default umask is 0022 for GUI applications. It's controlled by launchd. Eg. something like
launchctl umask 002
would change it. Btw, you can add set this as default by editing
/etc/launchd.conf
/etc/launchd-user.conf
These files still seem to work to my knowledge.
0
CEHJAuthor Commented:
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apple OS

From novice to tech pro — start learning today.