diff options
Diffstat (limited to 'linux/deb/02-fs-spring-boot-kamal/package/DEBIAN/postinst')
| -rwxr-xr-x | linux/deb/02-fs-spring-boot-kamal/package/DEBIAN/postinst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/linux/deb/02-fs-spring-boot-kamal/package/DEBIAN/postinst b/linux/deb/02-fs-spring-boot-kamal/package/DEBIAN/postinst index 19eec59..430ba0a 100755 --- a/linux/deb/02-fs-spring-boot-kamal/package/DEBIAN/postinst +++ b/linux/deb/02-fs-spring-boot-kamal/package/DEBIAN/postinst @@ -16,10 +16,11 @@ if [ "$1" == "configure" ] && [ -z "$2" ]; then fi # Set directory ownership and permissions - Application jar file not to be read by other system users -chown -R root:fs-spring-boot-kamal /opt/fs-spring-boot-kamal -chmod 750 /opt/fs-spring-boot-kamal -chmod 750 /opt/fs-spring-boot-kamal/app -chmod 640 /opt/fs-spring-boot-kamal/app/fs-spring-boot-kamal.jar +chown -R root:fs-spring-boot-kamal /opt/mycompany/fs-spring-boot-kamal +chmod 755 /opt/mycompany +chmod 750 /opt/mycompany/fs-spring-boot-kamal +chmod 750 /opt/mycompany/fs-spring-boot-kamal/app +chmod 640 /opt/mycompany/fs-spring-boot-kamal/app/fs-spring-boot-kamal.jar # Set directory ownership and permissions - Config files not to be read by other system users chown -R root:fs-spring-boot-kamal /etc/fs-spring-boot-kamal |
