Problem with directory permissions

Bill Mullen moonmullen at attbi.com
Sat Aug 24 03:58:44 EDT 2002


On Fri, 23 Aug 2002, Brenda A. Bell wrote:

> I'm running Drake 8.2.  I have Samba running and a shared public
> directory to which anyone can create directories, download files, etc.
> The share is actually a separate file system that gets mounted on
> /home/public.
> 
> The directory is owned by root, but I made the permissions 0777 so
> anyone could create directories.  Every day or do, the permissions get
> changed back to 0755 and I can't for the life of me figure out why.

This is being done by msec, the Mandrake security system. Create a file 
called /etc/security/msec/perm.local and put in it:

/home/public/	root.root	777

This will override the default behavior (of ensuring that all dirs under 
/home have 755 perms) for this one directory.

HTH!

-- 

Bill Mullen
3:58am, 2002-08-24






More information about the gnhlug-discuss mailing list