Help: MSDOS File system permissions.

Help: MSDOS File system permissions.

Post by Nir Soff » Fri, 12 Jul 1996 04:00:00



Hello
I'm running Linux 2.0.5, and I mounted my Dos partition under /dos.
However, the normal user can't write to the partition,only root can,
is there a way to get the thing to be mounted with write permissions?
I've tried chmod 777 /dos
I've tried chmod 777/dos/*
I've tried chmod 777 /dos/*.*

In the mean while Im working around it with another superuser (So I could ftp
directly to the /dos system), but having another super user just for that is
a major security no-no, if anyone could supply me with details and or
 information I'd appreciate it.
Thanks,
Nir.

--
--
Nir Soffer AKA ScorpioS/... ... Damn. I should get in a group sometime...
Forget it.

 
 
 

Help: MSDOS File system permissions.

Post by Leif Erlingsso » Sat, 13 Jul 1996 04:00:00



> Hello
> I'm running Linux 2.0.5, and I mounted my Dos partition under /dos.
> However, the normal user can't write to the partition,only root can,
> is there a way to get the thing to be mounted with write permissions?
> I've tried chmod 777 /dos
> I've tried chmod 777/dos/*
> I've tried chmod 777 /dos/*.*


/etc/fstab
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/dev/hda1    /dos     msdos   defaults,umask=007,uid=501,gid=200 1   1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This assumes that Your ordinary user is UID 501 and belongs to GID 200
(I have this line in /etc/group ... "msdos::200:root,adm,leif,ylva" ...
that allows users root,adm,leif,ylva to rw to /dos, since umask=007
making /dos appear as ... "drwxrwx---  leif  msdos  /dos".). It also
assumes that Your DOS partition is /dev/hda1. Edit these according to
Your UID's etc.

-- Leif Erlingsson http://www.geocities.com/RodeoDrive/1998 +46 8 604 0995
   Stockholm, Sweden, Tellus, Milky Way, Gods Universe.

We have only two things to worry about:  That things will never get
back to normal, and that they already have.

 
 
 

Help: MSDOS File system permissions.

Post by Uwe Bonn » Sat, 13 Jul 1996 04:00:00


: Hello
: I'm running Linux 2.0.5, and I mounted my Dos partition under /dos.
: However, the normal user can't write to the partition,only root can,
: is there a way to get the thing to be mounted with write permissions?
: I've tried chmod 777 /dos
: I've tried chmod 777/dos/*
: I've tried chmod 777 /dos/*.*
:
: In the mean while Im working around it with another superuser (So I could ftp
: directly to the /dos system), but having another super user just for that is
: a major security no-no, if anyone could supply me with details and or
:  information I'd appreciate it.

You must give the permissions as mount option iun /etc/fstab, like:

/dev/hda1       /c      vfat    uid=18,gid=100,umask=002,quiet
/dev/hda5       /d      vfat    uid=18,gid=100,umask=002,quiet
/dev/hda6       /e      vfat    uid=18,gid=103,umask=002,quiet
/dev/fd0        /a      vfat    check=relaxed,gid=18,umask=002,noauto,user

--

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

 
 
 

1. Can msdos file system handle double space DOS file system ?

Just wonder whether the msdos file system in Linux can handle double
space DOS system.  I have a double space DOS disk partition.  When I mount
the partition with msdos file system, I only see top level DOS files.
I would like to access the regular DOS files.  I have linux 1.3.2 kernel.
Can any new kernel handle that ?  

Hsing Yuan

2. Linux/Redhat newbie questions

3. Mount, read or extract files from a floppy image file (MSDOS) under Unix system

4. SCO Open Server Enterprise & PROGRESS V7

5. Problem copying files with holes to msdos file system

6. AT&T Broadband (MediaOne RoadRunner)

7. Swap file on an msdos or nfs file system.

8. This is for Orest.

9. NFS - MSDOS file permissions

10. MSDOS FS file permissions

11. File permissions when mounting vfat or msdos partition

12. Enhanced Filing system - file system like DEC Advanced File system for Linux