You are not logged in.
i have set up a secondary hard drive easily enough using gparted, but it wont allow me to copy and paste anything in to it or anything, all it says is 'premission denied'
how do i resolve this?
Do you have write privileges on the mount point?
Post your /etc/fstab
What filesystem did you use to format this drive?
Offline
# /etc/fstab: Information about static filesystems.
#
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
devpts /dev/pts devpts defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
#/dev/hda3 /home ext3 defaults 0 2
#/dev/hdb1 /mnt/data ext3 defaults 0 2
/dev/cdrom /media/cdrom iso9660 user,ro,noauto 0 0
/dev/hda2 swap swap default 0 0
hdb1 is my secondary one, and no i dont have write privilages, how do you get it so that i can?
Open xterm, become root (su,Password: root)
Mount /dev/hdb1 to /home/tux/Documents :
root@slitaz:~#mount /dev/hdb1 /home/tux/Documents
Login as tux:
root@slitaz:~#login tux
tux@slitaz:~$
Write test:
tux@slitaz:~$ touch Documents/write.test
Verify write:
tux@slitaz:~$ ls -l Documents/
total 0
-rw-r--r-- 1 tux users 0 Aug 16 08:58 write.test
If you need more help please answer these 2 questions:
1. What filesystem is /dev/hdb1 formated with ext2,ext3,ext4,ntfs ?
2. What are the permissions of the mount point ?
The mount point is the folder on the filesystem you are mounting the drive to.
In the directions above the mount point is /home/tux/Documents
The mount point must have write privileges for either user or a group the user belongs to.
There are also options that may have to added to the mount command depending on the filesystem to allow writes.
Offline
it is formatted to ext3,
the point i wish to mount it to is /home/leekachu/media if possible, i am unsure of what the permissions are, my the looks the owner has read write and execute permissions, but it never seems to let me once ive mounted it
If root is the owner, that might be why you can't access it in non-root?
@leekachu
Logged in as leekachu:
leekachu@slitaz:~$ mkdir media
Follow the directions in my previous post but
Replace:
user tux with user leekachu
/home/tux/Documents with /home/leekachu/media
Offline
i have followed as best as i can, it is mounted to the correct point, but it is still only allowing me to read it, i cant even open the lost found folder, what is wrong with it?
i also have the write.test document in my media, but it wont let me confirm it or anything
run from terminal (Xterm):
~$ su
password: ENTER_YOUR_PASSWORD_ROOT
root@host_name:~# chown -R YOUR_USER_NAME:YOUR_USER_NAME /media/disk [and press ENTER]
root@host_name:~#
Note:
/media/disk is your second harddrive when you click unmount harddrive from PCMan File Manager.
Offline
YES!! THAT HAS WORKED!! thank you very very very very very for everyone who has helped me,
can someone explain what the problem was so i know for future reference?
i cannot thank you enough 
The problem was that root was the owner, and that you were trying to access it while not being in root.
chown -R recursively changed the owner.
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]