script sync file,dir permissions from one dir to another