On Sat, Jan 17, 2009 at 4:35 AM, Joakim Fogelberg
<joafog.li...@gmail.com> wrote:
> COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null 
> \
>                                        2>&1) && \
>                                        ${CHOWN} -R
> ${SHAREOWN}:${SHAREGRP} $$1 && \
>                                        ${FIND} -d $$0 $$2 -type d
> -exec chmod 755 $$1/{} \; && \
>                                        ${FIND} -d $$0 $$2 -type f
> -exec chmod ${SHAREMODE} $$1/{} \;' --

Sorry for the line wrappings. I'll give it another try...

COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \
      2>&1) && \
      ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} $$1 && \
      ${FIND} -d $$0 $$2 -type d -exec chmod 755 $$1/{} \; && \
      ${FIND} -d $$0 $$2 -type f -exec chmod ${SHAREMODE} $$1/{} \;' --

-- 

Joakim Fogelberg
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to