You are not logged in.

#1 2011-05-15 22:09:04

jpmelos
Member
From: São Carlos, SP, Brazil
Registered: 2011-03-27
Posts: 18
Website

[SOLVED] How to mount a drive for writing?

Hello, guys.

I'd like to know how can I mount a drive and be able to write on it?

I'm trying to mount my external HD (plugged in the e-SATA), but when I try to write on it, it says "operation not permitted" (using cp, mv or any command that writes).

To mount it, I'm using

# mount -o rw,user,defaults,exec,umask=1000 /dev/sdb1 /media/files/

What is weird, because I thought option rw was there to let me read and write to the drive. I've tried to write as root also, but that won't work either.

Thank you.

Last edited by jpmelos (2011-05-15 23:09:26)


João Paulo Melo de Sampaio
Studying Computer Engineering @ UFSCar
http://www.jpmelos.com

Offline

#2 2011-05-15 22:14:29

nybegynner
Member
From: Norway
Registered: 2010-02-07
Posts: 36

Re: [SOLVED] How to mount a drive for writing?

which filesystem is used on the drive? also instead of mounting the drive manually with mount, you can define the mountpoints and mount options in /etc/fstab.

Last edited by nybegynner (2011-05-15 22:16:49)

Offline

#3 2011-05-15 22:27:12

jpmelos
Member
From: São Carlos, SP, Brazil
Registered: 2011-03-27
Posts: 18
Website

Re: [SOLVED] How to mount a drive for writing?

Hi, nybegynner.

I'm using ntfs (to allow occasional usage from a Windows machine when I'm at public computers).

I've tried automated mount with /etc/fstab, using those same parameters I mentioned in the previous post, and it didn't work either.

Thank you.


João Paulo Melo de Sampaio
Studying Computer Engineering @ UFSCar
http://www.jpmelos.com

Offline

#4 2011-05-15 22:47:03

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] How to mount a drive for writing?

jpmelos wrote:

I'm using ntfs (to allow occasional usage from a Windows machine when I'm at public computers).

https://wiki.archlinux.org/index.php/Ntfs

Offline

#5 2011-05-15 23:08:58

jpmelos
Member
From: São Carlos, SP, Brazil
Registered: 2011-03-27
Posts: 18
Website

Re: [SOLVED] How to mount a drive for writing?

Hi, karol!

Thank you very much, worked great!!


João Paulo Melo de Sampaio
Studying Computer Engineering @ UFSCar
http://www.jpmelos.com

Offline

Board footer

Powered by FluxBB