Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans remote file permissions. chmod from within Netbeans?

When working with a project, a'la "PHP application from remote server"
The file properties I am offered, when I right-click->properties on files, relate only to the local properties.

Is it possible to modify file permissions on the remote files from within Netbeans somehow?

Currently for each new file I create, I have to manually chmod it, once, via ssh. I'd like to know if it's possible to do that from within Netbeans. With a plugin perhaps?

And yes I am aware of the 'preserve remote file permissions' setting and I do use it. Google has many results about that feature but none pertinent to what I am asking ;)

like image 574
DM8 Avatar asked Nov 05 '22 10:11

DM8


1 Answers

You can use dnotify on your server to modify the file permissions every time you change a file.

dnotify -M -r -b /var/www -e chmod -R 755 /var/www

like image 125
Max Avatar answered Nov 09 '22 13:11

Max