[alias] fix var permissions check