You are not logged in.

#1 2012-05-04 18:11:29

b166er
Member
Registered: 2012-05-04
Posts: 5

Can't accses internal harddrives from my user account [SOLVED]

Hi all
So yesterday I installed "real arch" for the first time. I've been playing around with archbang for a couple of months, but decided to go for "real arch" on my new drive.
The install went't fine, but there is one problem that I can't seam to solve.

I can't get accses to my internal harddrives when logged in as my normal user.

I can mount them and accses them as root. And they mount when using my old fstab from my previous archbang installation.
But no matter what I do, my normal user can't even get read-rights to the mounted filesystems.

External usb-disks work fine though. They can even be mounted via nautilus and have read/write-permissions. 
So any thoughts?

Last edited by b166er (2012-05-05 11:17:02)

Offline

#2 2012-05-04 18:22:35

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Can't accses internal harddrives from my user account [SOLVED]

Can you please post your /etc/fstab file?
How are you mounting them as root?  (What are the specific commands?)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2012-05-04 18:22:46

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Can't accses internal harddrives from my user account [SOLVED]

Welcome to the forums.

It might be helpful to post your /etc/fstab. It's difficult to say what might be wrong without having the actual details.

EDIT: damned ewaller tongue

Last edited by Gcool (2012-05-04 18:23:02)


Burninate!

Offline

#4 2012-05-04 18:51:31

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

Re: Can't accses internal harddrives from my user account [SOLVED]

Offline

#5 2012-05-04 21:22:41

frette
Member
Registered: 2012-05-04
Posts: 35

Re: Can't accses internal harddrives from my user account [SOLVED]

---

Last edited by frette (2025-04-08 15:56:59)

Offline

#6 2012-05-05 00:54:08

b166er
Member
Registered: 2012-05-04
Posts: 5

Re: Can't accses internal harddrives from my user account [SOLVED]

Thanks for all the answers guys!
I will try and give you some more info.

I started to mess around and see what happend if I put a usb-disk into the fstab. And it started to behave like the internal-disks. aka only root could get read-access.

So to clarify the problem:
Any disk that is present in the fstab or mounted by root or is an internal disk - does not give read permissions to my normal user.
But any disk that is connected by usb can be mounted and read by my normal user, as long as it is not present in the fstab.


karol wrote:

Tried this, but nothing changed...

ewaller wrote:

Can you please post your /etc/fstab file?
How are you mounting them as root?  (What are the specific commands?)

The command I use is regulair old "mount" aka :

mount -t ext3 /dev/sdc1 /media/archbang

My fstab with all my comonly used disks/partitions present (including my commented usb-connected disks) looks like this:

#
# /etc/fstab: static file system information
#
# <file system> <dir>   <type>  <options>       <dump>  <pass>
tmpfs           /tmp    tmpfs   nodev,nosuid    0       0
UUID=2fad9e48-3318-48a5-a003-7caa22cf6aed / ext4 defaults 0 1
UUID=9324fe09-4094-4255-9f58-d0bba655d84b /boot ext2 defaults 0 1
#
#
#
#
#UUID=a3bca1ee-a7f4-356e-a47b-7c250f3d0133       /media/media1   hfsplus
#UUID=60EA14125E61CF6C /media/media4 ntfs
UUID=385F93F405ED677E /media/media5 ntfs
UUID=FC203B68203B28D2 /media/media7 ntfs
UUID=3E604EFB604EBA03 /media/media8 ntfs
UUID=7E906029905FE665 /media/media9 ntfs
#
#
#
UUID=AC0421200420EED0 /media/Projekt ntfs
#UUID=57EFE9DC531D4AB2 /media/400gb-bu ntfs
#
#
UUID=a73f0070-1cf5-4b2b-aa0b-b92e8a8a97d7 /media/archbang ext3

But I doubt that there is something wrong with my fstab.

Feels more like there is some rule or something that is designed to prevent "lesser" users to gain read-access to internal drives.
(Iv'e already made sure that the user is in the storage group).

Offline

#7 2012-05-05 01:21:59

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,682

Re: Can't accses internal harddrives from my user account [SOLVED]

https://wiki.archlinux.org/index.php/NTFS-3G
tldr   install ntfs-3g and change the fstype in your fstab from ntfs to ntfs-3g

Offline

#8 2012-05-05 01:47:13

b166er
Member
Registered: 2012-05-04
Posts: 5

Re: Can't accses internal harddrives from my user account [SOLVED]

Thanks skunktrader!
Now it works flawlessly.

Didn't realize Arch dosen't come with this preinstalled.
weird, ntfs-3g has been out for ages. but ah well...

Btw I didn't need to change the names in the fstab to ntfs-3g. ntfs-3g seams to replace "regulair" ntfs.

But still wierd that it behaved so diffrently with usb-disks and internal.

Offline

#9 2012-05-05 02:14:06

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Can't accses internal harddrives from my user account [SOLVED]

Arch doesn't come with anything preinstalled. wink The limited ntfs driver is built in to the kernel. When you install the kernel, you get that too.

Don't forget to mark this thread as solved: https://bbs.archlinux.org/viewtopic.php?id=130309.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#10 2012-05-05 11:16:41

b166er
Member
Registered: 2012-05-04
Posts: 5

Re: Can't accses internal harddrives from my user account [SOLVED]

fsckd wrote:

Arch doesn't come with anything preinstalled. wink The limited ntfs driver is built in to the kernel. When you install the kernel, you get that too.

Allright, but in that case I'm surprised that ntfs-3g hasn't made it into the kernel yet. But ah well, no point in discussing this here.

fsckd wrote:

Don't forget to mark this thread as solved: https://bbs.archlinux.org/viewtopic.php?id=130309.

Sure thing, will do.

Offline

Board footer

Powered by FluxBB