Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

553 ftp permission denied

Status
Not open for further replies.

johny2K

Technical User
Dec 19, 2001
184
CA
hi experts,

i am using xp to upload unix file.

from an xp (dos) directory, i got this message after trying to "put" the file to tru64 directory.

ftp> put xxxxx
200 PORT command successful
553 xxxxx : Permission denied.
ftp>

any idea what's wrong?


 
you dont have the permissions to write the file in the directory you are trying.

try

ftp> cd /tmp
ftp> put xxxxx

If you can put it there then you need to get the unix admin to give you write permissions for the unix user you are using to the directory you are trying to transfer to.



--
| Mike Nixon
| Unix Admin
|
----------------------------
 
From my knowledge TRU64 uses the /etc/ftpusers file to grant unix users ftp access (aswell as above).
 
Generally, that is correct. If a user is in the /etc/ftpusers file, they cannot ftp to the system - regardless of their interactive status (restricted, full access, etc). If you want to keep someone from ftp'ing cokmpletely, put them in this file.

The error you are encountering has to do with the permissions on the directory and/or file at the destination end. As already stated, you can try putting the file in /tmp or have the admin/owner fix the file permissions.
 
i am confused... can i clear it up once again?

if a user is under the file /etc/ftpusers, he/she "CANNOT" ftp the file/directory?

OR, if "NOT" included in /etc/ftpusers file "CAN" ftp the file/directory?


REASON:

@ user is not under /etc/ftpusers

*** if dir xxx is under /aaa/bbb = CANNOT ftp file (cannot move/upload the file under /aaa/bbb/xxx). xxx dir permission is set 777.

*** but CAN ftp going one directory down, which is /aaa/bbb

sorry for inconvenience. :)
 
thanks to laurie (tarn) - it's fixed now. i have no right to overwrite the same file, on the same directory.

also, my apology to everyone - i wrongly posted it first under general unix (coz of XP issue).

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top