public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Chris January" <chris@atomice.net>
To: "roger" <roger@eskimo.com>, <cygwin@cygwin.com>
Subject: RE: Cygwin's chmod +X
Date: Wed, 19 May 2004 11:53:00 -0000	[thread overview]
Message-ID: <ICEBIHGCEJIPLNMBNCMKCECNGBAA.chris@atomice.net> (raw)
In-Reply-To: <1084910520.3901.35.camel@localhost3.localdomain>

> I noticed while creating a bash script to backup my parents outlook &
> mydocuments folers, that WindowsXP does not recognize a "superuser" as
> being allowed access to a users folders!

You can only access a folder if you have been given permission (in the ACL)
unless you open it in backup mode. You can only change the ACL if you are
the owner of the folder. If you are an Administrator you can take ownership
of the folder and change the permissions. What you actually want to do is
change the owner of these folders to the Administrators group and then:
Before backing up:
cacls * /t /e /g yourusername:F
After backing up:
cacls * /t /e /r yourusername
or something like that...

In Local Security Policy you can change the default owner of objects created
by members of the Administrators group to Administrators by changing the
"System Object: Default owner for objects created by members of the
administrator group option" in Local Policies/Security Options.

Chris


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

      reply	other threads:[~2004-05-19 11:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-18 20:02 roger
2004-05-19 11:53 ` Chris January [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ICEBIHGCEJIPLNMBNCMKCECNGBAA.chris@atomice.net \
    --to=chris@atomice.net \
    --cc=cygwin@cygwin.com \
    --cc=roger@eskimo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).