?
Solved

CHMOD

Posted on 1997-11-14
9
Medium Priority
?
346 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
What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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

650 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