# Strange permissions error

**URL:** <https://www.ruby-forum.com/t/strange-permissions-error/128080>\
**Category:** Ferret\
**Created:** [February 4, 2008, 9:16pm UTC](https://www.ruby-forum.com/t/strange-permissions-error/128080 "2008-02-04T21:16:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnnybutler7](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/8491ac/32.png) [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Post date:** [February 4, 2008, 9:16pm UTC](https://www.ruby-forum.com/t/strange-permissions-error/128080/1 "2008-02-04T21:16:55Z")

</div>

While trying to run a rake task which accesses the ferret index, I  
keep getting this error:

Permission denied - script/…/config/…/index/production/shared/rebuild

I have run chgrp and chmod appropriately and am fairly certain that  
there is no OS-level read/write permissions issue-- or is something  
trying to /execute/ that path? If so, then this must be a bug, right?  
there wouldn’t be a script living down in the index…

any ideas would help…

john

---

<div class="post-metadata">

**Author:** ![johnnybutler7](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/8491ac/32.png) [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Post date:** [February 4, 2008, 11:52pm UTC](https://www.ruby-forum.com/t/strange-permissions-error/128080/2 "2008-02-04T23:52:39Z")

</div>

On Mon, Feb 04, 2008 at 03:05:32PM -0500, John B. wrote:

> While trying to run a rake task which accesses the ferret index, I  
> keep getting this error:
> 
> Permission denied - script/…/config/…/index/production/shared/rebuild
> 
> I have run chgrp and chmod appropriately and am fairly certain that  
> there is no OS-level read/write permissions issue-- or is something  
> trying to /execute/ that path? If so, then this must be a bug, right?

Well, you need +x flags on directories in order to be able to access  
them. Maybe that’s the problem?

Jens

–  
Jens Krämer  
[http://www.jkraemer.net/](http://www.jkraemer.net/) - Blog  
[http://www.omdb.org/](http://www.omdb.org/) - The new free film database
