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


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

Directory permissions

Path csiph.com!news.mixmin.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From Ronald <chchron@yahoo.co.nz>
Newsgroups comp.sys.acorn.programmer
Subject Directory permissions
Date Fri, 06 Jan 2023 13:20:54 +1300 (Custom)
Organization None
Lines 28
Message-ID <5a623e95e5chchron@yahoo.co.nz> (permalink)
Injection-Info reader01.eternal-september.org; posting-host="6eae89830f606ace128409fec38f5823"; logging-data="3112338"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Vur137PW1SLnKChpVvyVa"
User-Agent Pluto/3.18 (RISC OS/5.28) NewsHound/v1.53 RC2
Cancel-Lock sha1:pblXc5azpbfAzetCW/09P+D3hA4=
Xref csiph.com comp.sys.acorn.programmer:6420

Show key headers only | 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 | Unroll thread


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