LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 08-09-2004, 03:24 PM   #1
jht2k
LQ Newbie
 
Registered: Aug 2004
Distribution: Ubuntu
Posts: 5

Rep: Reputation: 0
Why doesn't a wildcard chmod change "dot" files/directories?


Hi,

I'm trying to change the permissions in a user's home directory after the permissions "went a bit wrong". The obvious thing to do would be to run the following in their home directory:

chmod -R * 777

This should recursively set read/write/execute for user/group/world on all files and all subdirectories, but for some strange reason, it doesn't change hidden file s (those beginning with ".").

Thanks in advance for any help.

Cheers

Jon
 
Old 08-09-2004, 03:31 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Try using:
chmod -R 777 /path/to/dir

You also probbaly don't want to use 777 as that will give anybody on the system full access to the directory.
 
  


Reply


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
Fedora Core 2: Screen Resolution can not change from "800X600" to "1024X 768" suhaimi_sj Fedora - Installation 18 12-17-2009 04:29 AM
Using chmod to recursively change directories / files [GOD]Anck Linux - Software 6 11-10-2008 07:16 PM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-30-2004 12:18 AM
Can you change the "title" under your name that says "member" or "newbie&qu Whitehat LQ Suggestions & Feedback 3 11-19-2003 07:32 PM
how to make use of the "*" wildcard in perl linuxlah Programming 3 12-04-2002 02:11 AM


All times are GMT -5. The time now is 09:00 PM.

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