Plextor
10-19-2001, 06:21 PM
I know how to chmod a file, but, it only has 9 blank boxes. And the instructions for my CGI script, requires you to chmod it 666, how do I do that?
|
Click to See Complete Forum and Search --> : CHMOD, where are the numbers? Plextor 10-19-2001, 06:21 PM I know how to chmod a file, but, it only has 9 blank boxes. And the instructions for my CGI script, requires you to chmod it 666, how do I do that? Super Bakemono 10-19-2001, 06:38 PM rw-r--r-- those the nine "boxes" you speak of? if so: each digit of 666 represents three flags: 0 = --- 1 = --x 2 = -w- 3 = -wx 4 = r-- 5 = r-x 6 = rw- 7 = rwx I'm not entirely sure what your question is, but I hope I helped. sym 10-19-2001, 06:46 PM the first 6 is the first 3 spaces, the next 6 is the next 3 spaces, and you can guess what the last 6 is for. It is not really six hundred and sixty six, it is 3 sixes. That is an easier way to think of it. thus, chmod 666 is setting the permissions to read and write for owner, group and other. [ 19 October 2001: Message edited by: sym ] Rob 'Feztaa' Park 10-19-2001, 08:46 PM I think the problem is that he is using a graphical frontend to chmod, and is seeing 9 boxes, and does not understand what 666 means in relation to those 9 boxes. I recommend you use the commandline, because then you can just do this: chmod 666 filename :D X_console 10-20-2001, 12:11 AM The manual page for chmod details this. I suggest having a look at it. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |