LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why do my directory permissions not stick permanently? (https://www.linuxquestions.org/questions/linux-newbie-8/why-do-my-directory-permissions-not-stick-permanently-159683/)

h00chman 03-19-2004 12:56 AM

Why do my directory permissions not stick permanently?
 
I've been using Mandrake Linux and OpenBSD for three years now and I'm still a newbie.

Currently using Mandrake 9.1 with my /home mounted on its own partition.

When I chmod the permissions of a base directory in /home i.e. /home/shared or /home/allusers to 770 or 777 it stays for a little bit and then, for no reason I can tell, it reverts back to 755?

I want to use one directory as a dumping place for downloaded files or files transferred from another PC (it is on my home computer so I'm not worried about another user executing a potentially dangerous program).

Anyone have any ideas on how to make the permissions changes permanent? Is there something I need to change in fstab to mount /home differently?

SciYro 03-19-2004 03:14 AM

its probably a security feature in Mandrake to prevent people/hackers/viruses/worms/whatever from getting there system , um messed?, up

try to see when it happens, i doubt its random, i think it might be it switches back every time you reboot?, if not then its probably a security process running every X hours or minutes or so

jschiwal 03-19-2004 04:09 AM

The program resetting the permissions is called drakperm. From the Mandrake Control Center select Security and then DrakPerm.

There is a line for
/home/*
You can edit this line or add a new line for your particular home directory.
You may want to only change permissions for a downloads subdirectory or your Documents subdirectory.

h00chman 03-20-2004 05:49 PM

drakperm is the culprit
 
Thanks! Didn't even know that drakperm existed??? Maybe in another 3 years using *nix/BSD I can be as helpful to others as you have for me.


All times are GMT -5. The time now is 12:16 AM.