Program to change access permissions of a file or folder
chmod
Original author(s)
AT&T Bell Laboratories
Developer(s)
Various open-source and commercial developers
Initial release
3 November 1971; 52 years ago (1971-11-03)
Written in
Plan 9: C
Operating system
Unix, Unix-like, Plan 9, Inferno, IBM i
Platform
Cross-platform
Type
Command
License
coreutils: GPLv3 Plan 9: MIT License
In Unix and Unix-like operating systems, chmod is the command and system call used to change the access permissions and the special mode flags (the setuid, setgid, and sticky flags) of file system objects (files and directories). Collectively these were originally called its modes,[1] and the name chmod was chosen as an abbreviation of change mode.[2]
^The modes/permissions are shown when listing files in long format.
In Unix and Unix-like operating systems, chmod is the command and system call used to change the access permissions and the special mode flags (the setuid...
/usr/local/tmp, one would type chmod +t /usr/local/tmp. Or, to make sure that directory has standard tmp permissions, one could also type chmod 1777 /usr/local/tmp...
permission. Permissions may be changed later by users and programs using chmod. Each program (technically called a process) has its own mask and is able...
bits; in the previous example, this could be u=rwx,go=x,ug+s. Typically, chmod does not have a recursive mode restricted to directories, so modifying an...
March 2023. "chmod(1)". Oracle Solaris 11.4 Reference Library: man pages section 1: User Commands. Oracle. Retrieved 10 March 2023. "chmod(1)". illumos...
4.4BSD. Solaris has no commands specifically meant to manipulate them. chmod and ls are used instead. Other Unix-like operating systems, in general,...
The file may then be made executable by the current user with the chmod command: chmod u+x subst.sed The file may then be executed directly from the command...
throw an exception if an input/output operation or other system call (e.g., chmod, kill) fails, unless the programmer has explicitly arranged for different...
chown command has also been ported to the IBM i operating system. chgrp chmod takeown BSD Man page for chown, March 31, 1994 "Native Win32 ports of some...
/bin/sh' > program for i in $(seq 992) do echo "echo $i" >> program done chmod +x program This script (or program) generates a new 993-line program that...
Security Identifier (SID) – the Windows NT equivalent setuid Sticky bit chmod(1) – Solaris 11.4 User Commands Reference Manual Kerrisk, Michael. The Linux...
System V chgrp Filesystem Mandatory Change the file group ownership PWB UNIX chmod Filesystem Mandatory Change the file modes/attributes/permissions PDP-7...
(3 or higher) database with at least 1MB of free space. Ability to set CHMOD permissions. These other requirements (even if not strictly needed) are...
return value. Users can see which tasks do this (e.g. <csv>, <signjar>, <chmod>, <rpm>), by trying to execute the task on a system without the underlying...
modern times in conjunction with file permissions under Unix systems (see chmod). It has the advantage of not requiring any extra symbols as digits (the...
features a transfer queue, proxy and firewall support, multiple connections, chmod features and drag-and-drop. The software uses the Windows API for its interface...
(SELinux) chgrp Changes file group ownership chown Changes file ownership chmod Changes the permissions of a file or directory cp Copies a file or directory...
class ExampleOfPOSIX { public interface POSIX extends Library { public int chmod(String filename, int mode); public int chown(String filename, int user,...
attributes on a Linux file system. chgrp — Change group of one or more files. chmod — Change mode of listed files. chown — Change owner of one or more files...