Is there an existing issue for the feature request?
Feature Description
check if current umask is equal to given value or one of the given list
usage:
check/ck_umask.sh <umask_list>, where,
umask_list: umask list, seperated by comma, e.g. 0022,0027
example:
check/ck_umask.sh 0022,0027
check/ck_umask.sh 0022
output:
return 0: if current umask is in given list
return 1: if current umask is not in given list
Feature Implementation
Linux:
current_umask=`umask` #0022
Mac:
current_umask=`umask` #022
Additional information
https://blog.csdn.net/frdevolcqzyxynjds/article/details/120200231
Is there an existing issue for the feature request?
Feature Description
check if current umask is equal to given value or one of the given list
Feature Implementation
Linux:
Mac:
Additional information
https://blog.csdn.net/frdevolcqzyxynjds/article/details/120200231