Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2009 04:41:34 +0100
From:      Joakim Fogelberg <joafog.lists@gmail.com>
To:        Beech Rintoul <beech@freebsd.org>
Cc:        Rem P Roberti <remegius@comcast.net>, freebsd-questions@freebsd.org
Subject:   Re: skype permissions
Message-ID:  <e18c7cda0901161941n52303078w1eaa54ca7f214c06@mail.gmail.com>
In-Reply-To: <e18c7cda0901161935i3f3aef9ai3eba94602f808f11@mail.gmail.com>
References:  <4970F8CE.4090307@comcast.net> <49711BAE.5070505@comcast.net> <e18c7cda0901161615yc29f5c4j6d5888b37ff953bb@mail.gmail.com> <200901161528.44418.beech@freebsd.org> <e18c7cda0901161935i3f3aef9ai3eba94602f808f11@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 17, 2009 at 4:35 AM, Joakim Fogelberg
<joafog.lists@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e18c7cda0901161941n52303078w1eaa54ca7f214c06>