how to add/edit files to secondary hard drive (sdb1)
Hi!
I have been a new ubuntu user. I permanently mounted my secondary hard drive to folder e on media (/media/e). Now I have been trying to move some files from a folder(work) i created in my primary hard drive (home/user/work). I try to copy the files i have in my work folder to folder e on media but have been unsuccessful. The paste option is not activated when i get to folder e. Can someone please give me some ideas to getting this done? Thankyou |
It looks like you've mounted sdb1 as root - and if it's owned by root, only root can write to it. You either need to paste those files as root (sudo cp /path/to/old/file /path/to/new/file) or allow ordinary users to mount the drive in /etc/fstab and change permissions on it.
|
Thank you klearview, btw, how do i allow ordinary users to write to that drive?
|
(as root) either:
chmod 777 /your/mountpoint or if you need the drive for only a specific user: chown <username> /your/mountpoint Also if you want to be able to mount/dismount the drive as ordinary user add option 'user' to that drive's line in /etc/fstab. Check out man pages (e.g.'man mount') for the following: mount, fstab, chown, chmod. |
Thanks klearview
|
All times are GMT -5. The time now is 05:08 AM. |