View previous topic :: View next topic |
Author |
Message |
truekaiser l33t
Joined: 05 Mar 2004 Posts: 801
|
Posted: Fri Jan 02, 2015 12:43 am Post subject: /run/media mounting of esata |
|
|
I am new to writing udev rules, is there a way to make one so an external drive is mounted like a usb connected drive? Basically putting it in /run/media/<username>/ and allowing a user to mount and unmount it?
this is the drive and esata port on the motherboard.
Code: | /devices/pci0000:00/0000:00:04.0/0000:02:00.0/ata5/host4/target4:0:0/4:0:0:0/block/sde |
|
|
Back to top |
|
|
Bloss n00b
Joined: 05 Dec 2014 Posts: 20 Location: MI, USA
|
|
Back to top |
|
|
truekaiser l33t
Joined: 05 Mar 2004 Posts: 801
|
Posted: Wed Jan 07, 2015 12:39 pm Post subject: |
|
|
Yea i did that and it still wants the root password to mount and when mounted normal users can't access. |
|
Back to top |
|
|
Bloss n00b
Joined: 05 Dec 2014 Posts: 20 Location: MI, USA
|
Posted: Thu Jan 08, 2015 12:12 am Post subject: |
|
|
is the filesystem you're trying to mount ext4?
if it is you need to chown it
Code: |
chown username /mountpoint
|
|
|
Back to top |
|
|
|