search for: cloneperms

Displaying 2 results from an estimated 2 matches for "cloneperms".

2018 Apr 07
0
Is it possible to clone an NT ACL from one file or dir to a totally different file or dir ?
...facl. This helped ...a lot... in reducing winbind username/group lookup calls. The key line that clones POSIX/Windows ACL entries is this. getfattr -d -m - $1 | sed 1d | sed "1 i\# file: $ENCODED" | setfattr --restore=- THE FULL SCRIPTS FOLLOW: ####################################### cloneperms.sh ####################################### #!/bin/bash # Clone permissions & attributes from a template source to a target destination, # possibly recursing all subdirectories & files. Also supports parallelism. # # USAGE: cloneperms.sh [-r] [-p numcores] template target # # -r        : r...
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 > >