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:3a467 Change the directory permissions to 755 for httpd to access the files
    $ chmod -R 755 ${directory}
    try on your machine
    explain this command
  • chmod:ai:3e0ba I am trying to set up a local repository file. I installed httpd. I configured the directory ownership to "apache." I set the directory permissions to 755. I am getting the error " Status code: 403 for http://annex-repo-02/repo/epel/x86_64/repodata/repomd.xml (IP: 10.238.27.108)". I have set the folders permissions to the absolute most permissive mode and I still get the error.
    $ chmod -R 777 /path/to/repo
    try on your machine
    explain this command
  • chmod:ai:3f705 How do I resolve a 403 error when downloading the repomd.xml file from a local repo.
    $ chmod -R 755 /path/to/local/repo
    try on your machine
    explain this command
  • chmod:ai:78e4d Changes the file permission to allow executing the file
    $ chmod +x ${file}
    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:ai:a9d69 How do I resolve a 403 error when downloading the repomd.xml file from a local repo. I have already cleared the dnf and yum caches and I have already set the permissions to 755. There was no change, I am still getting a 403 error.
    $ chmod -R 777 /path/to/your/local/repo
    try on your machine
    explain this command
  • chmod:ai:ba801 What file permissions does a repo file need to have so that httpd can access it
    $ chmod 644 ${repo_file}
    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