mkshortcut --allusers --smprograms

Jon TURNEY jon.turney@dronecode.org.uk
Thu Apr 21 19:38:00 GMT 2011


On 15/08/2010 22:12, Charles Wilson wrote:
> On 6/29/2009 2:53 PM, Andy Koppe wrote:
>> Shortcuts created by postinstall scripts using mkshortcut --allusers
>> --smprograms aren't readable for ordinary users, so all they get to
>> see in the start menu is a white dummy icon that doesn't do anything.
>> This affects both MinTTY and rxvt, at least with Cygwin 1.7 on Windows
>> 7. I guess the scripts could find out where the start menu is and
>> apply the necessary rights themselves, but it would make sense and be
>> much more convenient if mkshortcut did that.
> 
> Andy, if you'd like to roll this change into a forward-port of your
> other, wideAPI/locale patch, that'd be great.

This issue still seems to exist, and I couldn't find an actual patch to solve
it, so attached is an attempt at fixing this.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mkshortcut_permissions.patch
URL: <http://cygwin.com/pipermail/cygwin/attachments/20110421/b3939a35/attachment.ksh>
-------------- next part --------------
--
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


More information about the Cygwin mailing list