Sponsored Content
Full Discussion: CHMOD settings
Top Forums UNIX for Dummies Questions & Answers CHMOD settings Post 25558 by Optimus_P on Wednesday 31st of July 2002 06:04:27 PM
Old 07-31-2002
Quote:
Originally posted by binhnx2000
I think: mod 755 is safe than 666:

root@localhost#: chmod 755

Owner: Read Write Excute
Group: Read Excute
Other: Read
man chmod !!!!!!!

Code:
n     a number from 0 to 7.  An absolute mode  is  con-
                structed  from  the  OR  of  any of the following
                modes:

                4000  Set user ID on execution.

                20#0  Set group ID on execution if # is 7, 5,  3,
                      or 1.

                      Enable mandatory locking if # is 6,  4,  2,
                      or 0.

                      For directories, files are created with BSD
                      semantics  for propagation of the group ID.
                      With this option, files and  subdirectories
                      created  in the directory inherit the group
                      ID of the directory,  rather  than  of  the
                      current process.  It may be cleared only by
                      using symbolic mode.

                1000  Turn on sticky bit. See chmod(2).

                0400  Allow read by owner.

                0200  Allow write by owner.

                0100  Allow  execute  (search  in  directory)  by
                      owner.

                0700  Allow read, write, and execute (search)  by
                      owner.

                0040  Allow read by group.

                0020  Allow write by group.

                0010  Allow  execute  (search  in  directory)  by
                      group.

                0070  Allow read, write, and execute (search)  by
                      group.

                0004  Allow read by others.

                0002  Allow write by others.

                0001  Allow execute (search in directory) by oth-
                      ers.

                0007  Allow read, write, and execute (search)  by
                      others.

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

CHMOD Help!!

Ok, listen.........I was using FTP Works to remove and add some files to a domain server. I messed with chmod button and made it so that no-one could access or their browsers could execute files and 2 or three certain directories. If anyone knows how to use this command and will give me a heads up... (2 Replies)
Discussion started by: jarrell
2 Replies

2. UNIX for Dummies Questions & Answers

Chmod Help!

Here is the deal, I am good with html and java and am creating a website for my brother. On this site he has chosen to use a ikonboard.com discussion board. I have done everything I can to pull it off, but no can do. Here is the problem: The site is being created using the angelfire... (12 Replies)
Discussion started by: xwfprez
12 Replies

3. UNIX for Dummies Questions & Answers

chmod

Hi, can anybody help me? i have probable a simple problem about permissions. i have a server and on this server there comes some files from a another server via ftp with a separte user. i would like to modify the files with a awk script but i donīt have the permissions to modify the... (3 Replies)
Discussion started by: scotty
3 Replies

4. UNIX for Dummies Questions & Answers

Chmod 000

Hello, If I am an user on a Solaris 9 system and if I do Chmod 000 on the folder corresponding to my workspace... What will happened??? (1 Reply)
Discussion started by: Erythro73
1 Replies

5. UNIX for Dummies Questions & Answers

chmod...

Hey everyone, I was wondering if there was a quicker way to chmod a lot of files than doing what im currently doing. At the moment, im doing chmod 777 *filename* - but I have a lot of files, sub-directories, sub-files etc etc. And at the moment I see I have to chmod every single file... (3 Replies)
Discussion started by: mo0ness
3 Replies

6. UNIX for Dummies Questions & Answers

chmod for public_html ?

Hello! My web host has the public_html permission on my account set to 750. 1. Does this setting permit the world to use my submission forms (contained within contact.html and purchase_order.html)? 2. The "0" entry looks like it blocks the public from conducting all activity on my site.... (6 Replies)
Discussion started by: Texan
6 Replies

7. Shell Programming and Scripting

help with chmod (files only)

hello, i want to chmod 444 all files in a directory, files in subdirs cannot be chmoded same goes for the subdirs themself. So using: chmod -R 444 /dir/ won't work because it will chmod the directorys and files (together with files in subdirectorys) I figured out how to chmod files... (1 Reply)
Discussion started by: TehOne
1 Replies

8. UNIX and Linux Applications

What is the difference between chmod in solaris and chmod in Linux?

i think it is the same in both... Iam i right? (1 Reply)
Discussion started by: sumaiya
1 Replies

9. Red Hat

chmod only immediate directory?

I am having trouble figuring out how to do a "chmod o-w" for all files under a certain directory, while excluding directories under that certain directory. I can do chmod -R o-w /thisdirectory but that changes permissions of all directories under the directory as well as files. I just... (2 Replies)
Discussion started by: austinharris43
2 Replies

10. UNIX for Dummies Questions & Answers

chmod

Hi I tried to use chmod in unix to change my file's permission. chmod 701 hello.cgi And it did change my desired file's permission. Yet, the name of the file is changed to hello.cgi* . And therefore I cannot compile it after that. So, I just wondering why there is an extra '*' in the file's... (2 Replies)
Discussion started by: alvin8906
2 Replies
AMULEWEB(1)							  aMule utilities						       AMULEWEB(1)

