Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Question about Mounting devpts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Thu Apr 30, 2020 12:39 am    Post subject: Question about Mounting devpts Reply with quote

In this topic it is mentioned that /dev/pts should be mounted the way I have commented out in /etc/fstab:
Code:
devpts                  /dev/pts         devpts         defaults        0 0
#devpts         /dev/pts         devpts     rw,notime,gid=5,mode=620,ptmxmode=000 0 0

I don't remember when I made that change or why.

Could someone please explain the ramifications of not mounting it as I commented out?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Thu Apr 30, 2020 8:37 am    Post subject: Reply with quote

The defaults deny all group/other access to terminals and prevent programs like `wall` from working. The commented out line is what /etc/init.d/devfs would use if it wasn't overridden.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum