This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: rsh: "Permission denied" on file creation. Cygwin 1.3.3 on W2 K Adv Srv SP2.
- To: cygwin <cygwin at cygwin dot com>
- Subject: Re: rsh: "Permission denied" on file creation. Cygwin 1.3.3 on W2 K Adv Srv SP2.
- From: Corinna Vinschen <cygwin at cygwin dot com>
- Date: Tue, 16 Oct 2001 10:25:47 +0200
- References: <FF503547C1F8D211BD2C0008C7C564010C9A4934@exdkba06.novo.dk>
On Mon, Oct 15, 2001 at 06:40:11PM +0200, JHJE (Jan Holst Jensen) wrote:
> OK. Now, from what I've gathered, there seems to be some dispute as to what
> SYSTEM can do. But, since I can write to an existing file with an rsh
> invocation, it would seem that enough privileges are set in this case.
>
> >Or, much easier, the process running under System account activates
> >its SeRestorePrivilege and reads the file or activates its
> >SeBackupPrivilege and writes the file using FILE_FLAG_BACKUP_SEMANTICS.
> >System has both rights set by default. They are just not activated
> >by default as it's given for most dangerous privileges in NT.
>
> Is it then a bug/oversight that rsh cannot create a file, or is it intended
> (cryptic) behavior ?
It's intended NT behaviour. No password on logon <-> no authentication
on network shares.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/