Solved

chmod -R 775 luton

Posted on 2011-02-18
3
647 Views
Last Modified: 2012-06-21
what will this particular chmod command do?
0
Comment
Question by:aashee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 11

Expert Comment

by:rowansmith
ID: 34931191
It will give the file called Luton

Read/Write/Execute Permissions for the owner of the file (First 7)
Read/Write/Execute Permissions for members of the group that owns the file (second 7)
and Read and Execute permissions for everyone else (last 5)
0
 
LVL 12

Expert Comment

by:upanwar
ID: 34931401
It will give the permission suggested by the rowansmith to a file. But if the Luton is a directory then It will give the same permissions to Luton as well as the files and subdirectories which Luton contains.

Read/Write/Execute Permissions for the owner of the file (First 7)
Read/Write/Execute Permissions for members of the group that owns the file (second 7)
and Read and Execute permissions for everyone else (last 5)

4=Read
2=Write
1=Execute
0
 
LVL 40

Accepted Solution

by:
omarfarid earned 500 total points
ID: 34932589
the chmod command changes file / directory permissions. The -R is normally used to set the permissions of sub directories and files within them.

The number 775 is octal presentation of permissions for owner (left most 7), group (middle 7) and others (right most 5)

an octal digit (3 bits) represents the read (left most bit), write (middle bit) and execute / run (right most bit) permissions.

If the bit is set to 1 then the permissions is granted. In your example 775 means:

owner read,write,execute group read,write,execute others read, execute
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
RHEL 6.7 Gnome Desktop on VMware 6 VM 9 140
exchange, squid, proxy, linux 6 86
umask commands 5 15
Linux recover lost file deleted by mv 1 31
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question