User Tools

Site Tools


move-cyrus-folder

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
move-cyrus-folder [2017/02/27 14:49]
snarg
move-cyrus-folder [2017/10/11 16:31] (current)
snarg
Line 9: Line 9:
  
   * fix ACL on new directories:   * fix ACL on new directories:
-  * grab a directory listing one per line,  create a vim script to change each line to 2 lines, and do the following: for eg:+  * grab a directory listing one per line (find -type d),  create a vim script to change each line to 2 lines, and do the following: for eg:
     * dam user.newuser.copied-directory."subdirectory with spaces" olduser     * dam user.newuser.copied-directory."subdirectory with spaces" olduser
     * sam user.newuser.copied-directory."subdirectory with spaces" newuser lrswipkxtecda     * sam user.newuser.copied-directory."subdirectory with spaces" newuser lrswipkxtecda
  
   * replace slashes with dots in sub/subdirectories   * replace slashes with dots in sub/subdirectories
-    dam = delete acl on mailbox¬†+  escape quote marks ' -> \'
-    * sam = set acl on mailbox+
  
   * paste the script into cryadm   * paste the script into cryadm
 +
 +dam = delete acl on mailbox, sam = set acl on mailbox
 +
move-cyrus-folder.1488178179.txt.gz · Last modified: 2017/02/27 14:49 by snarg