LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-27-2004, 01:28 PM   #1
Jestrik
Member
 
Registered: Dec 2003
Location: Hampshire, UK
Distribution: gentoo, Debian Sarge, Slack 9.1
Posts: 206

Rep: Reputation: 30
Quick permissions question


How do you set a whole bunch of files to have permissions of 777?
I know how to do each file seperatley - chmod 777 file, but just wanted to do about 40gigs of files which may take a while :S

Cheers for any help
 
Old 03-27-2004, 01:29 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Changing permissions won't take a long time, its not actually like editing files or moving them, etc.

chmod -R 777 <filename>

man chmod would have given you that answer though..
 
Old 03-27-2004, 01:30 PM   #3
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
pick a directory are they all in one place?

chmod 777 /usr/bin/*

other than that chmod might have a recursive switch.

'man chmod'
 
Old 03-27-2004, 01:54 PM   #4
Jestrik
Member
 
Registered: Dec 2003
Location: Hampshire, UK
Distribution: gentoo, Debian Sarge, Slack 9.1
Posts: 206

Original Poster
Rep: Reputation: 30
i didn't mean it like that, what i meant was it would take a long time to do each file seperatley with the command i typed. I know it doesn't edit them, it's in the FS's table right?

ty for that quick response
 
  


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
DISCUSSION: Quick and Dirty Guide to Linux File Permissions bulliver LinuxAnswers Discussion 32 12-19-2011 10:36 PM
Question Concerning ISO's and one quick question. evrae Linux - Software 2 06-21-2004 03:53 AM
Just a quick question about permissions InEeDhElPlInUx Linux - General 4 04-13-2004 02:57 PM
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 07:19 AM
Quick Samba permissions question jamespetts Linux - Networking 2 10-07-2002 05:25 AM

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

All times are GMT -5. The time now is 08:50 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