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 257742 - Chmod +x not preserved when uploading file
Summary: Chmod +x not preserved when uploading file
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: FTP Support (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-28 17:23 UTC by turbob
Modified: 2016-02-11 07:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description turbob 2016-01-28 17:23:38 UTC
Hello,

I have a php project that also has a shell script in it.  I have automatic upload to server configured in netbeans.  When I save the script, it uploads as normal, but the +x permission is lost in the process and I have to go in and write chmod +x fileName.sh in order to be able to run it.
Comment 1 Tomas Mysik 2016-02-10 12:46:12 UTC
Do you have "Preserve Remote File Permissions" checked? And is your _local_ file executable (+x)? BTW once you _download_ such a file, this permission is unfortunately lost.

Thanks.
Comment 2 turbob 2016-02-10 17:53:50 UTC
Perfect, that was the solution!

Thank you Tomas
Comment 3 Tomas Mysik 2016-02-11 07:08:16 UTC
Thanks for reporting.