[Bug 255200] Re: Serial port devices (ttyS*) unaccessible from non-root accounts

2010-08-28 Thread Nicolas Jungers
I'm running cu as root and cu doesn't work because it changes its UID to uucp instead of dialout. It is simple to change the owner and/or permissions of the devices I use, but the behaviour of cu is still a bug. -- Serial port devices (ttyS*) unaccessible from non-root accounts

[Bug 255200] Re: Serial port devices (ttyS*) unaccessible from non-root accounts

2010-08-28 Thread Tormod Volden
Nicolas, you are not meant to run cu as root. Does it work if you run cu as a normal user and this user is member of the dialout group? -- Serial port devices (ttyS*) unaccessible from non-root accounts https://bugs.launchpad.net/bugs/255200 You received this bug notification because you are a

[Bug 255200] Re: Serial port devices (ttyS*) unaccessible from non-root accounts

2008-09-04 Thread Tormod Volden
From looking at the forum postings the problem is that the users are running the applications as root. If you run cu as root it will change user to uucp which can not access the root:dialout port. cu is not setuid, so running it with a dialout user should work fine. Please reopen if this does not

[Bug 255200] Re: Serial port devices (ttyS*) unaccessible from non-root accounts

2008-08-28 Thread jhansonxi
The archived Ubuntu forum thread I linked to above has an strace for cu. I continued the thread asking for assistance from other users here: http://ubuntuforums.org/showthread.php?t=902590 -- Serial port devices (ttyS*) unaccessible from non-root accounts https://bugs.launchpad.net/bugs/255200

[Bug 255200] Re: Serial port devices (ttyS*) unaccessible from non-root accounts

2008-08-27 Thread Colin Watson
I'd recommend getting an strace of the applications in question to figure out exactly which devices they're trying to access and what errors they're failing with. From the point of view of a process in group dialout, 660 root:dialout and 666 root:dialout are precisely equivalent, so there is

[Bug 255200] Re: Serial port devices (ttyS*) unaccessible from non-root accounts

2008-08-27 Thread Colin Watson
By the way, the most likely cause is that something is running setuid to a different user, or communicating with a process running as a different user - and in that case Scott's answer will still be accurate if you read it more closely (or that of the running daemon). -- Serial port devices

[Bug 255200] Re: Serial port devices (ttyS*) unaccessible from non-root accounts

2008-08-06 Thread Scott James Remnant
Place your user account, or that of the running daemon, in the dialout group ** Changed in: udev (Ubuntu) Status: New = Invalid -- Serial port devices (ttyS*) unaccessible from non-root accounts https://bugs.launchpad.net/bugs/255200 You received this bug notification because you are a

[Bug 255200] Re: Serial port devices (ttyS*) unaccessible from non-root accounts

2008-08-06 Thread jhansonxi
Next time read the report: This however is not enough for some serial communication applications to access the devices from a non-root account even if they are in the DIALOUT group. -- Serial port devices (ttyS*) unaccessible from non-root accounts https://bugs.launchpad.net/bugs/255200 You

[Bug 255200] Re: Serial port devices (ttyS*) unaccessible from non-root accounts

2008-08-06 Thread jhansonxi
** Changed in: udev (Ubuntu) Status: Invalid = New -- Serial port devices (ttyS*) unaccessible from non-root accounts https://bugs.launchpad.net/bugs/255200 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 255200] Re: Serial port devices (ttyS*) unaccessible from non-root accounts

2008-08-05 Thread jhansonxi
** Attachment added: 40-basic-permissions.rules.patch http://launchpadlibrarian.net/16576439/40-basic-permissions.rules.patch -- Serial port devices (ttyS*) unaccessible from non-root accounts https://bugs.launchpad.net/bugs/255200 You received this bug notification because you are a member