Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Howto Change Permissions On Directories Only
ubivis
post Jan 19 2004, 04:47 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 19-January 04
Member No.: 2,173



A friend of mine figure out how to change the permissions on only directories.

It was usefull for what I needed, so in case anyone else needs to do this:

chmod 655 `ls -AFR | grep : | tr -s ':n' 'n'`

I don't know if this is the most efficient way of doing it but it works.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Pronco
post Jul 4 2004, 08:01 PM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 12
Joined: 1-July 04
From: Somewhere Near
Member No.: 3,268



What did you mean by Changing permissions to the Directory?

did you mean when you type this current command it will change the attributes of all the directories and when any built-in user in the system type ls in any directory the permission denied message will appears.


--------------------
-I'm a code junkie security enthusiast

-http://pronco.manalaa.net
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 15th December 2017 - 05:26 AM