# Version 0.16.10 vs 0.17.11 permission denied

**URL:** https://discourse.greatexpectations.io/t/version-0-16-10-vs-0-17-11-permission-denied/1337
**Category:** GX Core Support
**Tags:** airflow
**Created:** [August 22, 2023, 10:56am UTC](https://discourse.greatexpectations.io/t/version-0-16-10-vs-0-17-11-permission-denied/1337 "2023-08-22T10:56:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![lionel](https://avatars.discourse-cdn.com/v4/letter/l/f9ae1b/32.png) [@lionel](https://discourse.greatexpectations.io/u/lionel)
#### Post date: [August 22, 2023, 10:56am UTC](https://discourse.greatexpectations.io/t/version-0-16-10-vs-0-17-11-permission-denied/1337/1 "2023-08-22T10:56:05Z")

</div>

Hello ,  
I was using version 0.16.10 and i was not facing this error when i upgraded to 0.17.11  
i get this error

```auto
great_expectations.exceptions.exceptions.GitIgnoreScaffoldingError: Could not create .gitignore in
because of an error: [Errno 13] Permission denied: '/opt/airflow/dags/repo/include/great_expectations/.gitignore'

```

can you please help me out what is different

---

<div class="post-metadata">

### Author: ![HaebichanGX](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.greatexpectations.io/haebichangx/32/211_2.png) [@HaebichanGX](https://discourse.greatexpectations.io/u/HaebichanGX)
#### Post date: [August 23, 2023, 3:32pm UTC](https://discourse.greatexpectations.io/t/version-0-16-10-vs-0-17-11-permission-denied/1337/2 "2023-08-23T15:32:19Z")

</div>

Hey @lionel so unfortunately we haven’t fully tested GX with Airflow for official support yet, so it’s difficult for us to track down exact reasons for these errors.

Overall, the error message you’re encountering indicates that there’s a permission issue while trying to create a `.gitignore` file in the specified directory. This is likely due to insufficient permissions for the user or process attempting to create the file.

Here are a few steps you can try to take to resolve this issue:

1. Check Permissions: Make sure the user or process running the code has the necessary write permissions in the specified directory (`/opt/airflow/dags/repo/include/great_expectations/`). You might need to adjust the permissions on the directory using commands like `chmod` if you’re on a Unix-like system.
2. User Permissions: If you’re running the code as a specific user, ensure that the user has the appropriate permissions to write to the directory. You might need to use `sudo` or elevate the user’s privileges if needed.
3. Virtual Environment: If you’re using a virtual environment, ensure that the environment has the necessary permissions to create files in the specified directory.

Let me know if these suggestions help at all. Thanks
