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.


Sign Up Now
> Howto Change Permissions On Directories Only
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
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

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: 16th July 2018 - 11:22 PM