Displaying 2 results from an estimated 2 matches for "template_perms".
Did you mean:
template_params
2018 Apr 07
0
Is it possible to clone an NT ACL from one file or dir to a totally different file or dir ?
... then
echo "template & target are files, ignoring recurse option";
RECURSE=0;
fi fi fi
TEMPLATE_OWN=$(stat -c %U $TEMPLATE) # get the template top-level
POSIX owner
TEMPLATE_GROUP=$(stat -c %G $TEMPLATE) # get the template top-level
POSIX group
TEMPLATE_PERMS=$(stat -c %a $TEMPLATE) # get the template top-level
POSIX permissions
current_dir=$(dirname $(readlink -f $0)) # script can run from another
directory
if [ $RECURSE == 1 ]
then
find $TARGET -type $FIND_FLAG -print0 | xargs -0 -n1 -P$CORES
chown $TEMPLATE_OWN;
find $TA...
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
> >