Ronald
2023-01-06 00:20:54 UTC
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
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