LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-12-2003, 07:52 PM   #1
alexr186
Member
 
Registered: Jul 2003
Location: Maine, USA
Distribution: Suse 9.1 Pro
Posts: 122

Rep: Reputation: 15
Lightbulb file permision


How do u change the file permisions of a file an all of it's contents. I have a couple big folders, with a lot of single files with in them, i share with all my users and i want they all to read and write with the files. So is there away to change the files permisions of all the files. So i basically want to change the files permisions of many files at once. If you know how or of a program that does, i would a great help. thanks.
 
Old 10-12-2003, 07:56 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"How do u change the file permisions of a file an all of it's contents."

Use the chmod command. The general form is something like:

chmod 755 /home/user/bigdir/* -R

see:
man chmod



___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 10-12-2003, 08:36 PM   #3
alexr186
Member
 
Registered: Jul 2003
Location: Maine, USA
Distribution: Suse 9.1 Pro
Posts: 122

Original Poster
Rep: Reputation: 15
but isn't that for on file only, i need to change the access of hundreds of files at once. I could spend a weeking doing one at a time, there must be an easier way of doing it, like doing more then one at a time.
 
Old 10-12-2003, 08:44 PM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
notice the -R option at the end of what jailbait gave you. You can also write it as
chmod -R 755 {target file/dir}

The R stands for recursive. Take a look at man chmod.
 
Old 10-12-2003, 09:56 PM   #5
alexr186
Member
 
Registered: Jul 2003
Location: Maine, USA
Distribution: Suse 9.1 Pro
Posts: 122

Original Poster
Rep: Reputation: 15
k
thanks
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
User Permision? And Logoff? amer_58 Linux - Newbie 4 03-14-2005 12:35 PM
Device Permision Problems Zwan Mandriva 6 11-22-2004 10:59 PM
user with root permision imsajjadali Red Hat 2 01-20-2004 08:00 AM
giving root permision to a file tincho Programming 6 09-30-2003 12:33 PM
default user permision sourian Linux - General 5 08-29-2002 12:49 PM


All times are GMT -5. The time now is 01:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration