File tree Expand file tree Collapse file tree
kernel-slim/helpers/build
kernel-slim/helpers/build Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99echo " Performing checkpoint --at=$1 "
1010/opt/ol/wlp/bin/server checkpoint defaultServer --at=$1
1111
12- # Find all directories in logs/ and output/ that the current user has read/write/execute permissions for
13- # and give the same permissions to the group.
14- find -L /logs /output -type d -readable -writable -executable -exec chmod g+rwx {} \;
12+ rc=$?
13+ if [ $rc -eq 0 ]; then
14+ # Find all directories in logs/ and output/ that the current user has read/write/execute permissions for
15+ # and give the same permissions to the group.
16+ find -L /logs /output -type d -readable -writable -executable -exec chmod g+rwx {} \;
1517
16- # Find all files in logs/ and output/ that the current user has read/write permissions for
17- # and give the same permissions to the group.
18- find -L /logs /output -type f -readable -writable -exec chmod g+rw {} \;
18+ # Find all files in logs/ and output/ that the current user has read/write permissions for
19+ # and give the same permissions to the group.
20+ find -L /logs /output -type f -readable -writable -exec chmod g+rw {} \;
21+ fi
1922
20- rc=$?
2123exit $rc
Original file line number Diff line number Diff line change 99echo " Performing checkpoint --at=$1 "
1010/opt/ol/wlp/bin/server checkpoint defaultServer --at=$1
1111
12- # Find all directories in logs/ and output/ that the current user has read/write/execute permissions for
13- # and give the same permissions to the group.
14- find -L /logs /output -type d -readable -writable -executable -exec chmod g+rwx {} \;
12+ rc=$?
13+ if [ $rc -eq 0 ]; then
14+ # Find all directories in logs/ and output/ that the current user has read/write/execute permissions for
15+ # and give the same permissions to the group.
16+ find -L /logs /output -type d -readable -writable -executable -exec chmod g+rwx {} \;
1517
16- # Find all files in logs/ and output/ that the current user has read/write permissions for
17- # and give the same permissions to the group.
18- find -L /logs /output -type f -readable -writable -exec chmod g+rw {} \;
18+ # Find all files in logs/ and output/ that the current user has read/write permissions for
19+ # and give the same permissions to the group.
20+ find -L /logs /output -type f -readable -writable -exec chmod g+rw {} \;
21+ fi
1922
20- rc=$?
2123exit $rc
Original file line number Diff line number Diff line change 99echo " Performing checkpoint --at=$1 "
1010/opt/ol/wlp/bin/server checkpoint defaultServer --at=$1
1111
12- # Find all directories in logs/ and output/ that the current user has read/write/execute permissions for
13- # and give the same permissions to the group.
14- find -L /logs /output -type d -readable -writable -executable -exec chmod g+rwx {} \;
12+ rc=$?
13+ if [ $rc -eq 0 ]; then
14+ # Find all directories in logs/ and output/ that the current user has read/write/execute permissions for
15+ # and give the same permissions to the group.
16+ find -L /logs /output -type d -readable -writable -executable -exec chmod g+rwx {} \;
1517
16- # Find all files in logs/ and output/ that the current user has read/write permissions for
17- # and give the same permissions to the group.
18- find -L /logs /output -type f -readable -writable -exec chmod g+rw {} \;
18+ # Find all files in logs/ and output/ that the current user has read/write permissions for
19+ # and give the same permissions to the group.
20+ find -L /logs /output -type f -readable -writable -exec chmod g+rw {} \;
21+ fi
1922
20- rc=$?
2123exit $rc
Original file line number Diff line number Diff line change 99echo " Performing checkpoint --at=$1 "
1010/opt/ol/wlp/bin/server checkpoint defaultServer --at=$1
1111
12- # Find all directories in logs/ and output/ that the current user has read/write/execute permissions for
13- # and give the same permissions to the group.
14- find -L /logs /output -type d -readable -writable -executable -exec chmod g+rwx {} \;
12+ rc=$?
13+ if [ $rc -eq 0 ]; then
14+ # Find all directories in logs/ and output/ that the current user has read/write/execute permissions for
15+ # and give the same permissions to the group.
16+ find -L /logs /output -type d -readable -writable -executable -exec chmod g+rwx {} \;
1517
16- # Find all files in logs/ and output/ that the current user has read/write permissions for
17- # and give the same permissions to the group.
18- find -L /logs /output -type f -readable -writable -exec chmod g+rw {} \;
18+ # Find all files in logs/ and output/ that the current user has read/write permissions for
19+ # and give the same permissions to the group.
20+ find -L /logs /output -type f -readable -writable -exec chmod g+rw {} \;
21+ fi
1922
20- rc=$?
2123exit $rc
Original file line number Diff line number Diff line change 99echo " Performing checkpoint --at=$1 "
1010/opt/ol/wlp/bin/server checkpoint defaultServer --at=$1
1111
12- # Find all directories in logs/ and output/ that the current user has read/write/execute permissions for
13- # and give the same permissions to the group.
14- find -L /logs /output -type d -readable -writable -executable -exec chmod g+rwx {} \;
12+ rc=$?
13+ if [ $rc -eq 0 ]; then
14+ # Find all directories in logs/ and output/ that the current user has read/write/execute permissions for
15+ # and give the same permissions to the group.
16+ find -L /logs /output -type d -readable -writable -executable -exec chmod g+rwx {} \;
1517
16- # Find all files in logs/ and output/ that the current user has read/write permissions for
17- # and give the same permissions to the group.
18- find -L /logs /output -type f -readable -writable -exec chmod g+rw {} \;
18+ # Find all files in logs/ and output/ that the current user has read/write permissions for
19+ # and give the same permissions to the group.
20+ find -L /logs /output -type f -readable -writable -exec chmod g+rw {} \;
21+ fi
1922
20- rc=$?
2123exit $rc
You can’t perform that action at this time.
0 commit comments