#279 new
mscharley

Redcar creates files/directories with weird permissions

Reported by mscharley | August 15th, 2010 @ 06:56 AM

Whenever I create a file or directory with Redcar, it uses umask=0000 (verified via the REPL, umask). The controlling shell's umask is 0022. This is incorrect, Redcar shouldn't be setting it's umask.

Comments and changes to this ticket

  • mscharley

    mscharley August 15th, 2010 @ 12:16 PM

    This is definitely an issue, and is definitely happening inside Redcar. That said, it seems to be happening as a side-effect of something else. Nowhere is File.umask being called.

  • Steven Hancock

    Steven Hancock August 17th, 2010 @ 07:58 PM

    I think this might actually be a JRuby bug. I'm seeing problems with strange file permissions in other situations too (like installing gems.. most of my installed gems in JRuby have the correct permissions for files, and wrong permissions for directories).

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

People watching this ticket

Pages