11-13-2005
which access right should set in my webpage index.html ?
I have a webpage,
http://my.dns.com/~zp523/index.html,
I want all people to have read and execute privileges. I want to extend it with execute privilege. Which command should be used in chmod?
is it only give read(r) & execute(x) parameter in 'chmod ??? index.html'
thk a lot!!
10 More Discussions You Might Find Interesting
1. Web Development
Hi,
I found out the CIA's worldfact book is has an open copyright, anyone can use it as long as we don't use the CIA shield.
So, I set up an experimental SEO site to see what will happen in the search engines over time:
The Global Factbook
Please click above and let's see if we can... (1 Reply)
Discussion started by: Neo
1 Replies
2. Shell Programming and Scripting
Hey guys,
I got a issue here...
we have a development box and a UAT box that our webmasters use, they do the webpage development on the development box and and save changed files to a particular directory on the dev machine.
At a certain time of the day a cronjob kicks off and the... (3 Replies)
Discussion started by: zeekblack
3 Replies
3. Shell Programming and Scripting
I need a script that can do this:
A script that searches all directories and subdirectories for .html files
When a .html file is found it creates a index.html file in that folder.
It then edits the index.html file and inserts links to all of the .html files that are in that folder into the... (5 Replies)
Discussion started by: seashell11
5 Replies
4. Shell Programming and Scripting
Hi,
I need to basically get a list of all the tarballs located at uri
I am currently doing a wget on urito get the index.html page
Now this index page contains the list of uris that I want to use in my bash script.
can someone please guide me ,.
I am new to Linux and shell scripting.
... (5 Replies)
Discussion started by: mnanavati
5 Replies
5. UNIX for Dummies Questions & Answers
Dear All,
I do not know anything from UNIX and its systems. I have a course on bioinformatics and they taught us a little about the UNIX. They also provided a userID and password for the web server which I can access using SSH.
now, with A LOT OF EFFORT, I wrote a small index.html file, saved it... (1 Reply)
Discussion started by: dreamer0085
1 Replies
6. Infrastructure Monitoring
Dear All,
I have Nagios running on a PC which has two ethernet cards, eth0 and eth1. Each interface is on a different network, like eth0 is on n/w 10.111.X.X and eth1 is on n/w 100.1.X.X (recently configured). The Nagios webpage is accessed remotely by typing 10.111.X.X/nagios3/ i.e. via the... (0 Replies)
Discussion started by: salim100569
0 Replies
7. Web Development
Hello,
I am a middleware administrator and as an admin I need to monitor a number of middleware instances (weblogic servers). But since it is a not the forum for that i would like to put my problem in simple terms and need guidance on that.
I need to use apache webserver on Solaris 10 zones to... (3 Replies)
Discussion started by: poga
3 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I am trying to create a php file that would copy given index.html file to all directories (and subdirectories) on my site that don't have one. This is to prevent directory listings on nginx. This index.html file is placed in the /populate directory and looks like this:
<html>
<head>... (7 Replies)
Discussion started by: teletubby
7 Replies
9. Shell Programming and Scripting
Hi
I want to attach multiple index.html, index_v2 file using mutt command
basically i want first index.html and then index_v2.html file as a body in email , these html files are test reports
I am using following command , but it is over writing , any help appreceated ;)
mutt -e... (2 Replies)
Discussion started by: madankumar.t@hp
2 Replies
10. Shell Programming and Scripting
so i have a bit of a unique situation.
i have an encrypted index.php file that that can't be run the normal way that a web browser would run it. if it is run the normal way, the php script will show only gibberish on the web browser, instead of the actual php code.
when run from the command... (8 Replies)
Discussion started by: SkySmart
8 Replies
CHMOD(1) General Commands Manual CHMOD(1)
NAME
chmod - change mode
SYNOPSIS
chmod mode file ...
DESCRIPTION
The mode of each named file is changed according to mode, which may be absolute or symbolic. An absolute mode is an octal number con-
structed from the OR of the following modes:
4000 set user ID on execution
2000 set group ID on execution
1000 sticky bit, see chmod(2)
0400 read by owner
0200 write by owner
0100 execute (search in directory) by owner
0070 read, write, execute (search) by group
0007 read, write, execute (search) by others
A symbolic mode has the form:
[who] op permission [op permission] ...
The who part is a combination of the letters u (for user's permissions), g (group) and o (other). The letter a stands for ugo. If who is
omitted, the default is a but the setting of the file creation mask (see umask(2)) is taken into account.
Op can be + to add permission to the file's mode, - to take away permission and = to assign permission absolutely (all other bits will be
reset).
Permission is any combination of the letters r (read), w (write), x (execute), s (set owner or group id) and t (save text - sticky). Let-
ters u, g or o indicate that permission is to be taken from the current mode. Omitting permission is only useful with = to take away all
permissions.
The first example denies write permission to others, the second makes a file executable:
chmod o-w file
chmod +x file
Multiple symbolic modes separated by commas may be given. Operations are performed in the order specified. The letter s is only useful
with u or g.
Only the owner of a file (or the super-user) may change its mode.
SEE ALSO
ls(1), chmod(2), chown (1), stat(2), umask(2)
CHMOD(1)