Re: ACL Hell
Sorry for the late reply. Ran both commands from an elevated shell and it still doesn't work. I see this was discussed before but there was no concrete conclusion. https://www.cygwin.com/ml/cygwin/2013-04/msg00066.html The two options that do work so far are: 1. Run cygwin as administrator 2. Disable UAC altogether (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA=0 in the registry) I use the first option at work and the second one at home. Cheers. On Fri, Jul 17, 2015 at 2:29 PM, Kurt Franke kurt-fra...@web.de wrote: Sky Diver skydivergm at gmail.com writes: ... Still, how can I get a normal behavior (i.e. normal Windows symlinks as produces in winsymlinks:nativestrict mode) in a regular session w/o elevation? You could grant the necessary privilege to your account or to the group Users editrights -u sky -a SeCreateSymbolicLinkPrivilege or editrights -u Users -a SeCreateSymbolicLinkPrivilege regards kf -- 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 -- 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
Re: ACL Hell
Sky Diver skydivergm at gmail.com writes: ... Still, how can I get a normal behavior (i.e. normal Windows symlinks as produces in winsymlinks:nativestrict mode) in a regular session w/o elevation? You could grant the necessary privilege to your account or to the group Users editrights -u sky -a SeCreateSymbolicLinkPrivilege or editrights -u Users -a SeCreateSymbolicLinkPrivilege regards kf -- 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
Re: ACL Hell
I'm using cygwin for years already. I didn't use to have this problem in the past. It's something relatively new, that became way more intense in the past few months where I both re-installed windows at home, and got a fresh PC at work. I had similar problems - and to fix them I did this: Edit the file: /etc/fstab Add “noacl” as an option for mount points - I just let all mount points be “windows default” and leave it. It is in my opinion, the ACL stuff was well intended but ended up causing big problems for me. Windows is just a very different beast, and does not implement POSIX very well, and no attempt at putting a square peg in a round hole ends well. . I think what Cygnus, then Redhat - etc has done is a marvelous and great good - but this ACL stuff - yuck. I firmly believe “ACL = ON” by default is wrong headed. -Duane. -- 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
Re: ACL Hell
Greetings, Sky Diver! Hi, in the past several months or so, cygwin started giving me ACL pain in small surges which are gradually growing.. Here's a basic scenario that is slowly, but surely, driving me NUTZ: $ ln -s /cygdrive/c/tmp /tmp ln: failed to create symbolic link ‘/tmp’: Operation not permitted Are you running with superadmin credentials? Unlike Linux, Windows doesn't let regular users make symlinks. -- With best regards, Andrey Repin Wednesday, July 15, 2015 11:30:47 Sorry for my terrible english...
Re: ACL Hell
Hey Andrey, Are you running with superadmin credentials? Unlike Linux, Windows doesn't let regular users make symlinks. I'm using cygwin for years already. I didn't use to have this problem in the past. It's something relatively new, that became way more intense in the past few months where I both re-installed windows at home, and got a fresh PC at work. On both machines I'm referring to the main user, which is part of the Administrators group. I believe that answers your question. Both machine are Windows 8.1 64-bit, standalone station at home and part of a domain at work. One more thing, here's my CYGWIN env. varv: $ echo $CYGWIN winsymlinks:nativestrict This is the only way to produce windows compliant links (at least in my case). Thanks. -- 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
Re: ACL Hell
To Larry Hall: 1. I'd love to reply to your post, but I'm new to this mailing-list concept so I neglected to subscribe to the mailing list (yeah, I'm an old fashioned kinda guy, work only with thread-level google-groups / StackOverflow forum types ;) TBH: If Andrey wouldn't have CC'ed me on his reply, I wouldn't even know that someone addressed my case... 2. I admit I didn't read the whole Reporting Problems page. As soon as I found the 'appropriate mailing list' link, I was off to another page. 2.1. Having read the page in full, I apologize for violating 3+ rules. 3. To the matter at hand: first of all, I attached cygcheck.out to this mail. Second, indeed I am using a non-default symlink mode: winsymlinks:nativestrict. This is the only mode that work for my needs (I can elaborate upon request). Have to say that even after re-reading the documentation now, I don't see it mentioning anything about elevated privileges. I AM aware of the fact that with an elevated session, the problem doesn't exist. However, I avoided using this mode because every new file/directory were created as Administrators:None instead of sky:None. For some weird reason, I just tried creating both a file and a directory with an elevated session and they were created with sky:None... I can't tell what's what anymore (sorry, I just got totally baffled). Still, how can I get a normal behavior (i.e. normal Windows symlinks as produces in winsymlinks:nativestrict mode) in a regular session w/o elevation? Thanks! On Wed, Jul 15, 2015 at 10:17 PM, Sky Diver skydive...@gmail.com wrote: Hey Andrey, Are you running with superadmin credentials? Unlike Linux, Windows doesn't let regular users make symlinks. I'm using cygwin for years already. I didn't use to have this problem in the past. It's something relatively new, that became way more intense in the past few months where I both re-installed windows at home, and got a fresh PC at work. On both machines I'm referring to the main user, which is part of the Administrators group. I believe that answers your question. Both machine are Windows 8.1 64-bit, standalone station at home and part of a domain at work. One more thing, here's my CYGWIN env. varv: $ echo $CYGWIN winsymlinks:nativestrict This is the only way to produce windows compliant links (at least in my case). Thanks. cygcheck.out Description: Binary data -- 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
Re: ACL Hell
On 07/15/2015 04:32 AM, Andrey Repin wrote: Greetings, Sky Diver! Hi, in the past several months or so, cygwin started giving me ACL pain in small surges which are gradually growing.. Here's a basic scenario that is slowly, but surely, driving me NUTZ: $ ln -s /cygdrive/c/tmp /tmp ln: failed to create symbolic link ‘/tmp’: Operation not permitted Are you running with superadmin credentials? Unlike Linux, Windows doesn't let regular users make symlinks. Well, we're missing the cygcheck information from the OP (see the problem report guidelines at this link - http://cygwin.com/problems.html) to know if he's set one of the non-default modes of creating symlinks (see https://cygwin.com/cygwin-ug-net/using.html#pathnames-symlinks). The default method for creating Cygwin symlinks wouldn't require elevated permissions. If this is the issue, then the solution is to either create symlinks with elevated permissions or to use the default symlink mode which works even without the elevated permissions. -- Larry _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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
Re: ACL Hell
On Tue, Jul 14, 2015 at 5:15 PM, Sky Diver wrote: $ touch x $ ls -l x -rw-rwxr--+ 1 sky None 0 Jul 15 00:46 x* $ ln -s x y ln: failed to create symbolic link ‘y’: Operation not permitted I just tried this on a pristine Windows 7 64-bit virtual machine without issue. You might want to check your system. -- 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