Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #6420

Directory permissions

From Ronald <chchron@yahoo.co.nz>
Newsgroups comp.sys.acorn.programmer
Subject Directory permissions
Date 2023-01-06 13:20 +1300
Organization None
Message-ID <5a623e95e5chchron@yahoo.co.nz> (permalink)

Show all headers | View raw


I have run into permission translation problems on a gccsdk project.
I will develop my own ls command further for research purposes.
On the RISC OS 5.28 side, 'protecting' a directory from access
only is reflected in the info option as L.
The access option for a directory displays the same regardless.
even though the whole contents has been locked from that point
I guess this means a directory has no attributes other than 'L'ock.

There are issues with the bog standard CoreUtils port where
ls -l displays a Directory
drwxr--r-- 
regardless of it being locked or not.
Possibly not a good example of unixlib though as it fails to
display dot names like .svn (/svn)
My own unixlib version of using readdir() has no problem
with dot names so it is not happening everywhere.

Eventually I will use the os version directly in my 'ls' as it has
aa wild card function built in, and it may be quicker to get
the file attributes then as well, reducing the size of the c file.
The unix wildcard ? character has to be changed to # but the *
stays the same.

I found a box with some old prm's so will be able to fit in some
reading on the swi soon.

Ronald

Back to comp.sys.acorn.programmer | Previous | NextNext in thread | Find similar


Thread

Directory permissions Ronald <chchron@yahoo.co.nz> - 2023-01-06 13:20 +1300
  Re: Directory permissions Martin Wuerthner <spamtrap@mw-software.com> - 2023-01-06 17:45 +0100
    Re: Directory permissions Ronald <chchron@yahoo.co.nz> - 2023-01-07 10:55 +1300
      Re: Directory permissions Ronald <chchron@yahoo.co.nz> - 2023-01-07 15:31 +1300
        Re: Directory permissions Ronald <chchron@yahoo.co.nz> - 2023-01-09 21:20 +1300

csiph-web