Recommended solution to change file/folder permissions from inside the editor?


#1

Hi,

What is the recommended solution to change file/folder permissions from inside the editor?

Thank you


#2

Hi,

http://nodejs.org/api/fs.html#fs_fs_chmod_path_mode_callback
http://nodejs.org/api/fs.html#fs_fs_chown_path_uid_gid_callback

Also you have https://github.com/arturadib/shelljs this is cross platform (look chmod section and chown).