[99380] in RedHat Linux List

home help back first fref pref prev next nref lref last post

fstab woes . . .

daemon@ATHENA.MIT.EDU (Jeremy Clifton)
Sat Nov 14 00:03:38 1998

Date: Sat, 14 Nov 1998 00:09:31 -0500
From: Jeremy Clifton <fireproof@geocities.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


--------------5F9ABA7B1B009A56422EBADA
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

OK, I hope this hasn't been answered before. I tried to search the
archives and it didn't work.

This is the deal:

My old printer died. Since I'm poor, my parents gave me a printer.
Unfortunately, it's one of those daggum host-based WinPrinters that
doesn't emulate any other printer. So, I can't print in Linux, and I
have to boot to Win95 any time I want to print something. So, I created
a directory on one of my two VFAT partitions for all of my documents,
and moved them there so that I can access them in 95. But, now they are
all owned by root, so they are read-only to my other users.

So, I edited my fstab like so:

/dev/hda5               /                       ext2    defaults
1 1
/dev/hda1  /westside  vfat user,defaults,rw 0 0
/dev/hda6               /southcentral           vfat
user,defaults,rw   0 0
/dev/hda7               swap                    swap    defaults
0 0
/dev/fd0                /mnt/floppy             vfat
user,noauto           0 0
/dev/cdrom              /mnt/cdrom              iso9660
user,noauto,ro        0 0
none                    /proc                   proc    defaults
0 0

From what I understand about fstab and all that, I've got the /westside
and /southcentral paritions set up so that they default mount, can be
mounted and unmounted by any user, and should mount read-write. If I
check my mtab file with them mounted, they even show up as being mounted
read-write.

But, if I ls -l, they show up as only being read-write for root, and are
read/execute for other users. chmod a+rwx doesn't seem to have any
effect on the /southcentral partition or any subdirectories or files in
that partition, even when done by root.

Am I missing something here?

Thanks in advance,
Jeremy [fireproof@geocities.com]

--
Linux 2.2 is near! Windows users, REPENT!



--------------5F9ABA7B1B009A56422EBADA
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
OK, I hope this hasn't been answered before. I tried to search the archives
and it didn't work.
<p>This is the deal:
<p>My old printer died. Since I'm poor, my parents gave me a printer. Unfortunately,
it's one of those daggum host-based WinPrinters that doesn't emulate any
other printer.&nbsp;So, I can't print in&nbsp;Linux, and I have to boot
to Win95 any time I want to print something. So, I created a directory
on one of my two VFAT partitions for all of my documents, and moved them
there so that I can access them in 95. But, now they are all owned by root,
so they are read-only to my other users.
<p>So, I edited my fstab like so:
<p>/dev/hda5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ext2&nbsp;&nbsp;&nbsp; defaults&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1 1
<br>/dev/hda1&nbsp; /westside&nbsp; vfat user,defaults,rw 0 0
<br>/dev/hda6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/southcentral&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
vfat&nbsp;&nbsp;&nbsp; user,defaults,rw&nbsp;&nbsp; 0 0
<br>/dev/hda7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
swap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
swap&nbsp;&nbsp;&nbsp; defaults&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0 0
<br>/dev/fd0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/mnt/floppy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
vfat&nbsp;&nbsp;&nbsp; user,noauto&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0 0
<br>/dev/cdrom&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/mnt/cdrom&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
iso9660 user,noauto,ro&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 0
<br>none&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/proc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
proc&nbsp;&nbsp;&nbsp; defaults&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0 0
<p>From what I understand about fstab and all that, I've got the /westside
and /southcentral paritions set up so that they default mount, can be mounted
and unmounted by any user, and should mount read-write. If I check my mtab
file with them mounted, they even show up as being mounted read-write.
<p>But, if I ls -l, they show up as only being read-write for root, and
are read/execute for other users. chmod a+rwx doesn't seem to have any
effect on the /southcentral partition or any subdirectories or files in
that partition, even when done by root.
<p>Am I missing something here?
<p>Thanks in advance,
<br>Jeremy [fireproof@geocities.com]
<pre>--&nbsp;
Linux 2.2 is near! Windows users, REPENT!</pre>
&nbsp;</html>

--------------5F9ABA7B1B009A56422EBADA--


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post