Mantis - Resin
Viewing Issue Advanced Details
2682 minor always 05-19-08 15:33 06-05-08 13:55
ferg  
ferg  
normal  
closed 3.1.6  
fixed  
none    
none 3.2.0  
0002682: admin permissions problems
(rep by Maurice Volaski)

After extending the debugging, I immediately found the problem

[19:02:56.255] {main} Caused by: java.io.IOException: Cannot create directory: /usr/share/resin/admin

Once I changed ownership on /usr/share/resin to be owned by the resin user, the problem went away. My system is Gentoo Linux and the ebuild prepares the directories and sets their ownerships and permissions. So it seems the bug is here is Gentoo's default configuration, although it's not clear why resin tries to manipulate anything in /usr/share/resin given that it is started with -resin-home /usr/lib/resin. (I don't know why there even is a /usr/lib/resin; Gentoo sets it up that way.)

Also, it doesn't entirely make sense why this behavior occurs only if resin is started with "start".


Notes
(0003138)
ferg   
06-05-08 13:55   
server/2l90