LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-28-2007, 02:44 AM   #1
goja
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
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!!!
 
Old 12-28-2007, 03:01 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
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

Last edited by sycamorex; 12-28-2007 at 03:03 AM.
 
Old 12-28-2007, 04:36 AM   #3
goja
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Original Poster
Rep: Reputation: 0
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???
 
Old 12-28-2007, 04:52 AM   #4
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
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.
 
Old 12-28-2007, 04:54 AM   #5
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
permission denied while writing to mounted ntfs partitions in suse lifeafterdeath Linux - Newbie 2 11-20-2007 10:32 AM
Permission denied from W2K3 shares mounted by SMBMOUNT john_lawson Linux - Networking 1 06-14-2006 03:33 PM
Permission denied when trying to write to ttyS0 thepoint Linux - General 0 06-03-2004 09:36 PM
mounted but no write permission varunk123456 Red Hat 1 03-31-2004 02:54 PM
Permission denied to drive when mounted at boot wr3ck3d Linux - General 2 12-30-2003 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration