docs/124167: removed reference to .sh suffix requirement and changed script permission from 755 -> 555

Sahil Tandon sahil at tandon.net
Sat May 31 18:40:02 UTC 2008


>Number:         124167
>Category:       docs
>Synopsis:       removed reference to .sh suffix requirement and changed script permission from 755 -> 555
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 31 18:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Sahil Tandon
>Release:        FreeBSD 7.0
>Organization:
>Environment:
>Description:
In the config tuning section of the Handbook, there is mention of an archaic .sh extension requirement for rc scripts.  This is no longer a requirement and is thusly removed.  Also, scripts in rc.d are installed with unique permissions of 555 (not 755 as noted in the Handbook); that is also corrected in the attached diff.
>How-To-Repeat:

>Fix:
See attached diff.

Patch attached with submission follows:

--- doc/en_US.ISO8859-1/books/handbook/config/chapter.sgml.old	2008-05-30 18:46:33.000000000 -0400
+++ doc/en_US.ISO8859-1/books/handbook/config/chapter.sgml	2008-05-30 19:08:09.000000000 -0400
@@ -367,13 +367,11 @@
 
     <para>While every script must meet some minimal requirements, most
       of the time these requirements are &os; version
-      agnostic.  Each script must have a <filename>.sh</filename>
-      extension appended to the end and every script must be
-      executable by the system.  The latter may be achieved by using
-      the <command>chmod</command> command and setting the unique permissions
-      of <literal>755</literal>.  There should also be, at minimal,
-      an option to <literal>start</literal> the application and an
-      option to <literal>stop</literal> the application.</para>
+      agnostic.  Each script must be executable by the system; this is 
+      typically achieved by using the <command>chmod</command> command and 
+      setting the unique permissions of <literal>555</literal>.  There should 
+      also be, at minimal, options to <literal>start</literal> and <literal>stop</literal> 
+      the application.</para>
 
     <para>The simplest start up script would probably look a little
       bit like this one:</para>


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list