On 01/20/2014 06:02:33 PM, Joseph wrote:
On 01/20/14 18:45, Alan McKinnon wrote:
On 01/20/14 18:30, Joseph wrote:
After upgrade to "systemd" my /dev/ttyS0 shows up as: root:dialout
ownership and permission 600

When I change as root manually to: chown uucp:dialout /dev/ttyS0
chmod 666 /dev/ttyS0

after restart it goes back to previous setting: root:dialout 600
How to change it?

My VituralBox complain and will not start with owner: root:dialout
/dev/ttyS0



It's a udev rule. Mine looks like this, tweak yours

$ grep -r uucp /lib/udev/rules.d/
/lib/udev/rules.d/50-udev-default.rules:KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*",
GROUP="uucp"



You'd put your file in /etc/udev/rules.d/, not in /lib/ as above, that's
the as-shipped location for defaults

--
Alan McKinnon
alan.mckin...@gmail.com

Thanks for the hint Alan.
Mine looks like this:
grep -r dialout /lib/udev/rules.d/
/lib/udev/rules.d/50-udev-default.rules:KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP="dialout"

I think the group "dialout" is OK. What the Virtualbox doesn't like is the ownership, the first part "root" (root:dialout)
How to influence the first part.

The strange part is that I have upgraded two system and one is shoring ttyS0 as:
uucp:dialout

and the another one as:
root:dialout.



Hi,

I have the same permissions and VirtualBox (4.3.6) runs just fine.
VirtualBox is picky about the permission of the hard-disk image (VDI file)
There it likes group vboxusers and group r/w permissions.

Helmut

Reply via email to