DOS disks access only as root?

DOS disks access only as root?

Post by BCCP » Sun, 29 Nov 1998 04:00:00



I am running (slackware) 2.0.35  I have a MSDOS disk that I use to boot dos
as the C: drive.  Under LINUX I mount it as /dosc.  When I had 1.2.13 as the
kernel, I could access the drive as any legal user.  I could write files to
the drive as well as move files to the drive.  Now I cannot.  I need to be
root.  Even as root I cannot move files to the drive.  The objects that are
to be moved (mv) are not moved but copied (cp) and at the stage when the
original files are to be removed I get an error.  I then have to manually
remove the original files.  One more piece of evidence is the (ppa) zip
dirve that I have.  It is a MSDOS format.  I mount it to /zip and again I
need to be root to copy anything to the drive and a move operation gives me
an error.  Other drives that I have tested are scsi drives (4 different
drives), and the floppies (both A: and B:).  I wonder what is up??   Is this
a bug?? or is this a reflection of something that I am doing wrong??
 
 
 

DOS disks access only as root?

Post by BC Computer Product » Mon, 30 Nov 1998 04:00:00


I am running (slackware) 2.0.35  I have a MSDOS disk that I use to boot
dos
as the C: drive.  Under LINUX I mount it as /dosc.  When I had 1.2.13 as
the
kernel, I could access the drive as any legal user.  I could write files
to
the drive as well as move files to the drive.  Now I cannot.  I need to
be
root.  Even as root I cannot move files to the drive.  The objects that
are
to be moved (mv) are not moved but copied (cp) and at the stage when the

original files are to be removed I get an error.  I then have to
manually
remove the original files.  One more piece of evidence is the (ppa) zip
dirve that I have.  It is a MSDOS format.  I mount it to /zip and again
I
need to be root to copy anything to the drive and a move operation gives
me
an error.  Other drives that I have tested are scsi drives (4 different
drives), and the floppies (both A: and B:).  I wonder what is up??   Is
this
a bug?? or is this a reflection of something that I am doing wrong??

 
 
 

DOS disks access only as root?

Post by Douglas E. Mitt » Tue, 01 Dec 1998 04:00:00


Hi There;

I hope I understand what you are asking ...
- on a hardrive partition, formatted as MSDOS (not Win95+) you want a
normal user to be able to read-write files to it.

To do this on my system my DOS partition is /dev/hda1 and I have the
following in my /etc/fstab file:
/dev/hda1   /dosc   msdos   user,exec   1     1

My ls -l /dev/hda1
brw-rw---- 1   root      disk     3,    1    Nov 20 20: 45   /dev/hda1

As for your other problems I don't think I can comment!  But, I use
user accessible DOSC harddrive all the time.

I think the important points are:
- attributes in /etc/fstab
- permissions and ownership of device file
- type selection (ie. MSDOS)(VFAT for Win95)

Good luck!


>I am running (slackware) 2.0.35  I have a MSDOS disk that I use to boot dos
>as the C: drive.  Under LINUX I mount it as /dosc.  When I had 1.2.13 as the
>kernel, I could access the drive as any legal user.  I could write files to
>the drive as well as move files to the drive.  Now I cannot.  I need to be
>root.  Even as root I cannot move files to the drive.  The objects that are
>to be moved (mv) are not moved but copied (cp) and at the stage when the
>original files are to be removed I get an error.  I then have to manually
>remove the original files.  One more piece of evidence is the (ppa) zip
>dirve that I have.  It is a MSDOS format.  I mount it to /zip and again I
>need to be root to copy anything to the drive and a move operation gives me
>an error.  Other drives that I have tested are scsi drives (4 different
>drives), and the floppies (both A: and B:).  I wonder what is up??   Is this
>a bug?? or is this a reflection of something that I am doing wrong??

------------------------------------------------
  Doug Mitton - Brockville, Ontario, Canada
                'City of the Thousand Islands'


           http://www.*tap.com/dmitton
  SPAM Reduction: Remove "x." from my domain.
------------------------------------------------
 
 
 

1. Accessing DOS disks as other than root?

I am running (slackware 3.6) 2.0.35  I have a MSDOS disk that I use to
boot dos as the C: drive.  Under LINUX I mount it as /dosc (mount -t
msdos /dev/hda1 /dosc).  When I had 1.2.13 as the kernel, I could access
the drive as any legal user.  I could write files to the drive as well
as move files to the drive.  Now I cannot.  I need to be root.  Even as
root I cannot move files to the drive.  The objects that are to be moved
(mv) are not moved but copied (cp) and at the stage when the original
files are to be removed I get an error.  I then have to manually remove
(rm) the original files.  One more piece of evidence is the (ppa) zip
dirve that I have; it is a MSDOS format.  I mount it to /zip and again I
need to be root to copy anything to the drive and a move operation gives
me an error.  Other drives that I have tested are scsi drives (4
different drives), and the floppies (both A: and B:).  I wonder what is
up??   Is this a bug?? or is this a reflection of something that I am
doing wrong??

2. password management with Solaris 8

3. root disk file system and nfs server from boot/root disks.

4. Question about find...-mtime

5. root disk file system type and nfs server from boot/root disks.

6. <no subject>

7. Problem accessing DOS partitions not as root.

8. zip drive(external)

9. DOS partition, how about non-root write access?

10. Mounting a cd-rom without root access - How is this done?

11. Root Access (wasRe: Linux clone of dos editor (ide)edit.exe!!!!!!!!!!!!)

12. Some of us don't use DOS (was: Shared libraries on root disk)

13. How get image from root disk as dos file?