Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Permissions OK this way?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Sujao
l33t
l33t


Joined: 25 Sep 2004
Posts: 677
Location: Germany

PostPosted: Fri Jun 22, 2007 1:28 pm    Post subject: [solved] Permissions OK this way? Reply with quote

Hi,

I had to copy my system to another hdd and didn't copy all folders so I needed to create them myself now. Unfortunately I forgot to write down the permissions so now I am not sure if everything is 100% correct. Could you please check and give me some feedback?

/tmp 777 root:root
/sys 755 root:root
/usr/src 755 root:root
/usr/portage 755 root:root
/var/tmp 777 root:root
/proc 555 root:root (I suppose this one was created automatically)

Thank You!


Last edited by Sujao on Sun Jun 24, 2007 12:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Fri Jun 22, 2007 1:49 pm    Post subject: Reply with quote

Did you set the sticky bit on /tmp and /var/tmp (chmod +t)? The rest look alright to me.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
Sujao
l33t
l33t


Joined: 25 Sep 2004
Posts: 677
Location: Germany

PostPosted: Fri Jun 22, 2007 1:54 pm    Post subject: Reply with quote

didymos wrote:
Did you set the sticky bit on /tmp and /var/tmp (chmod +t)?


No, forgot that. :roll: Thanks.
Back to top
View user's profile Send private message
gsoe
Apprentice
Apprentice


Joined: 10 Dec 2006
Posts: 289
Location: Denmark

PostPosted: Fri Jun 22, 2007 1:57 pm    Post subject: Reply with quote

This is what I have:
Code:
dr-xr-xr-x  97 root root     0 22 jun 15:43 proc
drwxr-xr-x  11 root root     0 22 jun 15:43 sys
drwxrwxrwt 136 root root  5504 22 jun 15:10 tmp
drwxr-xr-x 4 root root 176 16 jun 19:26 /usr/src
drwxr-xr-x 158 root root 4656 22 jun 03:06 /usr/portage
drwxrwxrwt 7 root root 184 22 jun 03:51 /var/tmp
Back to top
View user's profile Send private message
Sujao
l33t
l33t


Joined: 25 Sep 2004
Posts: 677
Location: Germany

PostPosted: Sun Jun 24, 2007 12:56 pm    Post subject: Reply with quote

Everything seems to be working, so I suppose those settings (with sticky in tmp) are correct.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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