What user account does RubyMine run under in Windows 7?

I have a delayed_job process which is getting an EACCES Permission Denied error on a directory.  I need to know the Windows 7 user account which RubyMine is running under so I can give it permission to that directory.  I’m running the job via Rake, so if RubyMine uses a different user for Rake I would need to know that user.

4 comments
Comment actions Permalink

RubyMine runs under account of a user who launched it.

0
Comment actions Permalink

Roman.Chernyatchik wrote:

RubyMine runs under account of a user who launched it.


Yes, I also verified that.  For Rake tasks, it launches Ruby.exe using my user account.

In any case, I found out my problem was due to the fact that the directory is being monitored by Dropbox.  Dropbox apparently makes it read-only.  My guess is that Dropbox is monitoring the directory and tries to sync after if detects Ruby creating the file.  Thus the file is locked when Ruby tries to write to it.  Anyway, I’ll be moving the directory off of Dropbox to circumvent this problem...

0
Comment actions Permalink

ejstembler wrote:

Roman.Chernyatchik wrote:

RubyMine runs under account of a user who launched it.


Yes, I also verified that.  For Rake tasks, it launches Ruby.exe using my user account.

In any case, I found out my problem was due to the fact that the directory is being monitored by Dropbox.  Dropbox apparently makes it read-only.  My guess is that Dropbox is monitoring the directory and tries to sync after if detects Ruby creating the file.  Thus the file is locked when Ruby tries to write to it.  Anyway, I’ll be moving the directory off of Dropbox to circumvent this problem...


Last update… Just found out this is not Dropbox’s problem.  It’s actually related to Windows 7.  See Google search:  windows 7 read only

0
Comment actions Permalink

Last update… Just found out this is not Dropbox’s problem.  It’s actually related to Windows 7.  See Google search:  windows 7 read only

Interesting, thanks.

0

Please sign in to leave a comment.