# Permission denied for folder creation using background\_fu

**URL:** <https://www.ruby-forum.com/t/permission-denied-for-folder-creation-using-background-fu/188390>\
**Category:** Rails\
**Created:** [May 11, 2010, 7:44am UTC](https://www.ruby-forum.com/t/permission-denied-for-folder-creation-using-background-fu/188390 "2010-05-11T07:44:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anubhaw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4491bb/32.png) [@anubhaw](https://www.ruby-forum.com/u/anubhaw)\
**Post date:** [May 11, 2010, 7:44am UTC](https://www.ruby-forum.com/t/permission-denied-for-folder-creation-using-background-fu/188390/1 "2010-05-11T07:44:05Z")

</div>

Hi All,  
I am calling a controller method to convert a video file. This process  
is called using background\_fu job. When the function tries to create a  
new folder in rails root it gives error i.e. Permission denied. The  
function performs well if not called in background job process.

Can any one point out what can be the trouble.  
Thanks in advance,  
Anubhaw
