LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help Me!! I can't write to a mounted (ext3) partition - permission denied!! (https://www.linuxquestions.org/questions/linux-newbie-8/help-me-i-cant-write-to-a-mounted-ext3-partition-permission-denied-609561/)

goja 12-28-2007 02:44 AM

Help Me!! I can't write to a mounted (ext3) partition - permission denied!!
 
I'm new at Linux and I've been using openSUSE 10.3 just for a few days. This problematic partition is a leftover from Windows and was previously formated as NTFS. I reformatted it to ext3 because I couldn't copy a single file to it, but a folder "lost+found" appeared that couldn't be deleted and every time I try to copy anything to the partition "Permission denied" message would appear.

What to do? How to solve this?

HELP!!!

sycamorex 12-28-2007 03:01 AM

You need to find out the name of that partition (e.g./dev/hda3, or /dev/hdc4 or /dev/sda2 etc)
As root you can type '
Quote:

fdisk -l
' it will list all the drives.
Then edit your /etc/fstab file

Find the entry with the partition you are talking about and modify it. Mine looks as follows:
Code:

/dev/sda8      /home/sycamorex/data    auto            auto,rw,user    0      0
After you've modified fstab, as root type:
Quote:

mount -a
you should be able to write to it now.

hth

goja 12-28-2007 04:36 AM

I've tried modifying etc/fstab in Kwrite and Kate and each time I get message that I don't have write access to that file. How to change the fstab? Where's the problem?

UPDATE:

New problem, now I cannot write to external disks either!!!!! Where is the problem???

deepumnit 12-28-2007 04:52 AM

You open a terminal window and type
Code:

su
After this, type the root password. Then type:
Code:

gedit /etc/fstab &
Edit the file and save the changes.

deepumnit 12-28-2007 04:54 AM

I am sorry, if you do not have gedit, you can use kwrite or any other software instead of gedit.


All times are GMT -5. The time now is 04:59 AM.