Messages in this thread | | | Date | Mon, 5 Jul 2004 02:55:44 +0100 | From | viro@parcelfa ... | Subject | Re: procfs permissions on 2.6.x |
| |
On Mon, Jul 05, 2004 at 10:50:19AM +0900, Clemens Schwaighofer wrote: > Well perhaps I am on the wrong track but eg /proc/bus/usb/002/005 is my > digital camera and unless its either world rw or owned by me (user) I > can't get any pictures unless I make myself root. > > So yes, I would want to have chown/chmod in procfs ...
... except that /proc/bus/usb/* is not in procfs. BTW, it makes more sense to change GID of the file in question and make it group-writable, adding the users who are allowed to mess with it into the group. - 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/
| |