Interface ConfigurableUserClassFilePermissions

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void setExecute​(boolean execute)
      Enables or disables execute access to a file or directory for a certain class of users.
      void setRead​(boolean read)
      Enables or disables read access to a file or directory for a certain class of users.
      void setWrite​(boolean write)
      Enables or disables write access to a file or directory for a certain class of users.
    • Method Detail

      • setRead

        void setRead​(boolean read)
        Enables or disables read access to a file or directory for a certain class of users.

        Read access grants the capability to view the contents of a file, or to list the contents of a directory.

      • setWrite

        void setWrite​(boolean write)
        Enables or disables write access to a file or directory for a certain class of users.

        Write access grants the capability to modify or remove the contents of a file, or to add or remove files to/from a directory.

      • setExecute

        void setExecute​(boolean execute)
        Enables or disables execute access to a file or directory for a certain class of users.

        Execute access grant the capability to run a file as a program; executing a directory doesn't really make sense, it's more like a traverse permission; for example, a user must have 'execute' access to the 'bin' directory in order to execute the 'ls' or 'cd' commands.