Displaying 2 results from an estimated 2 matches for "type_test".
Did you mean:
pipe_test
2018 Apr 07
0
Is it possible to clone an NT ACL from one file or dir to a totally different file or dir ?
...intless if template & target are files
# template : source directory or file with permissions to clone
# target : destination directory or file for cloning perms to
#
# version 1.0
USAGE="Usage: $0 [-r] [-p numcores] template target"
# determine parameter type
test_type()
{
TYPE_TEST=$1
if [ -d "${TYPE_TEST}" ]
then return 1; # directory
elif [ -f "${TYPE_TEST}" ]
then return 2; # file
else
echo "${TYPE_TEST} is not found!"; echo $USAGE; exit 1;
fi
}
# check for options
CORES=1
RECURSE=0
while getopts rp: o...
2018 Apr 06
2
Is it possible to clone an NT ACL from one file or dir to a totally different file or dir ?
On Sat, 2018-03-24 at 20:38 -0400, Ken McDonald via samba wrote:
>
> > By default, step 4 takes forever to run on large datasets because it
> > uses named entities. My ultimate plan was to use the numeric
> > user/group id's in that step instead of named ones so the Winbind cost
> > is not incurred. Seems for the whole process, the calls to Winbind to
> >