You are not logged in.
Pages: 1
OK i have 2 internal hard drives, on my 2nd hard drive i am wanting to have complete read/write access but the only place i can get the drive to mount is /media/<foo>
fstab:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
UUID=07d05d7e-0f85-4485-a1f0-53f1a713dfe1 /media/hdd ext4 defaults 0 1
UUID=43a2ad34-0c4a-4ed6-b2b2-89b9547ff3e4 /boot ext2 defaults 0 1
UUID=59d2ce8c-e69d-4ad3-9914-23732881c3a3 /home ext4 defaults 0 1
UUID=ba08641f-df56-4a51-b22c-3203465d7091 / ext4 defaults 0 1
UUID=f9c966b8-6d16-4dac-afbb-6f36b6aec67b swap swap defaults 0 0
With it only being mounted in /media/ i do not have full write access.
i need to have full read/write.
Offline
The type of access does not depend on the mount point. Are you sure it's not just a permission problem?
Good ideas do not need lots of lies told about them in order to gain public acceptance.
Offline
im not sure, but also when i open thunar the hard drive is not listed in the left panel.
Offline
Is it mounted at all, then? Check with mount -l.
Good ideas do not need lots of lies told about them in order to gain public acceptance.
Offline
$ mount -l
/dev/sda3 on / type ext4 (rw)
none on /dev type tmpfs (rw,relatime,mode=755)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
none on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext2 (rw)
/dev/sda4 on /home type ext4 (rw)
[b]/dev/sdb1 on /media/hdd type ext4 (rw) [hdd][/b]
yes it is mounted
Offline
$ mount -l /dev/sda3 on / type ext4 (rw) none on /dev type tmpfs (rw,relatime,mode=755) none on /proc type proc (rw,relatime) none on /sys type sysfs (rw,relatime) none on /dev/pts type devpts (rw) none on /dev/shm type tmpfs (rw) /dev/sda1 on /boot type ext2 (rw) /dev/sda4 on /home type ext4 (rw) [b]/dev/sdb1 on /media/hdd type ext4 (rw) [hdd][/b]
yes it is mounted
Well, that's rather strange, because it is telling you, you have read-write permissions.
Can you post the output of
ls -l /media/hdd
Offline
Well, that's rather strange, because it is telling you, you have read-write permissions.
Can you post the output ofls -l /media/hdd
$ ls -l /media/hdd
total 16
drwx------ 2 root root 16384 2009-11-02 01:17 lost+found
Offline
Well this shows only user root has read, write and execute permissions. That's not right.
To give the owner (root) and the group members (members of group root) permission to read/write/execute /media/hdd, do:
# chmod -R 770 /media/hdd
To give everyone permission to read/write/execute /media/hdd, do:
# chmod -R 777 /media/hdd
Also, for more chmod "codes": http://jeffhowden.com/code/javascript/chmod/
Edit: If you want to have read/write/execute permission without having to sudo (just your user), do:
# chown -R <youruser> /media/hdd
# chgrp -R users /media/hdd
# chmod -R 700 /media/hdd
I think.
Last edited by SIGTERM (2009-11-02 20:36:40)
Offline
Ok that gave me everything that i was looking for and i thank you, but why is it the drive was not auto mounted and i had to go thru all the trouble of adding it to fstab. Why did HAL not see it?
Offline
I think HAL did see it, but your window manager/desktop manager just didn't auto-mount it. I don't know what WM/DM you are using, but Fluxbox for example, doesn't auto-mount drives by default. Gnome, on the other hand, does, by default.
By the way, the "chmod -R 770" is probably the best option.
Offline
Well i use XFCE.
Offline
In XFCE, you have to enable auto-mount. Perhaps you hadn't do that yet?
https://help.ubuntu.com/community/LowEndSystemSupport
Anyway, it's working now, right?
Offline
Well i use XFCE.
Xfce4 volume management has been buggy for me for over a year; so much so that I recently switched to KDE.
If you are still having similar issues, do a forum/google search for xfce, hal, eject, mount, you may find some patches/workarounds to get hal to play nice again.
Offline
Pages: 1