I recently started using image_column which has been donig a great job in development (on WinXP using WeBrick). However once published to my host (running Red Hat Ent.) uploaded images would no longer display properly. I figured out that when the directories/files were created did not have read rights. After chmoding them, it worked fine. Is there a way to make sure that directories and files created are permissioned as 644 rather than 600 by default? --Ryan
Sorry, I meant file_column. On 12/13/05, Ryan Wood <ryan.wood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I recently started using image_column which has been donig a great job > in development (on WinXP using WeBrick). However once published to my > host (running Red Hat Ent.) uploaded images would no longer display > properly. I figured out that when the directories/files were created > did not have read rights. After chmoding them, it worked fine. > > Is there a way to make sure that directories and files created are > permissioned as 644 rather than 600 by default? > > --Ryan >
Is this patch (against the file_column trunk) useful? On 12/13/05, Ryan Wood <ryan.wood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Sorry, I meant file_column. > > On 12/13/05, Ryan Wood <ryan.wood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > I recently started using image_column which has been donig a great job > > in development (on WinXP using WeBrick). However once published to my > > host (running Red Hat Ent.) uploaded images would no longer display > > properly. I figured out that when the directories/files were created > > did not have read rights. After chmoding them, it worked fine. > > > > Is there a way to make sure that directories and files created are > > permissioned as 644 rather than 600 by default? > > > > --Ryan > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
That did it. Thanks! Will this be added into the trunk? On 12/13/05, Kyle Maxwell <kyle-FOSOgQihYpQjo0HpFSRKWA@public.gmane.org> wrote:> Is this patch (against the file_column trunk) useful? > > On 12/13/05, Ryan Wood <ryan.wood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Sorry, I meant file_column. > > > > On 12/13/05, Ryan Wood <ryan.wood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I recently started using image_column which has been donig a great job > > > in development (on WinXP using WeBrick). However once published to my > > > host (running Red Hat Ent.) uploaded images would no longer display > > > properly. I figured out that when the directories/files were created > > > did not have read rights. After chmoding them, it worked fine. > > > > > > Is there a way to make sure that directories and files created are > > > permissioned as 644 rather than 600 by default? > > > > > > --Ryan > > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > > >
I submitted the patch, but Sebastian makes final decisions. On 12/13/05, Ryan Wood <ryan.wood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> That did it. Thanks! Will this be added into the trunk? > > On 12/13/05, Kyle Maxwell <kyle-FOSOgQihYpQjo0HpFSRKWA@public.gmane.org> wrote: > > Is this patch (against the file_column trunk) useful? > > > > On 12/13/05, Ryan Wood <ryan.wood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Sorry, I meant file_column. > > > > > > On 12/13/05, Ryan Wood <ryan.wood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > I recently started using image_column which has been donig a great job > > > > in development (on WinXP using WeBrick). However once published to my > > > > host (running Red Hat Ent.) uploaded images would no longer display > > > > properly. I figured out that when the directories/files were created > > > > did not have read rights. After chmoding them, it worked fine. > > > > > > > > Is there a way to make sure that directories and files created are > > > > permissioned as 644 rather than 600 by default? > > > > > > > > --Ryan > > > > > > > _______________________________________________ > > > Rails mailing list > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >