You are not logged in.

#1 2011-03-18 10:59:35

SN4K3
Member
Registered: 2010-12-23
Posts: 21

Can't access filesystem?

I installed arch and openbox smile But I cant seem to access my storage filesystem I get an error like

mount: warning: /mnt/1 seems to be mounted read-only.

and then when I try to cd to the directory...

[!@#$%@Outlaw mnt]$ cd /mnt/1
bash: cd: /mnt/1: Permission denied
[!@#$%@Outlaw mnt]$ 

But I can access it through the root user but not with my normal user account.

And I also dont have a problem with other filesystems sad

Offline

#2 2011-03-18 11:29:18

jakobm
Member
Registered: 2008-03-24
Posts: 132

Re: Can't access filesystem?

Please provide the output of 'mount' and further details (fstab entry or action of mounting, filesystem type).

Offline

#3 2011-03-18 11:57:36

JMO
Member
From: Argentina
Registered: 2006-04-08
Posts: 98

Re: Can't access filesystem?

I would check groups

$ groups

and be sure that I'm on storage and optical.

Offline

#4 2011-03-18 12:01:18

SN4K3
Member
Registered: 2010-12-23
Posts: 21

Re: Can't access filesystem?

Output of mount is already given.

Heres the output of groups.

[athul@Outlaw /]$ groups 
lp wheel games video audio optical storage scanner users

Offline

#5 2011-03-18 12:35:51

hcjl
Member
From: berlin
Registered: 2007-06-29
Posts: 330

Re: Can't access filesystem?

SN4K3 wrote:

Output of mount is already given.

no, it's not. just execute

mount

and paste the output.

Last edited by hcjl (2011-03-18 12:36:21)

Offline

#6 2011-03-18 13:08:23

SN4K3
Member
Registered: 2010-12-23
Posts: 21

Re: Can't access filesystem?

oh sorry abt that

proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=218436,mode=755)
/dev/sda3 on / type ext4 (rw,relatime,barrier=1,data=ordered)
devpts on /dev/pts type devpts (rw)
shm on /dev/shm type tmpfs (rw,nosuid,nodev)

Offline

#7 2011-03-18 19:17:12

pskept
Member
From: pineal gland
Registered: 2011-03-18
Posts: 32

Re: Can't access filesystem?

SN4K3 wrote:

I installed arch and openbox smile But I cant seem to access my storage filesystem I get an error like

mount: warning: /mnt/1 seems to be mounted read-only.

and then when I try to cd to the directory...

[!@#$%@Outlaw mnt]$ cd /mnt/1
bash: cd: /mnt/1: Permission denied
[!@#$%@Outlaw mnt]$ 

But I can access it through the root user but not with my normal user account.

And I also dont have a problem with other filesystems sad

i think that the permissions on /mnt/1 need to be changed so that your "normal" user can read it. check out chmod.

Offline

#8 2011-03-20 05:20:43

SN4K3
Member
Registered: 2010-12-23
Posts: 21

Re: Can't access filesystem?

Tried chmod 777 but didnt work.

Offline

#9 2011-03-20 06:48:46

th0th
Member
From: Turkey
Registered: 2011-03-19
Posts: 22

Re: Can't access filesystem?

What is filesystem on the block that you are trying to access? If it's ntfs, try ntfs-3g. Else, try mounting with umask set.

# pacman -S ntfs-3g
# mount /dev/<your_device> /mnt/ -t ntfs-3g

or

# mount /dev/<your_device> /mnt/ -o umask=0000

Offline

#10 2011-03-20 06:51:47

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: Can't access filesystem?

fstab still missing, what about ls -a output of parent directory?

Also, how comes the output of mount does not include the mounted fs? I thought it was mounted and you can access it as root.


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#11 2011-03-26 06:20:43

SN4K3
Member
Registered: 2010-12-23
Posts: 21

Re: Can't access filesystem?

th0th wrote:

What is filesystem on the block that you are trying to access? If it's ntfs, try ntfs-3g. Else, try mounting with umask set.

# pacman -S ntfs-3g
# mount /dev/<your_device> /mnt/ -t ntfs-3g

or

# mount /dev/<your_device> /mnt/ -o umask=0000

Thanx both worked smile

Offline

Board footer

Powered by FluxBB