> For the complete documentation index, see [llms.txt](https://til.devjugal.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://til.devjugal.com/linux/fix-permission-for-newly-created-partitions.md).

# Fix Permission For Newly Created Partitions

For an `ext4` like file system, we need to change permissions before an user is able to access it, we can do so by running -

```bash
sudo chown -R $USER:$USER /data
```

Where `/data` is the location of the mounted drive.

***Source:*** [***AskUbuntu***](https://askubuntu.com/a/703676)
