What is chmod a-w?

Dr. McKay

Well-known member
Registered
Joined
Nov 26, 2016
Messages
565
Points
28
I only know about chmod 777, chmod 644,...etc and I am trying to chmod folders or files with

Code:
chmod a-w filename.php
This command is what I read from a web hosting article but they didn't explain me in detail.

Can any one tell me What is chmod a-w?

Many thanks!
 

24x7serverman

Well-known member
Hosting Provider
Registered
Joined
Jul 25, 2017
Messages
651
Points
28
Here is the description for you -

chmod is the command which will change the permission of the files.

a stand for all possible users (u+g+o). o stands for ‘others', not ‘owner'.

w is for change or delete a file, or add or delete a directory's contents

CHMOD a-w means that you remove all writing privileges (from any group).
 
Older Threads
Replies
45
Views
32,958
Replies
13
Views
4,990
Replies
23
Views
7,792
Replies
0
Views
1,673
Replies
4
Views
3,619
Latest Threads
Replies
1
Views
27
Replies
0
Views
192
Replies
1
Views
40
Replies
2
Views
83
Recommended Threads
Replies
0
Views
2,248
Replies
0
Views
4,043

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top