BK-CHMOD(1)
π bk chmod π
okay bestie, welcome to bk chmod from the BitKeeper Userβs Manual β manual name folded in right here like a little name tag π«Ά. This is the command that changes a fileβs mode and saves it, and yes itβs giving permission-slip main character energy π
.
πΈ NAME πΈ
bk chmod β change the mode of a file and save it.
β¨ SYNOPSIS β¨
bk chmod [ugoa]+rwxs file [file ...]
bk chmod [ugoa]βrwxs file [file ...]
bk chmod [ugoa]=rwxs file [file ...]
bk chmod octal file [file ...]
π¦ DESCRIPTION π¦
The chmod command changes the stored file modes (permissions) for files in the repository. File modes are normally whatever modes were present on the file was when it was checked in to BitKeeper. When changes to the file mode need to be made, the bk chmod command is used to record the new modes. π
The syntax is one of:
[ugoa]+rwxsβ a symbolic way of adding permissions.ugoaindicates the users to which the permissions apply, a combination of one or more of the following:ufor user,gfor group,ofor other, andafor all. If none are specified the default isa.rwxsindicates the permission to add, a combination of one or more of the following:rfor read,wfor write,xfor execute,sfor setuid or setgid depending onugoa.[ugoa]βrwxsβ a symbolic way of removing permissions. As above.[ugoa]=rwxsβ a symbolic way of setting permissions absolutely. As above.octalβ a 4 digit octal number wherein04000means setuid,02000means setgid, and in the following three digits4means read permission,2means write permission, and1means execute permission. The last three digits are for user, group, other permissions respectively. This form sets the mode absolutely, it is not relative to the previously recorded mode. π₯
π NOTES π
Setuid and setgid are not recommended since Windows does not support that concept. Similarly, group/other is also unsupported on Windows. π
Write permission is somewhat pointless since BitKeeper will remove write permission if the file is checked out unlocked and add write permission if the file is checked out with a lock. π
π¦ SEE ALSO π¦
bkβlog
π§ CATEGORY π§
File
made with π by BitKeeper Inc Β· source/version: 1E1 Β· for bk chmod(none) β thatβs the tea, bestie π«Άβ¨
π¦ where this page comes from
- alpine 3.24: bitkeeper-doc 7.3.3-r1 Β· Apache-2.0
- Copyright (c) 1998-2015 BitKeeper Inc
- Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms