LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-10-2006, 02:23 AM   #1
gain
LQ Newbie
 
Registered: Jul 2006
Distribution: Mandriva
Posts: 16

Rep: Reputation: 0
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.

Any ideas?

Last edited by gain; 08-10-2006 at 02:36 AM.
 
Old 08-10-2006, 08:49 AM   #2
JoeDuncan
Member
 
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224

Rep: Reputation: 30
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 ...".
 
Old 08-10-2006, 08:51 AM   #3
JoeDuncan
Member
 
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224

Rep: Reputation: 30
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 ...".
 
Old 08-10-2006, 08:52 AM   #4
JoeDuncan
Member
 
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224

Rep: Reputation: 30
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.
 
Old 08-10-2006, 08:55 AM   #5
JoeDuncan
Member
 
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224

Rep: Reputation: 30
This link should help you out. The wizard is called "DrakPerm"

http://doc.mandrivalinux.com/Mandrak.../drakperm.html

Note that this is from the Madriva 10.1 documentation site, but it still says Mandrake in the URL.
 
Old 08-17-2006, 09:59 PM   #6
gain
LQ Newbie
 
Registered: Jul 2006
Distribution: Mandriva
Posts: 16

Original Poster
Rep: Reputation: 0
Thank you very much. You're very good.

Last edited by gain; 08-17-2006 at 10:01 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't allow partion permissions for a vfat partition, mounted as my home folder DrD Linux - General 19 07-26-2006 12:26 PM
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 05:23 PM
resetting permissions on everything? microsoft/linux Debian 7 05-31-2005 08:58 PM
accidentally changed permissions on home folder Cinematography Linux - General 7 05-15-2005 04:32 AM
losing permissions on /home folder johnnymo Linux - Software 1 01-25-2005 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration