Find the answer to your Linux question:
Results 1 to 8 of 8
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2004
    Location
    Belgrade
    Posts
    20

    How to set user permissions for USB ports at boot?


    I need to make my SuSE 9.0 set user permissions for the files in directory /proc/bus/usb to rw-rw-rw- at boot.
    How can I do this?
    Best regards,
    Drazenko

  2. #2
    Linux Newbie
    Join Date
    Jul 2004
    Location
    www.syracuse.com
    Posts
    119
    if you want any commands to be executed at boot up just add them to the /etc/rc.d/rc.local file. this is the lazy admin way of doing stuff. and just add a line in it that says 'chmod 666 /proc/bus/usb' and that would do it.

  3. #3
    Just Joined!
    Join Date
    Jul 2004
    Location
    Belgrade
    Posts
    20
    There is no /etc/rc.d/rc.local on SuSE. I'm not sure in which file to add chmod 666 /proc/bus/usb?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie
    Join Date
    Jul 2004
    Location
    www.syracuse.com
    Posts
    119
    is there a /etc/rc.d directory?
    if not look in /etc/init.d.
    also, look for a boot.local file.

  6. #5
    Just Joined!
    Join Date
    Jul 2004
    Location
    Belgrade
    Posts
    20
    I tried with adding chmod 666 /proc/bus/usb to boot.local in the directory /etc/init.d . This is the script that performs local commands at boot, but this doesn't help at all. When I log in and go to /proc/bus, the permissions for /proc/bus/usb are still 555 and not 666.
    I don't know what is the matter, but I am certainly missing something.

  7. #6
    Just Joined!
    Join Date
    Jul 2004
    Location
    Belgrade
    Posts
    20
    Does anyone have any idea about this problem?
    I am still searching for the solution.

  8. #7
    Linux Newbie
    Join Date
    Jul 2004
    Location
    www.syracuse.com
    Posts
    119
    don't know if this is still a prob for ya. from what i read it's probably inherited from hotplugging. teoma.com gave me these.

    http://forums.suselinuxsupport.de/in...showtopic=2987
    http://www.gphoto.org/doc/manual/permissions-usb.html
    http://www.xena.uklinux.net/Linux/usb_perms.html

  9. #8
    Just Joined!
    Join Date
    Jul 2004
    Location
    Belgrade
    Posts
    20
    Thanks for the links,
    I will read them and try what I can.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •