On Wed, May 18, 2005 at 03:46:04PM -0700, Brian Dessent wrote:
> Tom Rodman wrote:
>
> > wtouch()
> > {
> > local file=$1
> > CYGWIN=nontsec touch "$file"
> > setacl -on "$(cygpath -aw "$file")" -ot file \
> > -actn setowner -ownr "n:Administrators;s:n" \
> > -actn setgroup -grp "n:
Tom Rodman wrote:
> wtouch()
> {
> local file=$1
> CYGWIN=nontsec touch "$file"
> setacl -on "$(cygpath -aw "$file")" -ot file \
> -actn setowner -ownr "n:Administrators;s:n" \
> -actn setgroup -grp "n:None;s:n" \
> -silent || echo $FUNCNAME:setacl failed
> # see http://seta
On Wed 5/18/05 16:18 CDT Tom Rodman wrote:
> > $ CYGWIN=nontsec touch foo
>
> Thanks Brian, that should do it.
Here's a function I plan to use:
wtouch()
{
local file=$1
CYGWIN=nontsec touch "$file"
setacl -on "$(cygpath -aw "$file")" -ot file \
-actn setowner -ownr "n:Administrators;s:
> $ CYGWIN=nontsec touch foo
Thanks Brian, that should do it.
On Wed 5/18/05 13??:34 PDT Brian wrote:
> [EMAIL PROTECTED] wrote:
>
> > I like and depend on NTSEC, but sometimes I want pure windows behavior.
> >
> > How can I create a new file from the bash prompt without umask being
> > honored
[EMAIL PROTECTED] wrote:
> I like and depend on NTSEC, but sometimes I want pure windows behavior.
>
> How can I create a new file from the bash prompt without umask being
> honored- what I want is a script to create a new empty file,
> so the DACL, owner & group will be exactly what a user would
I like and depend on NTSEC, but sometimes I want pure windows behavior.
How can I create a new file from the bash prompt without umask being
honored- what I want is a script to create a new empty file,
so the DACL, owner & group will be exactly what a user would
get by running the below from a sim
6 matches
Mail list logo