try it. <listener event="postOptimize" class="solr.RunExecutableListener"> <str name="exe">/search/replication_test/0/index/solr/bin/snapshooter</str> <str name="dir">.</str> <bool name="wait">true</bool> </listener>
Jae On Dec 19, 2007 9:10 AM, Bill Au <[EMAIL PROTECTED]> wrote: > Just changing the permission on the script is not enough. The id > executing > the script needs to have write permission to create the snapshot. > > Bill > > On Dec 18, 2007 6:26 PM, Sunny Bassan <[EMAIL PROTECTED]> wrote: > > > I've set the permissions on the script to execute for all users. And it > > does seem like the user who is running SOLR has the permissions to run > > the script. I've come to the conclusion - Linux permissions are > > annoying, lol. I've also tried setting selinux to permissive mode and > > added the user to the sudoers file, but this has not fixed the issue. > > The only thing that does work is croning the script to run after the > > optimize script. > > > > Sunny > > >