Why do my directory permissions not stick permanently?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.