{"action":"created","issue":{"url":"https://api.github.com/repos/gulpjs/gulp/issues/1502","labels_url":"https://api.github.com/repos/gulpjs/gulp/issues/1502/labels{/name}","comments_url":"https://api.github.com/repos/gulpjs/gulp/issues/1502/comments","events_url":"https://api.github.com/repos/gulpjs/gulp/issues/1502/events","html_url":"https://github.com/gulpjs/gulp/issues/1502","id":128947629,"number":1502,"title":"add option to NOT run fs.chmod() on destination files","user":{"login":"cr1st1p","id":3305785,"avatar_url":"https://avatars.githubusercontent.com/u/3305785?v=3","gravatar_id":"","url":"https://api.github.com/users/cr1st1p","html_url":"https://github.com/cr1st1p","followers_url":"https://api.github.com/users/cr1st1p/followers","following_url":"https://api.github.com/users/cr1st1p/following{/other_user}","gists_url":"https://api.github.com/users/cr1st1p/gists{/gist_id}","starred_url":"https://api.github.com/users/cr1st1p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cr1st1p/subscriptions","organizations_url":"https://api.github.com/users/cr1st1p/orgs","repos_url":"https://api.github.com/users/cr1st1p/repos","events_url":"https://api.github.com/users/cr1st1p/events{/privacy}","received_events_url":"https://api.github.com/users/cr1st1p/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-26T21:26:49Z","updated_at":"2016-01-28T17:24:55Z","closed_at":null,"body":"I'm in the situation of having all the permission setup with 'setfacl' (for lxc containers) and I can NOT work at ALL with this setup because gulp's code always tries to run chmod, which fails miserably.\r\n\r\nCan you please add an option where there is no chmod() call involved?\r\nGulp version 3.9.0"},"comment":{"url":"https://api.github.com/repos/gulpjs/gulp/issues/comments/176291294","html_url":"https://github.com/gulpjs/gulp/issues/1502#issuecomment-176291294","issue_url":"https://api.github.com/repos/gulpjs/gulp/issues/1502","id":176291294,"user":{"login":"cr1st1p","id":3305785,"avatar_url":"https://avatars.githubusercontent.com/u/3305785?v=3","gravatar_id":"","url":"https://api.github.com/users/cr1st1p","html_url":"https://github.com/cr1st1p","followers_url":"https://api.github.com/users/cr1st1p/followers","following_url":"https://api.github.com/users/cr1st1p/following{/other_user}","gists_url":"https://api.github.com/users/cr1st1p/gists{/gist_id}","starred_url":"https://api.github.com/users/cr1st1p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cr1st1p/subscriptions","organizations_url":"https://api.github.com/users/cr1st1p/orgs","repos_url":"https://api.github.com/users/cr1st1p/repos","events_url":"https://api.github.com/users/cr1st1p/events{/privacy}","received_events_url":"https://api.github.com/users/cr1st1p/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T17:24:55Z","updated_at":"2016-01-28T17:24:55Z","body":"For who's interested in an ugly hack, I did this, in gulpfile.js:\r\nvar fs = require('fs');\r\nif (1) fs.chmod = function (a, b, cb) {\r\n\tcb(0);\r\n}\r\n\r\nI haven't tested gulp v4.0 but I do wonder if it won't *still* crash, since I also am having default 'setfacl' settings for directories.\r\n"}}