FileSystemPermission with Linux/Unix

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FileSystemPermission with Linux/Unix

amdu
Hi:

The Class FileSystemPermission in Pharo works not correct - i think.

The methods looks for ownerBits, groupBits and otherBits for the File/Directory. Ok...

But - Who is the owner? There is no solution for it.
And Objects from FileSystemDirectoryEntry have no owners too.

Example:
The User is amdu (not root).

(FileReference / '/root') isReadable
-> true (????)
Ok - the Directory /root have a read-owner-bit (rwx------), but for owner 'root' not for user 'amdu'.

GNU Smalltalk works correct.
(File isReadable: '/root')
-> false (!!!!)

Is this a bug in pharo?

cu
amdu