Operating System - HP-UX
1829101 Members
2719 Online
109986 Solutions
New Discussion

permissions on files in /dev/pts

 
SOLVED
Go to solution
Quark
Valued Contributor

permissions on files in /dev/pts

Hi,

all the files in the /dev/pts directory on my system have crw-rw-rw permissions.
For security reasons I am advised to remove the world-write perm on those.
Given the fact that they are device files, can I remove the 'w' flag for 'others' without danger?

Kris
4 REPLIES 4
RAC_1
Honored Contributor
Solution

Re: permissions on files in /dev/pts

The real point is what are the perms on /dev/pty? It should not have write perms to others.
There is no substitute to HARDWORK
Quark
Valued Contributor

Re: permissions on files in /dev/pts

/dev/pty does not have write permissions for others, but the files in /dev/pty do
Peter Godron
Honored Contributor

Re: permissions on files in /dev/pts

Kris,
not a definitive answer, but changing the persmission on the files in /dev/pts did not SEEM to impact my sessions.
RAC_1
Honored Contributor

Re: permissions on files in /dev/pts

That is OK. the perms on files under /dev/pty can be write to all. It is not a problem.
There is no substitute to HARDWORK