usb /proc/file permissions control
jack craig
jcraig at danger.com
Thu Aug 30 21:52:21 UTC 2007
well, i am new here and i am not yet sure why the author wanted access
to that file in any case,
i am trying to determine that also. today, i can work around this by doing a
chmod after the unit is plugged in, but that is hokey too...
thx for your time to reply, jackc...
Mikkel L. Ellertson wrote:
> 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
>
--
Jack Craig
Build Team
Danger
3101 Park Ave.
Palo Alto, CA. 94306
Phone: 650-543-6315
SideKick: 650-283-9660
Email: jcraig at danger.com
AIM: dangerjackcraig
More information about the users
mailing list