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.
Created attachment 137080 [details] Composer update failed Hi, I have composer installed globally (via sudo). When I use Composer/Self Update, I get this errors, since the user running netbeans does not have necessary permmissions. It should be possible to configure it to be run as sudo, and be asked for password. "/usr/bin/php" "/usr/local/bin/composer" "--ansi" "--no-interaction" "self-update" [Composer\Downloader\FilesystemException] Filesystem exception: Composer update failed: the "/usr/local/bin" directory used to download the temp file could not be written self-update Done.
Well, yes but only the self-update command; the other commands _must_ run under the user permissions. Also, not sure if "sudo" will work in every possible situations - does _every_ Linux distribution has "sudo" installed by default? Thanks.
BTW IMHO not a defect - works as designed but could/should be improved. Thanks.