LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-13-2012, 09:45 PM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,440

Rep: Reputation: 80
Question permissions on /var/run/screen changing after reboot


Each time I boot into Fedora, I normally have a gnome-terminal open automatically with a screen session, but lately, that's not happening anymore. So I am opening a terminal manually to run screen, and I get

Code:
bull•~» screen -S xyz                                                                                                    [21:40:44]
Directory '/var/run/screen' must have mode 755.
bull•~»
So each time, I chmod it accordingly, yet it continues the issue continues to happen after a reboot. All I did was give the screen executable the suid bit

Code:
bull•~» ls -l $(which screen)                                                                                            [21:41:10]
-rwsr-sr-x. 1 root screen 438840 Dec 20 07:03 /usr/bin/screen
bull•~»
so that I could share screen sessions with multiuser enabled. I've always done this, and it's never been an issue before.
 
Old 04-15-2012, 02:01 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
That suggests that you've been using a security flaw that has since
been noticed and fixed. Your options are to a) go back to an older
version of screen or b) keep on doing what you're doing.

I assume that "changing perms after reboot" actually means "changing
perms after screen is running"?
 
Old 04-18-2012, 01:15 AM   #3
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,440

Original Poster
Rep: Reputation: 80
Quote:
Originally Posted by Tinkster View Post
That suggests that you've been using a security flaw that has since
been noticed and fixed.
If it has been fixed, shouldn't I have received the fix through updates?

Quote:
I assume that "changing perms after reboot" actually means "changing
perms after screen is running"?
Just checked, and yes, it is happening after I run screen.
 
Old 04-18-2012, 02:07 AM   #4
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,650

Rep: Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250
how is this permission changed?
 
Old 04-18-2012, 02:23 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Quote:
Originally Posted by fakie_flip View Post
If it has been fixed, shouldn't I have received the fix through updates?
Most likely ... were there any patches for screen coming through?
I don't use Fedora, so don't pay any attention to what goes on
in their packaging ...
 
Old 02-20-2013, 02:59 PM   #6
jcawdery
LQ Newbie
 
Registered: Feb 2013
Posts: 1

Rep: Reputation: Disabled
With Fedora 18 the /var/run is a mount tempfs mount point

to fix change
/etc/tmpfiles.d/screen.conf
d /var/run/screen 0755 root screen
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unable to run 'su' and 'sudo' after changing permissions on /etc susja Linux - Software 2 05-19-2011 10:38 PM
/var/run/utmp permissions differ from those suggested in man 5 utmp pwc101 Slackware 5 02-14-2011 10:46 PM
You are not the owner of /var/run/screen/S-rozilla. rozilla Linux - Networking 2 07-21-2008 01:56 PM
GNU Screen Error: Could Not Write /var/run/utmp: No such process DarkElf109 Linux - Software 3 06-10-2006 02:13 AM
nvidia permissions changing on reboot spoody_goon Linux - Games 3 04-23-2005 11:26 AM


All times are GMT -5. The time now is 01:32 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration