POSIX file system using Terminal connection


Accessing file system

The POSIX file system can be access using BS2000 Explorer view under POSIX Files node in selected BS2000 connection:

To be able to access the POSIX Root make sure that Enable Posix option is selected in connection properties and your BS2000 user has POSIX enabled.

Displaying content

In order to properly list the POSIX content it is required to use the stat application that displays precise files properties.
This program will be automatically uploaded to user's home directory under POSIX file system inside .bs2ide folder during connection to POSIX shell.

Expanding the Root ("/") node will list the content of POSIX root ("/") directory:


If user does not have the privileges to list content of directory, the following error will be displayed:

Please note if user is owner of the file then privileges can be manually changed in properties to allow file modification (see section Changing file permissions).

Supported operation on files

Creating file

To create a new file click the right mouse button on POSIX node parent directory and choose New > File or New > Folder to create a new directory.


Please note that unlike the BS2000 file system, POSIX is case sensitive and provided file or folder name will be used to create the same file on POSIX system.

Currently the BS2IDE will not allow user to create a new file in selected directory where already similar file exists but with differ in case.
For example if file "NewPosixFile" already exists then "newposixfile" or "NEWPOSIXFILE" cannot be created using BS2IDE.

Deleting file

To delete a file or directory click the right mouse button on selected POSIX node and choose Delete... or use the Delete button.

If delete operation could not be completed then the error message will be showed up with detailed information.
In following example file could not be deleted due to insufficient privileges:


Copying file

The following copying operations on POSIX files are currently supported:

File properties

In order to open file properties click the right mouse button on POSIX file or directory and choose Properties.
Currently POSIX File Properties contains information about file creation, modification and access time:


Changing file permissions

To change permissions, switch to the POSIX File Properties page in file or folder Properties window and select Permissions tab.
In this tab you can grant or remove selected permission type (Read, Write, Execute) for specific users and groups of users (User, Group, Others).


After clicking the OK button the BS2IDE will execute command to change the permissions as requested.

Please note that due to Eclipse restrictions any exception occurred during changing file permissions will not be visible in a popup window. If file permissions cannot be changed (for example due to insufficient privileges) the output message will be visible only in Console view.