LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-24-2015, 02:08 AM   #1
Toutatis
Member
 
Registered: Feb 2013
Posts: 214

Rep: Reputation: Disabled
/tmp permissions


Hello,


Today, after building several SBo packages, I failed to run chromium and got the following error message

ERRORrocess_singleton_posix.cc(975)] Failed to create socket directory.

'chmod 1777 /tmp' solved the problem.

But in my /etc/fstab I have

tmpfs /tmp tmpfs defaults,noatime,mode=1777,size=500M 0 0

My question is : why /tmp did not stay 1777 ?
 
Old 11-24-2015, 02:10 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,164

Rep: Reputation: 3345Reputation: 3345Reputation: 3345Reputation: 3345Reputation: 3345Reputation: 3345Reputation: 3345Reputation: 3345Reputation: 3345Reputation: 3345Reputation: 3345
I would say
tmpfs /tmp tmpfs defaults,noatime,mode=1777,size=500M 0 0
will rule the files inside /tmp, but not the mount point (/tmp) itself.
 
Old 11-24-2015, 02:35 AM   #3
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,333

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
Quote:
Originally Posted by Toutatis View Post
My question is : why /tmp did not stay 1777 ?
could be a package you installed for some reason contains a /tmp directory with wrong permissions: you can check with
Code:
grep ^tmp/ /var/log/packages/*
the ones installed by the packages aaa_base and etc are ok, something else is wrong.

Last edited by ponce; 11-24-2015 at 02:38 AM.
 
Old 11-24-2015, 02:50 AM   #4
Toutatis
Member
 
Registered: Feb 2013
Posts: 214

Original Poster
Rep: Reputation: Disabled
@ponce : you are right, it's clementine with tmp/SBo/clementine-20151124/build/spotify/
 
  


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] Mondoarchvie changing /tmp permissions linuxguy7820 Linux - Software 1 02-21-2013 02:11 PM
[current] libgpod break /tmp permissions conraid Slackware 10 01-17-2011 01:34 AM
why a non root user can't change the permissions of /tmp ? raj_hcl1986@rediffma Linux - Newbie 4 11-09-2008 03:58 AM
permissions suddenly changed for /tmp rioguia Linux - Security 1 12-12-2004 12:34 PM
permissions in /tmp directory linux_pioneer Linux - Software 1 08-30-2003 10:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:15 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration