This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 167810 - Permissions for KDE desktop icon are 066 instead of 644
Summary: Permissions for KDE desktop icon are 066 instead of 644
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: dlipin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-29 14:48 UTC by kurti
Modified: 2009-06-30 17:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Installation log (194.26 KB, application/octet-stream)
2009-06-30 08:31 UTC, kurti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kurti 2009-06-29 14:48:50 UTC
I have two machines (home & work) sharing the same /home-directory via a portable USB harddisk. I installed 6.7-RC3 on
both. On the second machine, the desktop icon had wrong permissions:

kurt@pckurt:~/Desktop$ ls -l netbeans-6.7\ RC3.desktop
----rw-rw- 1 kurt kurt 255 2009-06-29 12:42 netbeans-6.7 RC3.desktop

which rendered it unusable.

WORKAROUND:

chmod 644 Desktop/netbeans-6.7\ RC3.desktop
Comment 1 dlipin 2009-06-30 06:59:24 UTC
please attach the latest installation log from ~/.nbi/log
please also attach the output of "mount" and "umask" commands.
Comment 2 kurti 2009-06-30 08:29:37 UTC
kurt@pckurt:~/.nbi/log$ umask
0022
kurt@pckurt:~/.nbi/log$ mount |grep home
/dev/sdb1 on /home type crypt (noatime)

I will install 6.7 release today and see if it happens again.
Comment 3 kurti 2009-06-30 08:31:01 UTC
Created attachment 84162 [details]
Installation log
Comment 4 dlipin 2009-06-30 09:18:48 UTC
Can easily reproduce it, I`ll investigate.
Comment 5 dlipin 2009-06-30 09:30:36 UTC
Should be fixed in the next daily build (in a day or so).
http://hg.netbeans.org/main/rev/6a42e0fe0969

Please verify after you see notification about integration in this issue from "qa" user.

The issue happens if the shortcut (for 6.7 it is ~/Desktop/netbeans-6.7.desktop) exists before the installation.
In that case it gets wrong permissions during the new installation.

Thanks for report, really good catch.
Comment 6 Quality Engineering 2009-06-30 17:31:03 UTC
Integrated into 'main-golden', will be available in build *200906301400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6a42e0fe0969
User: Dmitry Lipin <dlipin@netbeans.org>
Log: Issue #167810 Permissions for KDE desktop icon are 066 instead of 644