The missing write permission is for mail group, to dir and files.
So, chmod -R g+w to /var/sieve
After that didn't have more errors, but I don't know about that and keeping searching.
If happen again maybe I should compile like the error show and suggested at some docs: sievec /var/sieve/globalfilter.sieve
Anyone knows about it?
And seen /var/log/dovecot.log :
Fatal: master: service(lmtp): child 278485 returned error 83 (Out of memory (service lmtp { vsz_limit=256 MB }, you may need to increase it) - set CORE_OUTOFMEM=1 environment to get core dump)
So I increase the memory to login and imap service at /etc/dovecot/dovecot.conf, maybe it is linked with the sieve error.