usb /proc/file permissions control

Mikkel L. Ellertson mikkel at infinity-ltd.com
Thu Aug 30 21:46:22 UTC 2007


jack craig wrote:
> hi folks,
> 
> i just installed fc6, i got most stuff working, but am having a problem
> with a local tool. i have a usb widget that i plug into the usb port and its
> recognized and mounted.
> however!! during this process, early in the setup, a file is created in
> /proc/bus/usb/00x/00y with permissions of 644.
> 
> i want these files created with 666 just for the devil of it... ;-)
> i have been reading the udev controls, but that says its for
> controlling what is in /dev, not what is in /proc/bus/usb/..
> 
> i am betting a nickel that someone on this list knows the way to control
> this file creation.
> 
> if you have any clues, pls share, tia, jackc...
> 
I have not idea why you would want those file to be 666, but in any
case I do not think it is possible. If you are trying to control
access to your device, then you are probably going to be better off
controlling the permissions of the entry in the /sys file system for
your device.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20070830/f3b9e7b4/attachment-0002.bin 


More information about the users mailing list