LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-15-2004, 05:42 PM   #1
wasabi
Member
 
Registered: Aug 2003
Location: Charlotte, NC
Distribution: Fedora Core 3?
Posts: 95

Rep: Reputation: 15
Cant write or read ext3 partitions?!?!?!


I just set up my Fedora Core 2 installation this time manuall partitioning the drive to suit my needs. For some reason when I try to read or write to the drive I get an error saying i dont have permission. This is what I have in my fsab and the main partition I am trying to write too is media.

THanks

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext2 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/home /home ext3 defaults 1 2
LABEL=/media /media ext3 defaults 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=/usr /usr ext3 defaults 1 2
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
 
Old 06-15-2004, 05:45 PM   #2
Alex Cavnar
Member
 
Registered: Jun 2003
Location: Nashville, TN
Distribution: FreeBSD, Slack, and DebianPPC
Posts: 60

Rep: Reputation: 15
Are you trying to read/write as a regular user? What does ls -l /media show you?
 
Old 06-15-2004, 05:47 PM   #3
wasabi
Member
 
Registered: Aug 2003
Location: Charlotte, NC
Distribution: Fedora Core 3?
Posts: 95

Original Poster
Rep: Reputation: 15
yes trying to read write as a regular user

ls -l /media outputs

total 16
drwx------ 2 root root 16384 Jun 15 13:55 lost+found
 
Old 06-15-2004, 09:39 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
What you want is:
ls -l /
 
Old 06-16-2004, 06:44 AM   #5
wasabi
Member
 
Registered: Aug 2003
Location: Charlotte, NC
Distribution: Fedora Core 3?
Posts: 95

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by michaelk
What you want is:
ls -l /
sorry what does that mean,????
 
Old 06-16-2004, 07:35 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Sorry I didn't fully explain:
ls -l /media outputs
Show the permissions of files and directories within /media but not of the media directory itself.

ls -l / will show the permissions of the directory /media
 
Old 06-16-2004, 07:41 AM   #7
QuakerJ
LQ Newbie
 
Registered: Mar 2004
Location: Nottingham, UK
Distribution: Fedora14 - Gnome2
Posts: 15

Rep: Reputation: 0
Or more simply with less output

ls -ld /media

In friendship

QuakerJ
 
Old 06-16-2004, 11:23 AM   #8
wasabi
Member
 
Registered: Aug 2003
Location: Charlotte, NC
Distribution: Fedora Core 3?
Posts: 95

Original Poster
Rep: Reputation: 15
this outputs this

[josh@localhost josh]$ ls -ld /media
drwxr-xr-x 3 root root 4096 Jun 15 21:00 /media
[josh@localhost josh]$

what do I need to change or how do I make this partition/folder writable by any user.

Last edited by wasabi; 06-16-2004 at 11:24 AM.
 
Old 06-16-2004, 07:54 PM   #9
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
If you really want any user to be able to write to it, you want the output to look like this:

drwxrwxrwx

read,write, execute... the First three show the owner's permissions. The second group of three shows the groups permissions.. The last set of three shows the World, or others permissions.

The utility used to change these permissions is chmod.

chmod 777 /media will allow users to read and write and navigate within the folder.

--Shade
 
Old 06-17-2004, 07:07 AM   #10
wasabi
Member
 
Registered: Aug 2003
Location: Charlotte, NC
Distribution: Fedora Core 3?
Posts: 95

Original Poster
Rep: Reputation: 15
ok going to try that out after work. Thanks alot for your help. Do you know anywhere that I can find some documentation that is easy to understand on setting permissions?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Read and Write to Ext3 Filesystem from Windows onto Linux lennysokol Linux - General 34 01-22-2014 09:07 AM
Can Windows read ext3 partitions? mcah5 Linux - Newbie 15 02-07-2007 05:22 PM
Allowing normal users read-write access to Windows partitions Aphex_Twin2 Slackware 5 05-23-2005 09:22 AM
read/write ntfs partitions!!!! mlu Linux - Software 2 01-20-2005 01:42 PM
Read/Write access ext3 partition st00 *BSD 5 06-28-2004 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:09 PM.

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