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 180625 - control of file owner & group after save via SFTP upload
Summary: control of file owner & group after save via SFTP upload
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: FTP Support (show other bugs)
Version: 6.x
Hardware: PC All
: P3 normal (vote)
Assignee: issues@php
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-11 10:58 UTC by IvoLucien
Modified: 2010-09-17 05:31 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 IvoLucien 2010-02-11 10:58:08 UTC
There are two related parts to this request. For more info see: https://netbeans.org/bugzilla/show_bug.cgi?id=180508

1) Having the option to keep file owner and groups the same after a normal SFTP upload, i.e. not requiring the workaround of using Upload Directly. This could be accomplished by backing up the original file and overwriting the original instead of using mv.

2) Supporting the specification of owner and group for new files, for such circumstances as when an editor is a member of a group with write permissions, but the file needs to be owned by the web server's user. This could be addressed by copying a user specified file's permissions or the option to automatically run a script for example.

The effect not having this functionality when taking this strict approach to file security, even with using the less than ideal Direct Upload workaround, is that new files cannot be seen by the web server until manually chown'd.

Thank you kindly~
Comment 1 Filip Zamboj 2010-09-15 12:36:54 UTC
batch reassigning