LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   10.1 - chmod (https://www.linuxquestions.org/questions/linux-newbie-8/10-1-chmod-351600/)

High-gain 08-09-2005 03:14 PM

10.1 - chmod
 
Hi There - I wonder if anyone could help me with this please. I recently asked a question via the forum regarding permissions, I had pretty good idea on how they worked and 'chmod' was explained to me very well.

My orginal question was 'how or where would I find out what the files that were in the permission section of 'MCC' ment or did.
Several people took the time to explain about the chmod etc but I am still searching for the following help please.

1) In Mcc/permissions in the left had column are all the file names that do various things.
Where can I find out what these names mean and what they do.
Some are self evident, others I don't have a clue about.

2) Here is an example on my problem.
My system is not closing down properly so I suspect it is something to do with permissions.
I can chmod the file, but where would I as a newbie find that file.

This is only an example as I think in Mcc/permissions there is a file etc/shutdown/allow. Anyway I hope someone will understand what I am trying to get at.

Many thanks for taking the time to read this, hope you can help.

Tuttle 08-09-2005 04:32 PM

1) Mcc? I don't know what you mean, mandrake control centre?

2) Try to diagnose the problem before changing permissions at random. Open a terminal, type "su" enter root password then:
Code:

cd /var/log/
less ./messages # type q to quit

use up/down arrows, pgup/pgdown & home/end keys to view your system logs. All the entries are time stamped so you should be able to scroll to the point at which the problem occurred.
Also look at (in /var/log/):
Code:

less ./debug
less ./secure
less ./syslog
less ./Xorg.0.log # X server messages

Another handy one is "dmesg", for your log since last boot:
Code:

dmesg | less # (from any directory)

High-gain 08-10-2005 11:01 AM

Tuttle - many thanks for your help and info, will investigate the #/var/log etc asap. Sorry I did not get back to you sooner but knee deep in it. Hi. Again much appreciated your help. Good luck.

Ps - Mcc - you were right, it is Mandrake Control Center. - cul

High-gain 08-16-2005 03:44 PM

Bump

Tuttle 08-16-2005 04:30 PM

Ok, does the machine say "power down" as the last message?
If so you need to enable power management - apm or acpi.
I can't remember how to do it in mandrake but you basically need to do a "modprobe apm" at boot for apm or build it into the kernel.


All times are GMT -5. The time now is 12:41 PM.