[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Container readonly FS



Yes, this is a permission issue (you're running as a user who doesn't have access to modify /tmp).  You can either grant access to run as any user via the SCC, or alter the image to allow any user to read/write to those directories.

On Fri, Oct 9, 2015 at 12:13 PM, Philippe Lafoucrière <philippe lafoucriere tech-angels com> wrote:
Hi,

I have a ruby on rails image, and it's working fine locally.
When the container is started on openshift, I have permission denied error :

/usr/local/lib/ruby/2.1.0/fileutils.rb:250:in `mkdir': Permission denied @ dir_s_mkdir - tmp/cache (Errno::EACCES)

I can run the same image by hand on the node, and it's starting correctly.

I wondered if it could be because the command was ran as root, but I updated the image to use a "ruby" user, with the same result.

Any idea what could make the fs readonly on openshift?

Thanks
Philippe


-- 
Philippe Lafoucrière - CEO
main : +33 (0) 970 444 643
mobile CA: +1 (581) 986-7540


_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]