# Unable to delete files on Linux

**URL:** <https://forums.plex.tv/t/unable-to-delete-files-on-linux/703180>\
**Category:** Plex Media Server\
**Tags:** server-snap\
**Created:** [March 23, 2021, 11:45am UTC](https://forums.plex.tv/t/unable-to-delete-files-on-linux/703180 "2021-03-23T11:45:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alculete](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/alculete/32/94786_2.png) [@alculete](https://forums.plex.tv/u/alculete)\
**Post date:** [March 23, 2021, 11:45am UTC](https://forums.plex.tv/t/unable-to-delete-files-on-linux/703180/1 "2021-03-23T11:45:25Z")

</div>

Server Version#: 1.22.0.4163-d8c4875dd  
PMS snap runs as root but is unable to delete a file when my user owns the file. If I change the file owner to root I can delete. How can I hollow plex to delete files? Even if I set permissions to 777 I still can’t delete

---

<div class="post-metadata">

**Author:** ![ChaosBlades](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chaosblades/32/3877_2.png) [@ChaosBlades](https://forums.plex.tv/u/ChaosBlades)\
**Post date:** [March 23, 2021, 8:41pm UTC](https://forums.plex.tv/t/unable-to-delete-files-on-linux/703180/2 "2021-03-23T20:41:05Z")

</div>

Do you have the PMS setting enabled that allows deletion?

---

<div class="post-metadata">

**Author:** ![alculete](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/alculete/32/94786_2.png) [@alculete](https://forums.plex.tv/u/alculete)\
**Post date:** [March 23, 2021, 8:59pm UTC](https://forums.plex.tv/t/unable-to-delete-files-on-linux/703180/3 "2021-03-23T20:59:19Z")

</div>

Yes, I have

---

<div class="post-metadata">

**Author:** ![alculete](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/alculete/32/94786_2.png) [@alculete](https://forums.plex.tv/u/alculete)\
**Post date:** [March 26, 2021, 2:38pm UTC](https://forums.plex.tv/t/unable-to-delete-files-on-linux/703180/4 "2021-03-26T14:38:50Z")

</div>

any help?

---

<div class="post-metadata">

**Author:** ![alculete](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/alculete/32/94786_2.png) [@alculete](https://forums.plex.tv/u/alculete)\
**Post date:** [April 12, 2021, 2:29pm UTC](https://forums.plex.tv/t/unable-to-delete-files-on-linux/703180/5 "2021-04-12T14:29:48Z")

</div>

It seems this has no solution for more than a year. This is the second time I report an issue with exactly the same problem

---

<div class="post-metadata">

**Author:** ![Noah0504](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/noah0504/32/92422_2.png) [@Noah0504](https://forums.plex.tv/u/Noah0504)\
**Post date:** [April 12, 2021, 2:41pm UTC](https://forums.plex.tv/t/unable-to-delete-files-on-linux/703180/6 "2021-04-12T14:41:43Z")

</div>

From here: [Security and sandboxing | Ubuntu](https://ubuntu.com/core/docs/security-and-sandboxing)

> Without custom flags at installation, snaps run confined within a restrictive security sandbox.

I don’t really have any experience with snap packages, but unless you’ve done some customization, I would say you still have a permissions problem?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [July 11, 2021, 2:42pm UTC](https://forums.plex.tv/t/unable-to-delete-files-on-linux/703180/7 "2021-07-11T14:42:01Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
