?
Solved

CHMOD

Posted on 1997-11-14
9
Medium Priority
?
324 Views
Last Modified: 2013-12-25
How do you use the CHMOD command?
One of my scripts says that a file needs to be chmoded 755

Thanks
0
Comment
Question by:jbwilson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
9 Comments
 
LVL 3

Accepted Solution

by:
vmpn earned 0 total points
ID: 1831221
I'll post the answer in a sec
0
 
LVL 3

Expert Comment

by:vmpn
ID: 1831222
The rights are as follows:
first digit=your rights, second digit=your group rights, third digit is others rights.

the number for rights is gotten by adding:
1- Execute
2- Write
4- Read

So for readonly access you do 744 so that you have 7-all rights and everyone else only read.

So CGI would need 711, you =ALL , others = Execute only.



0
 

Author Comment

by:jbwilson
ID: 1831223
Cool. Then where do I put it in the script? Anywhere?
0
Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

 
LVL 3

Expert Comment

by:vmpn
ID: 1831224
In the directory where the server takes other pages like you regular html files or in its subdirectory (It migh have to have .cgi extention depending on the configuration of the server).
0
 
LVL 84

Expert Comment

by:ozo
ID: 1831225
In the directory where the server configuration says it takes scripts,
which may or may not be where it takes regular html files.
0
 
LVL 3

Expert Comment

by:vmpn
ID: 1831226
On most provider I know it could be any directory as long and files extention is .cgi.
0
 

Author Comment

by:jbwilson
ID: 1831227
I don' have .cgi, only .pl. Where in those files do I put it, on the top, bottom, middle, after a certain command, etc? I know which files it is needed on, I just don't know where in the files
I put it it, or for that matter, how it is typed in. CHMOD 744 is how it is typed in, isn't it? Thanks.
0
 
LVL 3

Expert Comment

by:vmpn
ID: 1831228
Could you tell me your service provider so I can go and find the procedure for installing pl scripts?
0
 

Author Comment

by:jbwilson
ID: 1831229
I'm just using http://rampage.ml.org (now www.neocerf.com), and it says to activate the cgi scripts, don't use CHMOD, but they refer to it when giving an example. I am using WWWBoard from Matt's Script achive... (www.worldwidemart.com/scripts/)
0

Featured Post

Python: Series & Data Frames With Pandas

Learn the basics of Python’s pandas library of series & data frames and how we can use these tools for data manipulation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to count occurrences of each item in an array.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question