Re: [PATCH] Permissions don't stick on ConfigFS attributes
From: Jon Smirl
Date: Fri Aug 19 2005 - 20:23:03 EST
On 8/19/05, Daniel Phillips <phillips@xxxxxxxxx> wrote:
> Hi Joel,
>
> Permissions set on ConfigFS attributes (aka files) do not stick. The reason
> is that configfs attribute inodes are not pinned and simply disappear after
> each file operation. This is good because it saves memory, but it is not
> good to throw the permissions away - you then don't have any way to expose
> configuration tweaks to normal users. The patch below fixes this by copying
> each file's mode back into the non-transient backing structure on dentry
> delete.
A patch for making sysfs attributes persistent has recently made it
into Linus' tree.
http://article.gmane.org/gmane.linux.hotplug.devel/7927/match=sysfs+permissions
--
Jon Smirl
jonsmirl@xxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/