Forrest logo
back to context overview

chmod

List of commands for chmod:

  • chmod:ai:08a09 Change the file permissions to 660
    $ chmod 660 ${filename}
    try on your machine
    explain this command
  • chmod:ai:12362 chmod folder and all subfolders and files
    $ chmod -R folder_name
    try on your machine
    explain this command
  • chmod:ai:14fbe Какая команда (или конфигурация) позволяет настраивать автоматическую смену группы для вновь созданных файлов в каталоге (на уровне системных прав, без ACL)?
    $ chmod g+s ${directory}
    try on your machine
    explain this command
  • chmod:ai:21a01 Which command line makes a directory dir into which anyone can put a file, but in which nobody can see the names of the files that are there?
    $ chmod 111 dir
    try on your machine
    explain this command
  • chmod:ai:a8188 Changes the file permissions of 'dir' to give execute permission to all users
    $ chmod a+x dir
    try on your machine
    explain this command
  • chmod:tldr:4b160 chmod: Give [o]thers (not in the file owner's group) the same rights as the [g]roup.
    $ chmod o=g ${filename}
    try on your machine
    explain this command
  • chmod:tldr:67e2c chmod: Remove e[x]ecutable rights from the [g]roup.
    $ chmod g-x ${filename}
    try on your machine
    explain this command
  • chmod:tldr:9e861 chmod: Recursively give [a]ll users [r]ead permissions to files and e[X]ecute permissions to sub-directories within a directory.
    $ chmod -R a+rX ${path-to-directory}
    try on your machine
    explain this command
  • chmod:tldr:b863d chmod: Give the [u]ser rights to [r]ead and [w]rite to a file/directory.
    $ chmod u+rw ${filename_or_directory}
    try on your machine
    explain this command
  • chmod:tldr:bc0c6 chmod: Remove all rights from [o]thers.
    $ chmod o= ${filename}
    try on your machine
    explain this command
  • chmod:tldr:ddd87 chmod: Change permissions recursively giving [g]roup and [o]thers the ability to [w]rite.
    $ chmod -R g+w,o+w ${path-to-directory}
    try on your machine
    explain this command
  • chmod:tldr:f46cd chmod: Give [a]ll users rights to [r]ead and e[x]ecute.
    $ chmod a+rx ${filename}
    try on your machine
    explain this command
  • chmod:tldr:f8e3f chmod: Give the [u]ser who owns a file the right to e[x]ecute it.
    $ chmod u+x ${filename}
    try on your machine
    explain this command
back to context overview