sai2791 / aund

Linux Econet Server (Acorn computers - 8-bit with 32-bit support)
6 stars 4 forks source link

Fix Issue#9 #12

Closed SteveFosdick closed 3 years ago

SteveFosdick commented 3 years ago

This addresses a number of separate things in separate commits.

SteveFosdick commented 3 years ago

efd5c19

I want to do this differently the can_write and can_read are specifically for the fileserver permissions.

I am adding a check to fs_open if the file must exist but does not give a channel error -this might be the incorrect error also for putbytes and putbyte I will check the readonly flag and give a Not open for update error

I assume this is for https://github.com/sai2791/aund/pull/12/commits/efd5c1908f2fca86dff2f33a1932055ec37e0bbe which was re-using the fileserver permissions to do the same. Even if you do that another way it would still be wise to apply https://github.com/SteveFosdick/aund/commit/7c2c3dba8806b48f33e84dfd0b8aac64045e74f6 Failure to initialise these result in intermittent errors in the file server permissions but will be hard to test.