how to stop system from auto resetting permissions of /home folder?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how to stop system from auto resetting permissions of /home folder?
Hi!
I am using Mandriva 10.2
My problem is the system resets the folder permissions of the /home/* folder to drwx------ (or user only access permission) even if I set it differently.
Even after I perform chmod operation to reset the /home/* folder to the correct permissions (drwxr-xr-x) so that the user's public_html to be accessible to the web I find that after a minute the system resets it back to (drwx------).
I temporarily solved the problem by creating a crontab to change the permissions back every 1 minute. But I am not happy about this solution.
A look at the log file (/var/log/messages) reveals that the only process running every minute aside from my crontab is the promisc_check.sh. But I heard that it is harmless.
I don't know about Mandriva, the last time I used it was Mandrake 10.0. However, Mandrake 10.0 had a security wizard that would set master permissions, so if you changed any of them a daemon (msec or something) would then set them back for you.
You could access the wizard by going into the Mandrake Control Panel and choose "Security" and then it was something to do with file permissions.
This would open a wizard where you could set the master file access policies that would be maintained by the daemon. So you could set the permissions you wanted there, instead of using "chmod ...".
I don't know about Mandriva, the last time I used it was Mandrake 10.0. However, Mandrake 10.0 had a security wizard that would set master permissions, so if you changed any of them a daemon (msec or something) would then set them back for you.
You could access the wizard by going into the Mandrake Control Panel and choose "Security" and then it was something to do with file permissions.
This would open a wizard where you could set the master file access policies that would be maintained by the daemon. So you could set the permissions you wanted there, instead of using "chmod ...".
Sorry for the double post, the first time I tried it said I was not logged in, and my post didn't show up, so I logged in again an re-posted and bam! both posts show up... weird.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.