On 2015-11-20 15:56 +0100, Decstasy wrote: > Hello, > > since there is systemd some things have changed... Anyway I hope > someone here can help me :) > > I want to change the default chmod of /dev/pts/* from 620 to 660.
Are you sure you want to this? Reasonable values are 620 and 600, depending on whether you want to allow users to write(1) messages to each other's terminal's. What's the point of giving read access to the tty group? > In > the past it can be changed by /etc/defaults/devpts > But it does not work at all. I could not find any entry in /etc/fstab > or a mount unit from systemd. Mounting of /dev/pts and various other API filesystems is hardcoded in systemd, look into src/core/mount-setup.c if you're curious. > Where the .... can I change the default chmod? In the file that provides the API for mounting filesystems, i.e. /etc/fstab - see systemd-remount-fs.service(8). There is no entry for /dev/pts by default, so you create your own, like this: devpts /dev/pts devpts defaults,gid=5,mode=660 0 0 Cheers, Sven