You are not logged in.

#26 2008-01-23 19:32:18

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: Warning: directory permissions differ

do not change anything. they are alright.


I need real, proper pen and paper for this.

Offline

#27 2008-01-23 19:39:01

zodmaner
Member
Registered: 2007-07-11
Posts: 653

Re: Warning: directory permissions differ

schivmeister wrote:

do not change anything. they are alright.

Thanks, but it's a little too late. I've changed them to 755 this morning in responds to this bug/error: http://bbs.archlinux.org/viewtopic.php?id=42690 sad

I got freaked out with unable to open man page for various programs like pacman, Brasero, that I tried changing the permission, thinking that is the problem. Man, talk about barking at the wrong tree. hmm

Oh well, I'll just change them back then. I should be able to revert the change without any problem, right? smile

UPDATE: Well, looks like I was being too pessimistic.

Thanks to my newbie skills and my panic stake, I issues an 'chmod 755 / -v' command to try to 'fix' my permission problem (yeah, stupid I know, but I haven't RTFW at that time tongue ). It turns out that the chmod command have a sort of a fool-proof feature that it ignores such command, so my file system permission seems to be safe-untouched. smile

I also issues 'chmod 755 /usr/man/* -v' to try and changes the permission of the 'problematic' files and folders in /usr/man directory, which chmod also ignores (it refused to changes the permissions in /usr/man to anything other than 2755). So I was lucked out again.

There is only one place left that I issues the chmod 755 command, the /etc/ directory. But from the looks of it everything seems to be fine. smile

So, yeah, I really lucked out on this one and were fortunate enough not to trash the permissions on my system. smile Sorry again for being so pessimistic, but I was really annoyed that time. smile

UPDATE2: Hm guys, how do I change directory/file permission from 2755 to 755? I run command 'chmod -v 755 /etc' but I got this message:

mode of `/etc' retained as 2755 (rwxr-sr-x)

And the permission stays the same (2755). sad

UPDATE2: OK, I've found it. Running this command:

chmod -sR /etc/

Will reset the directory/file permission of /etc folder and all the files in it to 0755. smile

Source for my poor memory: http://wiki.linuxquestions.org/wiki/Suid. tongue

UPDATE3: OK, that's also a bad idea. I ended up making a mess of my files permission in /usr and /etc directories. sad Oh well, time to reinstall then...

Last edited by zodmaner (2008-01-25 05:27:15)

Offline

#28 2008-01-29 16:06:01

mini
Member
Registered: 2006-12-18
Posts: 132

Re: Warning: directory permissions differ

I have got the same error again. What is the sollution here?

Offline

#29 2008-01-29 16:56:07

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: Warning: directory permissions differ

zodmaner: 0755 and 755 are _not_ the same, only 755 is needed for (d)rwxr-xr-x, and neither is -s needed.

edit: wth was i saying..they _are_ the same.

Last edited by schivmeister (2008-04-06 12:44:51)


I need real, proper pen and paper for this.

Offline

#30 2008-04-06 12:31:46

mancino
Member
Registered: 2006-09-04
Posts: 41

Re: Warning: directory permissions differ

warning: directory permissions differ on usr/share/icons/
filesystem: 2755  package: 755
this is my problem during update pidgin cups and others

Offline

#31 2008-04-06 12:50:22

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: Warning: directory permissions differ

Something must have changed it; a package, manual installation of files or just a manual edit of the perms sometime in the past.

775 is safe for directories with special group access, like games and samba.


I need real, proper pen and paper for this.

Offline

Board footer

Powered by FluxBB