LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-19-2004, 01:56 AM   #1
h00chman
LQ Newbie
 
Registered: Mar 2004
Location: Spokane, WA
Distribution: Mandrake 9.1, 9.2, RH9, OpenBSD
Posts: 13

Rep: Reputation: 0
Exclamation 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?
 
Old 03-19-2004, 04:14 AM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
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
 
Old 03-19-2004, 05:09 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
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.
 
Old 03-20-2004, 06:49 PM   #4
h00chman
LQ Newbie
 
Registered: Mar 2004
Location: Spokane, WA
Distribution: Mandrake 9.1, 9.2, RH9, OpenBSD
Posts: 13

Original Poster
Rep: Reputation: 0
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.
 
  


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 permanently change /dev/loop* permissions RedCharlie Fedora 6 07-21-2010 06:03 AM
Making device permissions stick mugwump84 Linux - Newbie 3 04-05-2005 05:35 PM
SuSE 9.1 Permissions, how to make 'em stick hoopyfrood Linux - Distributions 10 08-15-2004 12:21 AM
How to permanently set permissions on all files created in a directory? BrianK Linux - General 8 06-24-2004 05:06 PM
write permissions for directory - not accidently move/deleted the directory linuxgamer Linux - Newbie 10 12-02-2003 04:04 AM


All times are GMT -5. The time now is 03:07 PM.

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