This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using native symlinks


On May 28 14:16, Chris Sutcliffe wrote:
> What permissions do I need for native symlinks to work? According to
> edit rights I have SeCreateSymbolicLinkPrivilege (when checking via an
> elevated shell - i.e. with "Run as Administrator"):
> 
> âââ csutclif@bmotec3017201lt ââââ ~ â
> âââ 14:11 ââ>> editrights -u $USER -l
> SeLockMemoryPrivilege
> SeCreateSymbolicLinkPrivilege
> 
> However, if I try and create a native symlink it still fails.  If
> using the winsymlink:native option I get a "cygwin" symlink, winln

That's "winsymlinks:native" I hope...

> pops up a message stating I need the SeCreateSymbolicLinkPrivilege.
> Not sure if it's relevant or not, but the $USER in this case is a
> domain user, not a local user.

Are you sure it's an elevated shell?  `id -G' should contain 544.  Is
the filesystem NTFS?  Is it a local NTFS or a remote NTFS hosted by a
Vista-or-later OS?  If you set CYGWIN=winsymlink


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]