# Mounting an HDD with open permissions

**URL:** <https://discourse.farm-ng.com/t/mounting-an-hdd-with-open-permissions/393>\
**Category:** development\
**Tags:** amiga-brain\
**Created:** [July 17, 2024, 5:03am UTC](https://discourse.farm-ng.com/t/mounting-an-hdd-with-open-permissions/393 "2024-07-17T05:03:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![spark\_res](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@spark\_res](https://discourse.farm-ng.com/u/spark_res)\
**Post date:** [July 17, 2024, 5:03am UTC](https://discourse.farm-ng.com/t/mounting-an-hdd-with-open-permissions/393/1 "2024-07-17T05:03:57Z")

</div>

Hello,

We would like to use an external HDD to store data.

When plugged in, it appears at _/media/adminfarmng/hdd\_name_. Unfortunately at this point, it seems the permissions are set so only the root user can write data to it.

We’ve tried setting the permissions with _chmod_ but it doesn’t seem to apply.

Currently out work-around is unmounting the drive, and re-mounting using the _mount_ command and _umask=0000_ which gives us the desired result. But we have to do this after every reboot.

Is there a preferred method for automatically mounting an external HDD with open permissions?

Thanks,  
Steven

---

<div class="post-metadata">

**Author:** ![MScatolin](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.farm-ng.com/mscatolin/32/312_2.png) [@MScatolin](https://discourse.farm-ng.com/u/MScatolin)\
**Post date:** [July 17, 2024, 4:32pm UTC](https://discourse.farm-ng.com/t/mounting-an-hdd-with-open-permissions/393/2 "2024-07-17T16:32:59Z")

</div>

Hey Steven

Have you tried using `sudo`? You should be able to write on the drive using that.

---

<div class="post-metadata">

**Author:** ![spark\_res](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@spark\_res](https://discourse.farm-ng.com/u/spark_res)\
**Post date:** [July 22, 2024, 7:06am UTC](https://discourse.farm-ng.com/t/mounting-an-hdd-with-open-permissions/393/3 "2024-07-22T07:06:46Z")

</div>

Thanks for the response @MScatolin and sorry for the delayed reply.

Yep confirming we can write with _sudo_. Was just checking if there’s a more ‘global’ way of doing it like _fstab_ file as there will potentially be a few different processes writing to it.

For now though _sudo_ and/or remounting with shell script is getting us by.

---

<div class="post-metadata">

**Author:** ![MScatolin](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.farm-ng.com/mscatolin/32/312_2.png) [@MScatolin](https://discourse.farm-ng.com/u/MScatolin)\
**Post date:** [July 22, 2024, 4:10pm UTC](https://discourse.farm-ng.com/t/mounting-an-hdd-with-open-permissions/393/4 "2024-07-22T16:10:31Z")

</div>

Right now, we don’t, as the USB device mounts to the admin user, but we actually discussed about this and I did put in a feature request. Thanks for the suggestion!

---

<div class="post-metadata">

**Author:** ![spark\_res](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@spark\_res](https://discourse.farm-ng.com/u/spark_res)\
**Post date:** [July 23, 2024, 12:07am UTC](https://discourse.farm-ng.com/t/mounting-an-hdd-with-open-permissions/393/5 "2024-07-23T00:07:23Z")

</div>

No problems and thanks for raising a feature request. We’ll keep an eye out in the future.
