Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Default file permissions
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
anti-s
n00b
n00b


Joined: 29 Oct 2005
Posts: 12
Location: Norway

PostPosted: Thu Dec 29, 2005 7:58 am    Post subject: Default file permissions Reply with quote

After my last reinstall i've managed to mess up some file perms. Is there any way to set the correct permissions on all the files on my system (all files that are in stage tarball,all installed apps are correct.) ? I was thinking about a script or something
Back to top
View user's profile Send private message
fvant
Guru
Guru


Joined: 08 Jun 2003
Posts: 328
Location: Leiden, The Netherlands

PostPosted: Thu Dec 29, 2005 12:28 pm    Post subject: Reply with quote

If you want to script file permissions outside a users homedirectory, there is no easy way because there is no common permission that 'worls' for all files.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Thu Dec 29, 2005 12:33 pm    Post subject: Reply with quote

That depends on which files you mean - AFAIK, there are no files outside of /home and the system files (which you claim are correct).
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
anti-s
n00b
n00b


Joined: 29 Oct 2005
Posts: 12
Location: Norway

PostPosted: Thu Dec 29, 2005 4:00 pm    Post subject: Reply with quote

All files in / exept /home and installed applications. Every file that was in the stage tarball.
Back to top
View user's profile Send private message
anti-s
n00b
n00b


Joined: 29 Oct 2005
Posts: 12
Location: Norway

PostPosted: Thu Dec 29, 2005 4:16 pm    Post subject: Reply with quote

Well. I solved it. Made a script :P
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