# Travis keeps files that no longer exist

**URL:** https://travis-ci.community/t/travis-keeps-files-that-no-longer-exist/9768
**Category:** Travis CI Discussions & Feedback
**Tags:** github, travis-build, bug
**Created:** [August 30, 2020, 6:35pm UTC](https://travis-ci.community/t/travis-keeps-files-that-no-longer-exist/9768 "2020-08-30T18:35:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Tony763](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@Tony763](https://travis-ci.community/u/Tony763)
#### Post date: [August 30, 2020, 6:35pm UTC](https://travis-ci.community/t/travis-keeps-files-that-no-longer-exist/9768/1 "2020-08-30T18:35:36Z")

</div>

Hello, I occur some odd behavior in travis. I removed some files from my repo, commited and pushed a change to git.  
In git I do not longer see a files, but when build is triggered, a files are present inside building directory and that makes a build to crash with error permissions denied. [Build](https://travis-ci.org/github/Tony763/mycroft-homeassistant/builds/722528949)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/travis_ci/original/2X/5/5b85a47c20633ef06d3f406eec8e30062e75ad04.png)

---

<div class="post-metadata">

### Author: ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)
#### Post date: [August 30, 2020, 7:01pm UTC](https://travis-ci.community/t/travis-keeps-files-that-no-longer-exist/9768/2 "2020-08-30T19:01:29Z")

</div>

Please check if the files are there before any of your build logic runs:

```auto
before_install:
   - ls -A test/travis-ci/HA/.storage/
   <all other before_install commands>

```

if not then some of your build logic creates them.
