Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-30-2003, 06:51 PM   #1
LQ Newbie
Registered: Aug 2001
Posts: 18

Rep: Reputation: 0
Exclamation Very Stupid question...

Hello Everyone!!!

I have a question about permissions.

How do I set the permissions on everything in my Home Directory to rw to the user and group but I need rwx to directories. So how do I do this in one command. If I do chmod 660 * it also changes the permissions on the directory which then I can't change into the directory. Please Help!!!
Old 10-30-2003, 07:01 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,041
Blog Entries: 11

Rep: Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907
One command? :)

find . -type f -exec chmod ug+rw {} \; ; find . -type d -exec chmod ug+rwx {} \;


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stupid, stupid question; I lost Klaptop. :( Surfrider Slackware 2 08-31-2005 09:12 PM
Stupid Dumb Stupid Question... drigz Linux - Software 3 09-23-2004 03:09 PM
Stupid question.... PenguinPwrdBox Linux - Networking 1 09-16-2004 04:54 AM
Maybe a stupid question.... Coolstar Linux - Software 1 11-01-2003 06:58 PM
Another Stupid Question Bobmeister Linux - Hardware 3 05-26-2003 06:16 AM

All times are GMT -5. The time now is 05:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration