Find the answer to your Linux question:
Results 1 to 8 of 8
I have a USB to Serial adapter I am using with Fedora 11 and I have permission problems. I have added myself to the following groups: Code: [tristan@localhost TunerStudio_v0.988.7_64Bit]$ cat ...
  1. #1
    Linux Newbie
    Join Date
    Apr 2004
    Posts
    173

    USB adapter read/write permissions

    I have a USB to Serial adapter I am using with Fedora 11 and I have permission problems. I have added myself to the following groups:

    Code:
    [tristan@localhost TunerStudio_v0.988.7_64Bit]$ cat /etc/group | grep -i tristan
    tty:x:5:tristan
    uucp:x:14:uucp,tristan
    lock:x:54:tristan
    tristan:x:500:
    However, in order for the program to see my USB device as ttyUSB0, I have to sudo and set permissions as 777 on that device.

    Is there possibly a different group I need to be a part of to have permissions?

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    what does
    ls -la /dev/ttyUSB0
    say?

  3. #3
    Linux Newbie
    Join Date
    Apr 2004
    Posts
    173
    Here is the output with it already plugged in and 777 permissions and then I unplugged it and plugged it back in and ran the command:

    Code:
    // already set at 777
    [tristan@localhost ~]$ ls -la /dev/ttyUSB0
    crwxrwxrwx 1 root dialout 188, 0 2009-07-27 16:39 /dev/ttyUSB0
    // removed and re-inserted the device
    [tristan@localhost ~]$ ls -la /dev/ttyUSB0
    crw-rw---- 1 root dialout 188, 0 2009-07-27 16:44 /dev/ttyUSB0
    [tristan@localhost ~]$

  4. #4
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    ok, add your user to group dialout

  5. #5
    Linux Newbie
    Join Date
    Apr 2004
    Posts
    173
    I tried adding myself to the dialout and root group, but still no success.
    Code:
    [tristan@localhost ~]$ cat /etc/group | grep -i tristan
    root:x:0:root,tristan
    tty:x:5:tristan
    uucp:x:14:uucp,tristan
    lock:x:54:tristan
    dialout:x:18:tristan
    tristan:x:500:
    [tristan@localhost ~]$ ls -la /dev/ttyUSB0
    crw-rw---- 1 root dialout 188, 0 2009-07-28 09:29 /dev/ttyUSB0
    [tristan@localhost ~]$

  6. #6
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    log out, then log in again

  7. #7
    Linux Newbie
    Join Date
    Apr 2004
    Posts
    173
    I had tried that before posting as well as a reboot.

  8. #8
    Linux Newbie
    Join Date
    Apr 2004
    Posts
    173
    Bring this back from the dead, I had managed to find a file that would allow me to set permissions/ownership of the device when it is plugged in. Basically, what I did was give the device root ownership and 777 permissions. This fixed my issue above. However, I can't seem to find this file anymore. Any idea what I am talking about and where it could be found?

Posting Permissions

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