You are not logged in.

#1 2008-04-26 18:03:36

neok
Member
From: Cyprus
Registered: 2003-12-14
Posts: 190
Website

Need help to rebuild my /var tree

Hi all,

I tried to resize my /var partition but I seem to have spoiled the permissions of the directories and files under /var. The contents is there so I only need to know the right permissions for the directories and files and how to set them up.

Any suggestions please?

My thanks in advance.


Regards

Neoklis ... Ham Radio Call: 5B4AZ

Offline

#2 2008-04-27 07:25:50

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,394
Website

Re: Need help to rebuild my /var tree

Do a "pacman -S filesystem" and note the reported permission differences.  Should fix most things.

Offline

#3 2008-04-27 08:53:41

Spider.007
Member
Registered: 2004-06-20
Posts: 1,135
Website

Re: Need help to rebuild my /var tree

Or, even better, list all packages that use /var/; and reinstall those to fix their permissions:

pacman --sync `pacman -Ql | grep '/var/' | cut -d' ' -f1 | sort -u | tr '\n' ' '`

Last edited by Spider.007 (2008-04-27 08:54:42)

Offline

#4 2008-04-27 14:14:19

neok
Member
From: Cyprus
Registered: 2003-12-14
Posts: 190
Website

Re: Need help to rebuild my /var tree

Spider.007 wrote:

Or, even better, list all packages that use /var/; and reinstall those to fix their permissions:

pacman --sync `pacman -Ql | grep '/var/' | cut -d' ' -f1 | sort -u | tr '\n' ' '`

Ah, thank you both very much! Looks like I better have a fresh look at man pacman...


Regards

Neoklis ... Ham Radio Call: 5B4AZ

Offline

Board footer

Powered by FluxBB