LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-09-2005, 04:14 PM   #1
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Rep: Reputation: 15
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.
 
Old 08-09-2005, 05:32 PM   #2
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
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)
 
Old 08-10-2005, 12:01 PM   #3
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Original Poster
Rep: Reputation: 15
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
 
Old 08-16-2005, 04:44 PM   #4
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Original Poster
Rep: Reputation: 15
Bump
 
Old 08-16-2005, 05:30 PM   #5
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use Chmod Centinul Linux - Newbie 8 06-30-2005 11:44 AM
What can we do if we type chmod ugo-x /bin/chmod ?????? bunny123 Linux - Software 3 02-01-2005 09:53 PM
CHMOD in shell : chmod 777 /usr/ <---is that right? cpanelskindepot Programming 5 07-16-2004 06:37 AM
Chmod gibbylinks Linux - Newbie 1 10-23-2003 12:17 PM
chmod u+s csDraco_ Slackware 6 04-22-2003 09:44 AM


All times are GMT -5. The time now is 07:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration