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 150524 - add file permissions support
Summary: add file permissions support
Status: RESOLVED DUPLICATE of bug 24357
Alias: None
Product: platform
Classification: Unclassified
Component: Plugin Manager (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks: 112719
  Show dependency tree
 
Reported: 2008-10-17 12:42 UTC by Egor Ushakov
Modified: 2008-10-17 23:09 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2008-10-17 12:42:19 UTC
The problem is that inside nbms we loose file permissions.
e.g. create a file with 755 permissions and put it inside nbm.
Unpack it and the file will have 644 permissions.

In C/C++ pack we use external scripts that have to have executable permission.
If updated from nbm it is lost. Now we have to update file permissions in runtime
(see issue 112719)

In zipfileset the have filemode attribute solving this problem,
see http://codesnakes.blogspot.com/2008/07/netbeans-rcp-shell-scripts-permissions.html.

Please implement support of file permissions in nbms.
Comment 1 Jesse Glick 2008-10-17 22:48:39 UTC
Primarily needs to be implemented in AU, which is responsible for unpacking NBMs. If there is anything that needs to be
done in the harness to take advantage of such a feature it would be possible.
Comment 2 Jesse Glick 2008-10-17 23:09:03 UTC
Long filed as it turns out.

*** This issue has been marked as a duplicate of 24357 ***