delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1997/05/05/09:52:41

Date: Mon, 5 May 1997 09:41:52 -0400 (EDT)
From: Pierre Phaneuf <pp AT 55-174 DOT hy DOT cgocable DOT ca>
Reply-To: pierre AT tycho DOT com
To: OpenDOS Mailing List <opendos AT delorie DOT com>
Subject: Re: A few FS notions
In-Reply-To: <199705051203.OAA05820@grendel.sylaba.poznan.pl>
Message-ID: <Pine.LNX.3.95.970505093809.5518A-100000@55-174.hy.cgocable.ca>
MIME-Version: 1.0

On Mon, 5 May 1997, Mark Habersack wrote:

> > 3. Some files have bare-bones FAT permissions, others have owner-group-world
> >    flags; do we have to map them all down to a "readonly" bit appropriate
> >    for that user?  Or make up owner-group-world bits (e.g. from a default
> >    umask to use Unix terminolgy).
> That would depend on the target file system. In case of FAT, you have no 
> choice - just the R/O bit...

He means to ask which system is the "visible" one, i.e. show Unix-like
permissions all the time and make them up when the FS doesn't have them
(like DJGPP "ls" does for example), or show FAT-like R/O based on the
current user for FS supporting permissions...

I vote for showing Unix-like permissions and faking them with weak
filesystems.

Pierre Phaneuf


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019