Re: Issue found with install_solr_service.sh

2017-08-17 Thread Shawn Heisey
On 8/16/2017 9:55 PM, Eddie Trejo wrote: > Not sure if this is the right channel to report a possible bug, but I think > there is a syntax error on lines 280 - 281 > > find "$SOLR_INSTALL_DIR" -type d -print0 | xargs -0 chmod 0755 > find "$SOLR_INSTALL_DIR" -type f -print0 | xargs -0 chmod 064

Re: Issue found with install_solr_service.sh

2017-08-17 Thread Jason Gerlowski
Also, can you confirm whether there are files in your install/extract directory? On Thu, Aug 17, 2017 at 2:22 PM, Jason Gerlowski wrote: > Hi Eddie, thanks for reporting. > > This is a common issue with "xargs". When xargs doesn't receive any > input through the pipe (i.e. if "find" doesn't find

Re: Issue found with install_solr_service.sh

2017-08-17 Thread Jason Gerlowski
Hi Eddie, thanks for reporting. This is a common issue with "xargs". When xargs doesn't receive any input through the pipe (i.e. if "find" doesn't find anything), it isn't smart enough to exit-early and still tries to run the "chmod" command without a filename. The "-r" flag is present in most v

Issue found with install_solr_service.sh

2017-08-17 Thread Eddie Trejo
Hi There Not sure if this is the right channel to report a possible bug, but I think there is a syntax error on lines 280 - 281 find "$SOLR_INSTALL_DIR" -type d -print0 | xargs -0 chmod 0755 find "$SOLR_INSTALL_DIR" -type f -print0 | xargs -0 chmod 0644 The below is printed on screen during