CHMOD settings

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers CHMOD settings
# 1  
Old 07-16-2002
Question CHMOD settings

Right, I'm really new to the UNIX stuff, and the main reason for posting is as follows:

I am attempting to install postnuke on the local council webserver. for web server stats search for here and I am being asked to change the CHMOD settings for two of the files to 666 - I am using WS_FTP Pro and there is a right click option for the files which reads:

CHMOD (unix)

Under each option there is the following:

Owner: Read Write Execute
Group: Read Write Execute
Other: Read Write Execute

which do I put checks next to to set it as 666?

# 2  
Old 07-16-2002
it's ok - i've sorted it
# 3  
Old 07-31-2002
I think: mod 755 is safe than 666:

root@localhost#: chmod 755

Owner: Read Write Excute
Group: Read Excute
Other: Read
# 4  
Old 07-31-2002
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 !!!!!!!

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

                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

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

                0040  Allow read by group.

                0020  Allow write by group.

                0010  Allow  execute  (search  in  directory)  by

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

                0004  Allow read by others.

                0002  Allow write by others.

                0001  Allow execute (search in directory) by oth-

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

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers


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

2. 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

3. 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

4. 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

5. 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

6. UNIX for Dummies Questions & Answers


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

7. 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

8. UNIX for Dummies Questions & Answers


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

9. 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 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

10. 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
Login or Register to Ask a Question