Solved

chmod 4755

Posted on 2006-07-06
2
4,188 Views
Last Modified: 2008-02-01
what is 4 in chmod 4755 /bin/ls  mean
0
Comment
Question by:teera
2 Comments
 
LVL 51

Assisted Solution

by:ahoffmann
ahoffmann earned 100 total points
ID: 17056595
man chmod

4 in this case set the SUID bit, same as chmod u+s
0
 
LVL 9

Accepted Solution

by:
binary_1001010 earned 100 total points
ID: 17056707
it means set user ID on executing.

The general attributes are: set user id on executing (setuid), set group id on executing (setgid), and the sticky bit. These attributes can be set with the command chmod using either method :



chmod u+s - set the setuid bit.
chmod g+s - set the setgid bit.
chmod u+t - set the sticky bit or directories

or numerically:

chmod 4777 - setuid and read/write/execute for everyone.
chmod 2777 - setgid and read/write/execute for everyone.
chmod 1777 - set sticky bit and read/write/passthrough on a directory.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Run Secure WMI query from CentOS 5 138
Samba Question 11 105
EXCHANGE. LINUX, SYMANTEC MESSAGING GATEWAY 2 49
How to use IFS to get output of range in comma separator in bash? 2 45
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

756 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