Subject: Re: pkg/32835: rc.d/estd doesn't have the 'x' bit set
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-bugs
Date: 02/14/2006 21:15:05
The following reply was made to PR pkg/32835; it has been noted by GNATS.

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/32835: rc.d/estd doesn't have the 'x' bit set
Date: Tue, 14 Feb 2006 13:11:58 -0800 (PST)

 > > 	The bypass is to change the modes manually, of course.  I'm not
 > > 	sure where estd.sh is actually copied to rc.d -- in the pkgsrc
 > > 	structure? -- so I can't fix it, but it's invoking 'install'
 > > 	with the wrong -m option.
 
 Ignore my earlier comments.
 
 mk/install/files does not use install, but uses cp and then chmod.
 
 I just tested by doing:
 
  make PKG_RCD_SCRIPTS=yes install
 
 Everything appeared to be correct.
 
 rainier:/usr/pkgsrc/sysutils/estd$ ls -l /etc/rc.d/estd
 -rwxr-xr-x  1 root  wheel  322 Feb 14 13:08 /etc/rc.d/estd
 rainier:/usr/pkgsrc/sysutils/estd$ ls -l /usr/pkg/share/examples/rc.d/estd 
 -rw-r--r--  1 root  wheel  322 Feb 14 13:08 /usr/pkg/share/examples/rc.d/estd
 
 Have a look at your work/.install-files file to see if you can notice 
 anything. Mine has 
 # FILE: /etc/rc.d/estd cr share/examples/rc.d/estd 0755
 near the bottom.
 
  Jeremy C. Reed
 
  	  	 	 BSD News, BSD tutorials, BSD links
 	  	 	 http://www.bsdnewsletter.com/