delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/04/13:12:57

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=oYF+NAL2jqDd7JTO82bUo+NuQVIBk/RW7xBrPVxUWiT
Oyr+QyIUqrjUuyX0bM6bCubcGksI1ortmq3WNzJFbup9JVpEm/lSuDDTAScmIaNv
sqXNMAvVttKV4+m4qON2xK8T2H9S/j2Uno7VF+q0Ko6/s0MQjEsrw5zJBhy3gidc
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=8GDIkUZJE3s3bXiB6BfTGBhprgw=; b=s6whnP2GiYwdSbjcZ
d+CpKp9snYlzqmRZpjTe0S9f6id0FiYfcBAMNLlSCbvgbjhd1Xde8v/NswFxW1+t
IbhVxXbayZxg+5gRI1iYRci+M98Gcrkqhvy6jk0JAq6YT69BPGAZFHJuz13cHYEd
xOJj89/7aCkx8DWeJIpzd3+3Hg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,SPF_HELO_PASS,TW_NL autolearn=ham version=3.3.1
Message-ID: <515DB479.6010305@towo.net>
Date: Thu, 04 Apr 2013 19:12:25 +0200
From: Thomas Wolff <towo AT towo DOT net>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130307 Thunderbird/17.0.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: winln for native symlinks
References: <515BD718 DOT 8080605 AT dancol DOT org> <515BE1BF DOT 5010803 AT towo DOT net> <515BE36F DOT 6030701 AT dancol DOT org> <515DA0D9 DOT 7050209 AT towo DOT net> <515DA8F9 DOT 9000208 AT openafs DOT org>
In-Reply-To: <515DA8F9.9000208@openafs.org>
X-TagToolbar-Keys: D20130404191225533

Am 04.04.2013 18:23, schrieb Jeffrey Altman:
> On 4/4/2013 11:48 AM, Thomas Wolff wrote:
>> It shows this error message:
>> winln: you don't permission to create symbolic links. Run, as
>> administrator,
>> winln:   editrights -a SeCreateSymbolicLinkPrivilege -a $YOUR_USER
>> which should be fixed somehow like this:
>> You don't have permission to create symbolic links. Run, as administrator,
>>          editrights -a SeCreateSymbolicLinkPrivilege -u $USER
>> Moreover, this advice does not help. Even after having issued this
>> command as administrator, winln -s still works as administrator only.
> The SeCreateSymbolicLinkPrivilege privilege is filtered by User Account
> Control (UAC).  If your account is a member of the "Administrators"
> group, then the process needs to be run with your elevated credentials
> in order to make use of the SeCreateSymbolicLinkPrivilege privilege.
So I guess I had the right before anyway and the editrights didn't make 
any difference - the more useless this hint is in many cases.

> The "Administrator" account always runs in an elevated state and
> accounts that are not members of the "Administrators" group do not have
> their security tokens filtered by UAC.
>
> Does Cygwin permit binaries to be built with manifests?  If so,
> winln.exe could include an embedded manifest that indicates that
> elevated status is required.  The user would then be prompted by UAC
> whenever the command is used.
Since winln can also create hard links (and by default), this would 
require too much.
------
Thomas

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019