LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Lost File permission after reboot (https://www.linuxquestions.org/questions/linux-security-4/lost-file-permission-after-reboot-239406/)

kt8993 10-06-2004 10:26 AM

Lost File permission after reboot
 
I have created a new folder under home /home/samba/public. I did a chmod -R g+rw samba. I did a ls -l and saw the permission I added.

However, whenever I reboot the "rw" permission was removed.

How do I change it permanently?

I am running Mandrake 10 on VMware 4 with VMware tools installed.

Thanks.

Capt_Caveman 10-06-2004 05:34 PM

Depending on what security level you selected during the installation, you may need to modify that msec config file to ignore the file permissions on that folder. Otherwise everytime msec performs a check, it will likely modify the permissions back to the original defaults.

kt8993 10-07-2004 12:30 PM

My Secure Level is set to 3. What do I need to do so that MSEC will not restore the file permission to it default value?

THanks.

Capt_Caveman 10-07-2004 07:48 PM

You need to make an msec local override. Mandrake used to have a good tutorial on doing this, but it looks like they took it down :( Luckily there's a Google Cache of it:

http://216.239.41.104/search?q=cache.../docs/msec.php

Specifically, checkout the section on overriding file perms.


All times are GMT -5. The time now is 08:55 AM.