GNOME Bugzilla – Bug 134022
Start here link gets wrong permissions on creation
Last modified: 2004-12-22 21:47:04 UTC
When starting nautilus for the first time, it creates the ~/Desktop folder and copies the starthere.desktop file inside it. The problem is that the copy gets the same permissions as the original file. In (at least) the pkgsrc packaging system, system wide files get installed with restrictive permissions (no write), so starthere.desktop gets 444 mode when copied in ~/Desktop. This results in the "Start Here" icon having the "write denied" icon over it, which looks ugly after the first bootup. The solution is to change the permissions of the copied file to 644, to ensure we get something sane. At first, I used system(2) to call /bin/chmod, but then though that directly using chmod(2) could be better. So, the attached patch does the later.
Created attachment 24281 [details] [review] Sample patch
we don't create desktop files anymore.
Really? The starthere.desktop file _still_ gets copied into ~/Desktop in GNOME 2.6.1, even when starting with a completely clean home directory. FWIW, I also tried with Fedora Core 2, aside NetBSD, and it gets copied too.
Oh well, just for the record, now I see that this is fixed in 2.7.92 as you said...