External Hard Disk Mounting Problem

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
gayanhewa
Posts: 6
Joined: 5. Apr 2013, 11:52
Location: Sri Lanka
Contact:

External Hard Disk Mounting Problem

Post by gayanhewa »

Hi Guy's,

Auto mount in KDE version works fine , but the file system is always mounted read-only. Even the Root user can doesnt have rw access. Any ideas ?

What parameters should I pass for the mount to be available for other users , when mounting maually ?
User avatar
gapan
Salix Wizard
Posts: 6349
Joined: 6. Jun 2009, 17:40

Re: External Hard Disk Mounting Problem

Post by gapan »

What are you trying to mount?
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: External Hard Disk Mounting Problem

Post by mimosa »

I have had similar problems (perhaps) even in xfce 14 (perhaps). It means that when creating a Live USB, install-on-usb.sh won't work, even as root and chmodded and all. Unmounting and remounting to a directory of my choice in CLI fixes it. But something is going on that I don't understand ... it's a niggle. In Ratpoison with Gmountman, as far as I can remember, no such trouble. I also can't remember whether this is 13.37, 14.0, or both. It did happen to me recently though, perhaps when I was testing the KDE RC1 and also preparing my Live USB for (impending) travel to Europe.
User avatar
gayanhewa
Posts: 6
Joined: 5. Apr 2013, 11:52
Location: Sri Lanka
Contact:

Re: External Hard Disk Mounting Problem

Post by gayanhewa »

gapan wrote:What are you trying to mount?
I was trying to mount my 500GB external hard drive.
User avatar
gapan
Salix Wizard
Posts: 6349
Joined: 6. Jun 2009, 17:40

Re: External Hard Disk Mounting Problem

Post by gapan »

And what filesystem does it use? What is the partition table on it?
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: External Hard Disk Mounting Problem

Post by mimosa »

Here is what I get after mounting a partition (not mentioned in fstab) using Gmountman in Salix xfce 14:

Code: Select all

root[mimosa]# ls -ld /run/media/mimosa/Salix64/
drwxr-xr-x 22 root root 4096 Apr  4 12:15 /run/media/mimosa/Salix64/
root[mimosa]# exit
mimosa[~]$ touch /run/media/mimosa/Salix64/test
touch: cannot touch ‘/run/media/mimosa/Salix64/test’: Permission denied
mimosa[~]$ mount
/dev/sdb1 on / type xfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
gvfs-fuse-daemon on /home/mimosa/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=mimosa)
/dev/sda6 on /run/media/mimosa/Salix64 type ext4 (rw,nosuid,nodev,uhelper=udisks2)
Permissions inside the partition are all root:root too. I ran Gmountman using dmenu (not as root from terminal).

EDIT Except obviously here:

Code: Select all

root[mimosa]# ls -ld /run/media/mimosa/Salix64/home/mimosa
drwx------ 32 mimosa root 4096 Dec 23 09:35 /run/media/mimosa/Salix64/home/mimosa
root[mimosa]# ls -l /run/media/mimosa/Salix64/home/mimosa
total 2833964
drwxr-xr-x 2 mimosa users       4096 Dec 16 07:28 Desktop
etc
Post Reply