Provided by: golf_601.4.41-1_amd64 bug

NAME

       permissions - Golf documentation (general)

DESCRIPTION

       File  and  directory  permissions  are  given  with  standard  Linux  permissions. A permission "mode" is
       typically given as an octal number (such as 0750), where each digit is made of read  (carrying  value  of
       4),  write  (carrying  value of 2) and execute/search permissions (carrying value of 1), so for example 7
       means having read, write and execute/search permissions  (since  7=4+2+1).  The  first  digit  refers  to
       permissions given to user, second digit to those given to user's group, and third digit to those given to
       everyone.

       Files  in  Golf directories are generally created with 700 privileges, meaning only the user who owns the
       application can access them and other users (even within the  same  group)  cannot.  The  same  goes  for
       directories created by new-dir by default, unless "mode" specifies differently.

       Files created by Golf (including open-file and write-file) are created with 600 permissions, meaning only
       the user who owns the application can access them and other users (even within the same group) cannot.

       You  can use stat-file to obtain permission mode for a file or directory, and change-mode to set it. Note
       that, most of the time, you won't need to do  this  at  all.  If  you  do,  however,  you  should  change
       permission  modes  carefully  and  keep in mind the implications for both your application's security and
       functionality.

SEE ALSO

        General

       about-golf directories permissions See all documentation

$DATE                                               $VERSION                                           GOLF(2gg)