kacpwoja commented on pull request #15947:
URL: https://github.com/apache/airflow/pull/15947#issuecomment-973980769


   > Airflow _might not_ be able to sudo as root, but only sudo as a specific 
user :(
   
   But airflow already needs sudo permissions for chown anyway, as it uses it 
20 lines before in the same file:
   `subprocess.call(['sudo', 'chown', self.run_as_user, cfg_path], 
close_fds=True)`
   
   If I recall correctly, Airflow also needs sudo permissions for rm and kill.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to