LinuxQuestions.org
Help answer threads with 0 replies.
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 09-08-2014, 06:08 PM   #1
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
What are the original attributes of /tmp folder?


Instead of clearing it I accidentally removed it. I recreated it with "mkdir /tmp" as root and set its permissions to 1777. It looks like this:

drwxrwxrwt 9 root root 4096 Set 8 20:04 tmp/

I assume it looks correct?
 
Old 09-08-2014, 06:13 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
It looks ok
 
Old 09-08-2014, 08:23 PM   #3
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,610

Rep: Reputation: 8737Reputation: 8737Reputation: 8737Reputation: 8737Reputation: 8737Reputation: 8737Reputation: 8737Reputation: 8737Reputation: 8737Reputation: 8737Reputation: 8737
1777 is correct, and if the permissions on /tmp are ever incorrect, rc.M will fix them on the next reboot.
 
6 members found this post helpful.
Old 09-08-2014, 11:30 PM   #4
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Quote:
Originally Posted by volkerdi View Post
1777 is correct, and if the permissions on /tmp are ever incorrect, rc.M will fix them on the next reboot.
That is nice to know, thanks
 
  


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
linux folder attributes issue mosharaf_linux Linux - Server 2 09-20-2012 12:54 AM
[SOLVED] tmp folder zacetnik Linux - Newbie 2 11-06-2011 11:13 AM
[SOLVED] YouTube and /tmp folder ssvirdi Linux - Desktop 26 02-24-2011 12:13 PM
/tmp folder bytez Linux - Security 9 10-24-2006 01:10 AM
original /tmp permission redhatnoob Linux - General 2 11-13-2003 08:05 AM

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

All times are GMT -5. The time now is 03:23 AM.

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
Open Source Consulting | Domain Registration