|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
UGhW?
hi all. what is W for under flags in AIX, and how may I change from UGh to UGhW? if I change this, then will I be able to send files to another PC via FTP? Thanks beforehand
|
|
#2
|
|||
|
|||
|
I assume this is for routing? I do not know AIX but check man pages for netstat and route to see if they mention what the W means and how to set it.
|
|
#3
|
|||
|
|||
|
thanks for your reply.
yes, that's for routing. The thing is that, I should send a file to a different PC on the network via ftp. When I use one ip, ex. 212.21.12.68, it connects and sends file without any problems. But when I use another IP, like 212.21.12.69, it connects to ftp, authorizes but can not send file. The source code is the same, everything is the same, just the flags are different. The one, which I can not send file through uses UGh, while another has UGhw. May that be a problem? Thanks a lot |
|
#4
|
|||
|
|||
|
ok, I used man netstat and saw that W just shows that its a cloned router. It means, problem is not with that. NOw got another question - How may I view my security permissions for files?
|
|
#5
|
|||
|
|||
|
Login to the server in question, navigate to the directory in question (using the cd command) and issue ls -l commands for the files in question.
What you will see will be stuff like: -rwxrwxrwx 1 ruh users 1234 1 Jun 12:30 afilename The order may well be wrong as that is from memory! The important bits are the permissions (the -rwx but) and the owner (in this example ruh) and group (users) of the file called afilename (size of 1234 bytes, last modified at that date time). The 'floating' 1 is just a reference to how many 'links' the file has - normally you don't need to worry about that! Permissions: The first character (here it is a -) will denote the type: - is a normal file d is a directory l is a symbolic link c is a character device file r is a raw device file p is a named pipe and so on. Generally only worry abaut files, directories and links. The next bits is 9 characters, made up of 3 sets of 3 characters each pertaining to who can acees the file and how. The 1st three are for the owner (see the above), the 2nd 3 are for the group (again, see above) and the last 3 are for other (also called world). The three possible values are r (for read) w (for write) and x (for execute). In the above example a file (it has a - a s first character) can be read from, written to (also deleted) and executed by the owner, anyone who is in the specified group and also ... everyone else. A man of ls, chmod and chown will more than give you enough to bite on! |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > UGhW? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|