LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-08-2005, 09:05 AM   #1
rjohnson244
Member
 
Registered: Aug 2004
Location: U.S.A
Distribution: arch/fluxbox
Posts: 53

Rep: Reputation: 15
What are the default permissions for /etc in octal for Slackware (10.1)


Can someone tell me what the default permissions for /etc, in octal form, are.
In my experimentation I have changed these and now this drive will not boot.
It stops at, "cannot open rc.4", "cannot open rc.M", "cannot open rc.S"

Dist = Slackware 10.1
 
Old 03-08-2005, 09:15 AM   #2
kule
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 87

Rep: Reputation: 16
just make it executable, for example 755
 
Old 03-08-2005, 09:19 AM   #3
rjohnson244
Member
 
Registered: Aug 2004
Location: U.S.A
Distribution: arch/fluxbox
Posts: 53

Original Poster
Rep: Reputation: 15
Yes, I thought that would work, but it gives the same reply on boot.
I have also tried "644" "666" "777".
I guess that it may be time to re-install
 
Old 03-08-2005, 09:24 AM   #4
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
Re: What are the default permissions for /etc in octal for Slackware (10.1)

Quote:
Originally posted by rjohnson244
Can someone tell me what the default permissions for /etc, in octal form, are.
In my experimentation I have changed these and now this drive will not boot.
It stops at, "cannot open rc.4", "cannot open rc.M", "cannot open rc.S"

Dist = Slackware 10.1
There is a file in your CD called manifesto.bz2, that contains all default file permissions and ownerships

The files you have mentioned are in /etc/rc.d/ and are startup and shutdown scripts. rc.4 rc.M and rc.S should be 755. DO not make all /etc/rc.d/ to 755, because your system will start every installed server, apache,my_sql,sshd,cups,lprn...etc.
Good Luck and respect the permissions. They do exist for a reason...

Last edited by perfect_circle; 03-08-2005 at 10:02 AM.
 
Old 03-08-2005, 09:26 AM   #5
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
Quote:
Originally posted by rjohnson244
Yes, I thought that would work, but it gives the same reply on boot.
I have also tried "644" "666" "777".
I guess that it may be time to re-install
Also, all folders should have execute permission to be browsable.
 
Old 03-08-2005, 09:34 AM   #6
kule
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 87

Rep: Reputation: 16
Just run pkgtool as root, choose setup, services and choose which services to start on your next boot.
 
Old 03-08-2005, 09:39 AM   #7
rjohnson244
Member
 
Registered: Aug 2004
Location: U.S.A
Distribution: arch/fluxbox
Posts: 53

Original Poster
Rep: Reputation: 15
Thanks for the info, I'll try to correct this.

Yes, I do understand (somewhat) and respect file permissions, this drive is used for my own linux "educational" purposes. It has had about 10 Distributions on it in about as many months.

I seem to be addicted to this particular "drug", with only fellow addicts and enablers to lean on.

Thanks again.
 
  


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
default permissions skel Linux - Security 1 12-14-2004 06:27 PM
what are default permissions for /etc timsch75 Slackware 2 08-06-2004 10:34 PM
what are the default permissions figmentium Linux - Newbie 4 12-25-2003 06:50 AM
Need someone to let me know certain default permissions. Nu-Bee Linux - General 2 11-27-2003 07:07 PM
--- --- --- octal 000 permissions Fascistchicken Linux - General 4 09-05-2003 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:52 AM.

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