New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chown of java symlink #216

francoisledroff opened this Issue Nov 5, 2014 · 2 comments


None yet
2 participants

francoisledroff commented Nov 5, 2014

I have the following recipe

node.default['java']['jdk_version'] = '1.7.0_72'
java_ark 'jdk' do
   url node['hub']['java']['jdkurl']
   checksum node['hub']['java']['jdkchecksum']
   app_home node['hub']['java']['home']
   bin_cmds ['java', 'javac']
   owner node['hub']['user']
   group node['hub']['group']
   action :install

I end up with the following result on my targeted node:

vagrant@springbootnode apps]$ java -version
java version "1.7.0_72"
Java(TM) SE Runtime Environment (build 1.7.0_72-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.72-b04, mixed mode)
[vagrant@springbootnode apps]$ ll
total 8
lrwxrwxrwx 1 root    root       17 Nov  5 11:20 java -> /apps/jdk1.7.0_72
drwxr-xr-x 8 hubuser hubgroup 4096 Sep 27 01:52 jdk1.7.0_72

the java synlink is owned by root, I was expecting it to be owned by the hubuser.


This comment has been minimized.


erichelgeson commented Nov 6, 2014

Thanks, will push out a release soon.


This comment has been minimized.

francoisledroff commented Nov 19, 2014

great ! thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment