# Plex doesn't scan all music sub folders

**URL:** <https://forums.plex.tv/t/plex-doesnt-scan-all-music-sub-folders/863335>\
**Category:** General Discussions\
**Tags:** server-linux\
**Created:** [December 19, 2023, 1:21pm UTC](https://forums.plex.tv/t/plex-doesnt-scan-all-music-sub-folders/863335 "2023-12-19T13:21:08Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![rswart1](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@rswart1](https://forums.plex.tv/u/rswart1)\
**Post date:** [December 24, 2023, 7:55pm UTC](https://forums.plex.tv/t/plex-doesnt-scan-all-music-sub-folders/863335/3 "2023-12-24T19:55:37Z")

</div>

Hi. Thanks for your reply. I read a lot of posts and how-tos - I think part of my problem is I have gathered my music collection over many years - and instead of creating a folder tree of /artist/albums - well I did /artist/albums but there are two directories above these which are /year added/month added/ I didn’t do this for any specific reason it just evolved to this. There are two partitions - one with a main folder of MUSIC1 the other MUSIC2 - all mp3 files are under MUSIC1; flacs are in MUSIC2; I have been using Logitech Media Server for close to 20 years to play and manage my music - but I am looking at Plex because it allows me to stream my music remotely (at some cafe or wherever I might be with an Internet connection). I added the plex user to my ubuntu media server user name group but this doesn’t seem to help. I’ve tried various permissions from read/write/execute everything for everyone (777) to rwx for the user & r-x for group and others. None of this seems to change anything. I suspect the multiple layers of folders might be the problem - but what I know about plex I could recite in less than 60 seconds. My music drives/partitions are mounted at /mnt on the Ubuntu server. I read that Ubuntu (and others) like to keep /media for itself - so to speak. I can change the mount points fairly easily by redoing the fstab file - if that’s a problem. I followed through this [Linux Tips - #2 by ChuckPa](https://forums.plex.tv/t/linux-tips/276247/2) and I think my set up conforms except for part F where it says

```auto
[chuck@lizum ~]$ su
Password:

# change the default permissions to owner='rwx', everyone else to 'r-x' 
# 'x' means to traverse the directory to subdirectories & files
[root@lizum chuck]# find /disks/media3 -type d -exec chmod 755 {} \;

# change the default permissions to owner= 'rw-', everyone else 'r-only'
[root@lizum chuck]# find /disks/media3 -type f -exec chmod 644 {} \;

```

This is partly because, to get Logitech Media Server to play I had to grant rwx (777) to user/group/others - I tried other schemes but they simply did not work.

Also I’m confused about part F it seems to say two things:

Set permissions to 755 and set permissions to 644

EDIT: OK, so I think this means set directory permissions to 755 and file permissions to 644 - is this correct? I have never set file permissions that I know of - just folder permissions, recursively.

Thanks

PS - I did not check the box for Plex to use local metadata

---

_[View the full topic](https://forums.plex.tv/t/plex-doesnt-scan-all-music-sub-folders/863335)._
