UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 1st, 2006, 01:14 AM
Ruh Ruh is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 113 Ruh User rank is Private First Class (20 - 50 Reputation Level)Ruh User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 7 h 53 m 33 sec
Reputation Power: 5
Send a message via MSN to Ruh
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

Reply With Quote
  #2  
Old June 1st, 2006, 01:38 AM
SimonJM SimonJM is offline
Contributing User
Dev Shed Novice (500 - 999 posts) Click here for more information
 
Join Date: Mar 2006
Posts: 713 SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 2 Weeks 23 h 16 m 11 sec
Reputation Power: 315
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.

Reply With Quote
  #3  
Old June 1st, 2006, 02:08 AM
Ruh Ruh is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 113 Ruh User rank is Private First Class (20 - 50 Reputation Level)Ruh User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 7 h 53 m 33 sec
Reputation Power: 5
Send a message via MSN to Ruh
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

Reply With Quote
  #4  
Old June 1st, 2006, 05:26 AM
Ruh Ruh is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 113 Ruh User rank is Private First Class (20 - 50 Reputation Level)Ruh User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 7 h 53 m 33 sec
Reputation Power: 5
Send a message via MSN to Ruh
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?

Reply With Quote
  #5  
Old June 1st, 2006, 07:25 AM
SimonJM SimonJM is offline
Contributing User
Dev Shed Novice (500 - 999 posts) Click here for more information
 
Join Date: Mar 2006
Posts: 713 SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 2 Weeks 23 h 16 m 11 sec
Reputation Power: 315
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!

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > UGhW?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway