You are not logged in.

#1 2014-02-05 19:13:56

phyle
Member
Registered: 2014-02-05
Posts: 2

Permission problems accessing mounted hard drives

Hello fellow arch users!

Yesterday I set up my Arch system and I am pretty happy about it.
The biggest problem I am currently facing is getting access to my other two hard drives.

I first added two lines for the two drives inside my /etc/fstab and I think I got them right.

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# UUID=f0f92cb5-6bd6-4d0a-a4e5-2be735592f5d
/dev/sda2           	/         	ext4      	rw,relatime,data=ordered	0 1

# UUID=4657766b-fa32-4281-b607-dbe0065d6a7a
/dev/sda1           	/boot     	ext4      	rw,relatime,data=ordered	0 2

# UUID=344da4df-81e1-4e03-be16-f966b002d0db
/dev/sda3           	/home     	ext4      	rw,relatime,data=ordered	0 2

/dev/sdb1		/mnt/sdb1	ntfs		rw,users			0 0  #2nd hdd
/dev/sdc1		/mnt/sdc1	ntfs		rw,users			0 0  #3rd hdd

Although you can see that the option "users" is in the fstab, when I run "mount" to see how the fs are mounted, the users option is not applied (or is it not stated).

/dev/sdc1 on /mnt/sdc1 type ntfs (rw,nosuid,nodev,noexec,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1)
/dev/sdb1 on /mnt/sdb1 type ntfs (rw,nosuid,nodev,noexec,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1)

My account's part of these groups:

dbus video storage users

I researched a lot about this problem, since I didn't want to do an unnecessary thread.
On my research I found this (https://bbs.archlinux.org/viewtopic.php?id=144801) thread, and I think the OP is facing the same problem, but I just don't understand most of what these guys are talking about.

I am using Openbox without a DE and without a DM. Plain Openbox.

My .xinitrc:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
exec dbus-launch --exit-with-session openbox

I hope I provided the information you need, although I think I forgot something. I will be providing the missing things as quick as possible after you replied which are needed.

Thanks in advance,
phyle

Last edited by phyle (2014-02-05 19:16:09)

Offline

#2 2014-02-05 19:21:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Permission problems accessing mounted hard drives

What exactly do you mean you can't access the mounted drives?
Have you read https://wiki.archlinux.org/index.php/Ntfs ?

Offline

#3 2014-02-05 19:22:35

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Permission problems accessing mounted hard drives

You need ntfs-3g.  Install the package and adjust your partition types in your fstab


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2014-02-05 21:39:14

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,901
Website

Re: Permission problems accessing mounted hard drives

phyle wrote:

Although you can see that the option "users" is in the fstab, when I run "mount" to see how the fs are mounted, the users option is not applied (or is it not stated).

/dev/sdc1 on /mnt/sdc1 type ntfs (rw,nosuid,nodev,noexec,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1)
/dev/sdb1 on /mnt/sdb1 type ntfs (rw,nosuid,nodev,noexec,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1)

What do you think the users option does? Have you tried unmounting the filesystem as a non-root user? Did it work?


phyle wrote:

My account's part of these groups:

dbus video storage users

Why?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB