how to assign oneself to a group to get access to a file
I'm on a regular Fedora 9 desktop computer with an ext3fs filesystem.
I'm trying to give myself access to /dev/ttyS0. This is because I'm developing code that uses a serial port. While I'm developing this code I don't want to be continually working as super user. I have the following information about /dev/ttyS0: Code:
[freddy@localhost ~]$ ls -lh /dev/ttyS0 Code:
[freddy@localhost ~]$ id freddy Code:
[freddy@localhost ~]$ echo "hello" > /dev/ttyS0 Also, does anyone know what the c stands for in the ls -l listing? |
c = character device, as opposed to b for block device.
are you running selinux here? I can see the contexts listed for your ID, is that possibly getting in the way? In general though you are in that group, and should be fine, but also note those changes are picked up on a login session starting, so old terminals won't get them. |
Quote:
|
All times are GMT -5. The time now is 02:09 AM. |