On 8/19/05, Daniel Phillips <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/