LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-26-2003, 04:06 PM   #1
qages
LQ Newbie
 
Registered: Dec 2002
Distribution: Hedwig/REdhat/MANDRAKE
Posts: 12

Rep: Reputation: 0
chmod and file permissions help


hi i want to make all the files and directories in my home wrx to all* users, i try chmod 777 /home/fast but it doesnt do the directories/files in the folder, i dont know what to do. can any one help me?
~redhat
 
Old 01-26-2003, 04:08 PM   #2
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Maybe try man chmod. You want a recursive option iirc. Maybe -r?
 
Old 01-26-2003, 04:12 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
-R not -r
 
Old 01-26-2003, 09:00 PM   #4
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Rep: Reputation: 30
I'm trying to do the same thing on a MDK 9.0 box but it won't do all the folders under the main folders. I am using chmod 775 -R ftp and none of the dir under ftp will be changed.
 
Old 01-26-2003, 09:22 PM   #5
Henry
Member
 
Registered: Dec 2002
Location: USA
Distribution: Slackware9.0, some SuSe8.0
Posts: 179

Rep: Reputation: 30
you can do ls -l <directory> and see the permission, it should be rwxrwxrwx, if not, then try to make the directory be owned by your user name and group, like chown <user>:<group> <directory>
 
Old 01-27-2003, 06:08 AM   #6
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
try chmod -R 775 directory

ie, the -R before the number
 
  


Reply



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
permissions not staying using chmod after reboot dr_zayus69 Linux - Software 6 08-20-2005 03:34 AM
chmod won't change the file permissions midtown266 Linux - Newbie 12 11-28-2004 07:46 PM
File Permissions, CHMOD problems, image included. DeathGoth Programming 16 10-05-2004 09:51 PM
chmod shows change to permissions, but ls-l doesn't vdemuth Slackware 6 07-03-2004 04:29 AM
Changing permissions (chmod) teyesahr Linux - Newbie 1 07-31-2003 04:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:26 AM.

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
Open Source Consulting | Domain Registration