Messages in this thread | | | Date | Fri, 19 Aug 2005 21:22:30 -0400 | From | Jon Smirl <> | Subject | Re: [PATCH] Permissions don't stick on ConfigFS attributes |
| |
On 8/19/05, Daniel Phillips <phillips@istop.com> 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@gmail.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |