You are not logged in.

#1 2009-09-17 06:28:30

OMGitsUGOD
Member
Registered: 2009-08-27
Posts: 21

[SOLVED] warning: directory permissions differ on var/log/wicd/

Hi,
I've seen several posts about this but I couldn't really figure out what's the appropriate action. Well, anyway I get the following error message when doing a pacman -Syu

warning: directory permissions differ on var/log/wicd/
filesystem: 1363  package: 755

Is it a bug? Should I change the filepermission of the directory, and if so to what?

Last edited by OMGitsUGOD (2009-09-18 10:38:32)

Offline

#2 2009-09-17 08:09:46

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: [SOLVED] warning: directory permissions differ on var/log/wicd/

1363 is a very weird number, I googled for it :
http://osdir.com/ml/perl-beginners/2009 … 00028.html
755 (decimal) is 1363 in octal

but I don't know how to do something like chmod --decimal 755

So not sure yet how you managed to get that permission.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#3 2009-09-17 08:40:38

OMGitsUGOD
Member
Registered: 2009-08-27
Posts: 21

Re: [SOLVED] warning: directory permissions differ on var/log/wicd/

This is sort of related,
http://bbs.archlinux.org/viewtopic.php?pid=432588

or at least thats the post at the end has the same file permisions as I have in /var/log/wicd.

$ ls -la /var/log/ | grep wicd
d-wxrw--wt  2 root root    4096 2009-08-27 07:58 wicd

I'm pretty bad at this stuff, but isn't this rather 1361 than 1363, or am I totally wrong? And why not allow theowner to read the file?

Last edited by OMGitsUGOD (2009-09-17 08:43:32)

Offline

#4 2009-09-17 08:58:13

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: [SOLVED] warning: directory permissions differ on var/log/wicd/

I've got the same issue.

pacman output:

warning: directory permissions differ on var/log/wicd/
filesystem: 1363  package: 755

And I have not fiddled with the permissions in /var/log.

Offline

#5 2009-09-17 09:22:55

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: [SOLVED] warning: directory permissions differ on var/log/wicd/

you probably found a bug in wicd smile

wicd-daemon.py

       logpath = os.path.join(wpath.log, 'wicd.log')
        if not os.path.exists(wpath.log):
            os.makedirs(wpath.log)
            os.chmod(wpath.log, 755)

I guess they meant 0755 here. lol

Please report a bug upstream : https://bugs.launchpad.net/wicd/+bugs


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#6 2009-09-17 09:55:45

OMGitsUGOD
Member
Registered: 2009-08-27
Posts: 21

Re: [SOLVED] warning: directory permissions differ on var/log/wicd/

Will do!

Thanks for the help!

[edit]
Works fine now, I just changed the line in wicd-daemon.py (line 1686 I think) and then I removed my old /var/log/wicd and then wicd-daemon creates a new one with the proper permissions. I guess you could have just chmod 755 /var/log/wicd as well. You need to do something at least ,since as it was root had no writing permission to the directory.

[edit]
They seem to have patched it already, so just get the latest version.

Last edited by OMGitsUGOD (2009-09-18 10:40:19)

Offline

Board footer

Powered by FluxBB