NAME
amuleweb - aMule web server SYNOPSIS
amuleweb [-h <host>] [-p <port>] [-P <password>] [-f <path>] [-q] [-v] [-l <lang>] [-w] [-t <name>] [-s <port>] [-u] [-U <port>] [-z] [-Z] [-A <password>] [-G <password>] [-a | -d] [-L] [--no-php] [-N] amuleweb [--create-config-from=<path>] amuleweb [--help] amuleweb [--version] amuleweb [--amule-config-file=<path>] DESCRIPTION
amuleweb manages your access to amule through a web browser. You can start amuleweb together with amule(1), or separately, any time later. Options can be specified via command-line or via config-file. Command-line options take precedence over config-file options. [ -h <host>, --host=<host> ] Host where aMule is running (default: localhost). <host> might be an IP address or a DNS name [ -p <port>, --port=<port> ] aMule's port for External Connections, as set in Preferences->Remote Controls (default: 4712) [ -P <password>, --password=<password> ] External Connections password. [ -f <path>, --config-file=<path> ] Use the given configuration file. Default configuration file is ~/.aMule/remote.conf [ -q, --quiet ] Do not print any output to stdout. [ -v, --verbose ] Be verbose - show also debug messages. [ -l <lang>, --locale=<lang> ] Sets program locale (language). See the NOTES section for the description of the <lang> parameter. [ -w, --write-config ] Write command line options to config file and exit [ -t <name>, --template=<name> ] Loads the template named <name>. See the SKIN SUPPORT section for details. [ -s <port>, --server-port=<port> ] Webserver's HTTP port. This is the port you must point your browser to (default: 4711). [ -u ] Enable UPnP. [ -U <port>, --upnp-port <port> ] UPnP port. [ -z, --enable-gzip ] Enables using gzip compression in HTTP traffic to save bandwidth. [ -Z, --disable-gzip ] Disables using gzip compression (this is the default). [ -A <passwd>, --admin-pass=<passwd> ] Full access password for webserver. [ -G <passwd>, --guest-pass=<passwd> ] Guest password for webserver. [ -a, --allow-guest ] Allows guest access. [ -d, --deny-guest ] Denies guest access (default). [ -L, --load-settings ] Load/save webserver settings from/to remote aMule. This causes amuleweb to ignore command-line and config-file settings, and load them from aMule. When saving preferences none will be written to the config file, but to aMule. (Of course, this works only for those settings that can be set in aMule's Preferences->Remote Controls.) [ --no-php ] Disable PHP interpreter (deprecated) [ -N, --no-script-cache ] Recompiles PHP pages on each request. [ --create-config-from=<path> ] Create config file based upon <path>, which must point to a valid aMule config file, and then exit. [ --help ] Prints a short usage description. [ --version ] Displays the current version number. [ --amule-config-file=<path> ] aMule config file path. DO NOT USE DIRECTLY! aMule uses this option when starting amuleweb at aMule startup. This option causes all other command-line and config-file settings to be ignored, preferences to be read from the given config file, and also implies the -q -L options. NOTES
Paths For all options which take a <path> value, if the path contains no directory part (i.e. just a plain filename), then it is considered to be under the aMule configuration directory, ~/.aMule. Languages The <lang> parameter for the -l option has the following form: lang[_LANG][.encoding][@modifier] where lang is the primary language, LANG is a sublanguage/territory, encoding is the character set to use and modifier allows the user to select a specific instance of localization data within a single category. For example, the following strings are valid: de de_DE de_DE.iso88591 de_DE@euro de_DE.iso88591@euro Though all the above strings are accepted as valid language definitions, encoding and modifier are yet unused. In addition to the format above, you can also specify full language names in English - so -l german is also valid and is equal to -l de_DE. When no locale is defined, either on command-line or in config file, system default language will be used. SKIN SUPPORT
amuleweb is capable of displaying information in different skins. These skins are called templates, and you can make amuleweb load a spe- cific template via the -t command line option. Templates are searched in two places: first in ~/.aMule/webserver/ and then in /usr/share/amule/webserver/ if you installed with --prefix=/usr. Each template must be in a subdirectory of the template name, and this directory must contain all files the template needs. FILES
~/.aMule/remote.conf ~/.aMule/webserver/ $(pkgdatadir)/webserver/ EXAMPLE
Typically amuleweb will be first run as: amuleweb -h hostname -p ECport -P ECpassword -s HTTPport -A AdminPassword -w or amuleweb --create-config-from=/home/username/.aMule/amule.conf These will save settings to $HOME/.aMule/remote.conf, and later you only need to type: amuleweb Of course, you may specify any more or less options on the first example line, and you may also totally omit it. REPORTING BUGS
Please report bugs either on our forum (http://forum.amule.org/), or in our bugtracker (http://bugs.amule.org/). Please do not report bugs in e-mail, neither to our mailing list nor directly to any team member. COPYRIGHT
aMule and all of its related utilities are distributed under the GNU General Public License. SEE ALSO
amule(1), amulecmd(1) AUTHOR
This manpage was written by Vollstrecker <amule@vollstreckernet.de> aMule webserver v2.3.1 November 2011 AMULEWEB(1)
All times are GMT -4. The time now is 09:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy