LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   SGID does not work, why? (https://www.linuxquestions.org/questions/linux-desktop-74/sgid-does-not-work-why-4175629630/)

skmpobox 05-13-2018 07:45 PM

SGID does not work, why?
 
I'm fairly proficient but it's been awhile since I've used sticky bits. So puzzle me this, why isn't this working?

me@Z800 ~ $ ls -l /usr/bin/cu
-rwxr-sr-x 1 root dialout 167168 Oct 23 2015 /usr/bin/cu

me@Z800 ~ $ ls -l /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 May 13 17:07 /dev/ttyUSB0

me@Z800 ~ $ cu -l /dev/ttyUSB0 -s 9600
cu: open (/dev/ttyUSB0): Permission denied
cu: /dev/ttyUSB0: Line in use


PLEASE spare me the "just add yourself to dialout in /etc/groups"--I already know that.

Thanks all!

Oh and:

me@Z800 ~ $ uname -a
Linux Z800 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

pan64 05-14-2018 12:38 AM

that is displayed, that usb port is already in use.


All times are GMT -5. The time now is 07:42 AM.