LinuxQuestions.org
Visit the LQ Articles and Editorials section
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, 03: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 03:36 AM.
 
Old 08-10-2006, 09: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, 09: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, 09: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, 09: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, 10: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 11:01 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:26 PM
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 06:23 PM
resetting permissions on everything? microsoft/linux Debian 7 05-31-2005 09:58 PM
accidentally changed permissions on home folder Cinematography Linux - General 7 05-15-2005 05:32 AM
losing permissions on /home folder johnnymo Linux - Software 1 01-25-2005 10:59 PM


All times are GMT -5. The time now is 10:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration