Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-30-2004, 05:33 PM
|
#1
|
|
Member
Registered: Aug 2004
Location: Bruges - Belgium
Distribution: Mandrake 10.0
Posts: 45
Rep:
|
chmod permission change?
Hello,
I have over 3 gig files wich got a chmod permission of 500.
This means that only the ROOT can read and execute.
This is rather troubling, cause those documents are vital for my work.
Is there a way to retrieve those documents and set the chmod to a 7777 or so?
Kind regards
|
|
|
|
08-30-2004, 05:38 PM
|
#2
|
|
Member
Registered: Mar 2004
Location: TR
Distribution: Gentoo 2004.2
Posts: 100
Rep:
|
Go to that directory which all files are in it...
must make them all 'rwxrwxrwx'...
|
|
|
|
08-30-2004, 05:45 PM
|
#3
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,903
|
Re: chmod permission change?
Quote:
Originally posted by tidasu
Hello,
I have over 3 gig files wich got a chmod permission of 500.
This means that only the ROOT can read and execute.
This is rather troubling, cause those documents are vital for my work.
Is there a way to retrieve those documents and set the chmod to a 7777 or so?
Kind regards
|
What do you mean by retrieve, where are they?
|
|
|
|
08-30-2004, 05:46 PM
|
#4
|
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
well....i think it should be ' chmod 777 * '
(leave out the dot , that's DOS i think...)
egag
|
|
|
|
08-30-2004, 05:47 PM
|
#5
|
|
Member
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365
Rep:
|
The above works fine if the directory the files sit in is accessible by other as well. Make sure the directory itself is open also. You may want to set the directory permissions to 1777 which will also set the stickbit on the directory. That way when the files are rw to everyone, the only person that can delete the files is the actual owner of the file.
I'd suggest
chmod 177 /dirname
chmod 666 * /dirname/*
There probably isn't any reason to make the files executable if they aren't scripts; thus 666 vice 777
-tf
|
|
|
|
08-30-2004, 05:49 PM
|
#6
|
|
Member
Registered: Mar 2004
Location: TR
Distribution: Gentoo 2004.2
Posts: 100
Rep:
|
I tried they both worked! But * is better because it is shorter than *.* (2 chars ) 
|
|
|
|
08-30-2004, 05:59 PM
|
#7
|
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
*.* will adress all files with a ''.'' in it , * will adress all.
( at least, that's what i think...  )
egag
|
|
|
|
08-30-2004, 06:02 PM
|
#8
|
|
Member
Registered: Aug 2004
Location: Bruges - Belgium
Distribution: Mandrake 10.0
Posts: 45
Original Poster
Rep:
|
yah, chmod 7777 dir and chmod 7777 * works, thanks!!
You have helped me a lot 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:34 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|