I am not sure I understand all the details of your problem. But, msec in levels above 3 does use crond to reset the directory permissions (among other things, check: man msec and /usr/share/doc/msec-*/security.txt). You can change this behavious modifying /etc/security/msec/perm.local
This file contains one line per each directory of which you want to specify the rights, the owner and the rights (in octal format, man chmod for details). For example, mine contains:


/home/cvsroot/ root.users 2775

so that ls -l /home

drwxrwsr-x 5 root users 4096 Feb 18 14:27 cvsroot/

HTH,

raffaele

[EMAIL PROTECTED] wrote:
Hi All,

This may be a silly question but I have been searching the net for a while and not found an answer..

I have mandrake 9.0 and installed choosing the higher level of security. My intention is using the system as a web server for a few different sites, the files being located in the /home/<user>/public_html dir and a user set up for each site i.e. /home/site1/public_html. All this is fine however I need to give o+x rights in this case to /home/site1 as it dosn't have them (due to the higher level security option?), which I do with chmod while logged on as root. This works and the website is available but after about half an hour the rights are revoked and it becomes unavailable again. I know this must be due to some security proccess running in the background reseting the rights but I can't find what. Does anyone know why this is happening and how to avoid it?

I suspect I am trying to do something that mandrake is not happy with from a security point of view so if anyone knows the right way please let me know.

Many thanks
Dan



------------------------------------------------------------------------

Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to