LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   What are the default permissions for /etc in octal for Slackware (10.1) (https://www.linuxquestions.org/questions/linux-software-2/what-are-the-default-permissions-for-etc-in-octal-for-slackware-10-1-a-299138/)

rjohnson244 03-08-2005 09:05 AM

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

kule 03-08-2005 09:15 AM

just make it executable, for example 755

rjohnson244 03-08-2005 09:19 AM

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

perfect_circle 03-08-2005 09:24 AM

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...

perfect_circle 03-08-2005 09:26 AM

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.

kule 03-08-2005 09:34 AM

Just run pkgtool as root, choose setup, services and choose which services to start on your next boot.

rjohnson244 03-08-2005 09:39 AM

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.


All times are GMT -5. The time now is 10:59 PM.