My Apologies for the duplication. Actually I got a message that 'the question' needs to be get approved by moderator, so i tried to post it thru authenticated channel(my mistake). Intention wasn't to flood/annoy the people around & get the issue resolved sooner.
Apologies once again. Thanks, Sachin On Tue, May 11, 2010 at 2:34 AM, Kyle Sluder <kyle.slu...@gmail.com> wrote: > Someone posting under the name "Sravana Kumar" posted this exact > question a few hours ago. > > This is incredibly rude. Sock puppeting the mailing list to solve your > personal problems faster is quite a low maneuver. > > --Kyle Sluder > > On Mon, May 10, 2010 at 7:36 AM, Sachin Porwal <sachinpor...@gmail.com> > wrote: > > Hi, > > > > I am facing some Symbolic link refresh issues in my application. My > > application 'A' is supposed to create/repair a shortcut created in > > /Applications folder. This app should be launched in elevated mode so i > am > > using 'AuthorizationCreate' to create elevated token and launching the > same > > process 'A' with this token (the shortcut is created in authorized mode > > only). > > > > During the execution of process A, it another process 'B' is launched > > (elevated mode) which creates some folders/.app at '/Library'. Once the > > process B completes, process A creates shortcuts to the .app created by > > process B. In repair mode, process B will backup(rename) the existing > > folder/.app and create a fresh folder/.app & delete the backupfolder, > then > > process A will remove the existing shortcut and create the new one with > the > > .app path as destination. > > > > If the application runs first time, it is fine and the shortcut is > > appropriate. The refresh problem occurs in repair mode. If i try double > > clicking post repair, a broken shortcut dialog is shown. I tried checking > > the shortcut thru terminal, the target looks good & exist. If i forcibly > > relaunch the finder, the shortcut works fine. > > > > I also tried using noteFileSystemChanged after creating the shortcut : > > > > [[NSWorkspace sharedWorkspace] noteFileSystemChanged] > > [[NSWorkspace sharedWorkspace] noteFileSystemChanged:<linkpath>] > > [[NSWorkspace sharedWorkspace] noteFileSystemChanged:<destpath>] > > > > But it didn't helped. This problem is occurring in 10.5.6/10.5.8 but it > > seems fine in 10.6.2. Seems like a Apple Mac OS issue :-(. > > Could somebody please help me. > > > > Thanks, > > Sachin > > _______________________________________________ > > > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > > > Please do not post admin requests or moderator comments to the list. > > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > > > Help/Unsubscribe/Update your Subscription: > > http://lists.apple.com/mailman/options/cocoa-dev/kyle.sluder%40gmail.com > > > > This email sent to kyle.slu...@gmail.com > > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com