ftp: missing chown command


 
Thread Tools Search this Thread
Top Forums Web Development ftp: missing chown command
# 1  
Old 02-03-2010
ftp: missing chown command

hi,

I'm connecting to a web server with ftp protocol and I would like to change some folders and files owner. I tried chown but it is not available.

I typed "help" and this is the list I got. Is possible that the chown command is not installed on the server ? Or I don't have permissions ? thanks

Commands may be abbreviated. Commands are:

! features mls prompt site
$ fget mlsd proxy size
account form mlst put sndbuf
append ftp mode pwd status
ascii gate modtime quit struct
bell get more quote sunique
binary glob mput rate system
bye hash mreget rcvbuf tenex
case help msend recv throttle
cd idle newer reget trace
cdup image nlist remopts type
chmod lcd nmap rename umask
close less ntrans reset unset
cr lpage open restart usage
debug lpwd page rhelp user
delete ls passive rmdir verbose
dir macdef pdir rstatus xferbuf
disconnect mdelete pls runique ?
edit mdir pmlsd send
epsv4 mget preserve sendport
exit mkdir progress set
# 2  
Old 02-03-2010
The ftp command set is not the same as the unix command set though there are many commands with the same name. The ftp command set is in "man ftpd" for the target computer.
# 3  
Old 02-03-2010
ftp> man ftpd
?Invalid command.

ok, I googled for it and I saw there is chown for ftp protocol. Is not always available ? Or am I wrong ?
# 4  
Old 02-03-2010
The "man" command is a unix command not a ftp command. It has to be typed at a unix command prompt on the target server.
# 5  
Old 02-03-2010
Unluckily I don't have unix account, only ftp.

Is possible that i don't have a chown for ftp protocol. Is not always available ? Or am I wrong ?
# 6  
Old 02-03-2010
I personally have never seen a "chown" command in ftp but I have also never needed the command within a ftp environment. You usually ftp files to the account of the future owner.
Some versions of ftp allow more commands as parameters to the ftp "site" command but again I have never seen "chown". To my mind it would be a basic security hole.
# 7  
Old 02-04-2010
I'm working on Drupal and I need to assign the ownership of some folders to Drupal. (Owner: _www)
After I copied them to the server the ownership changed.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Need command to find missing operating system security patches

Hi, Need a command to find out Missing operating system patches for AIX 7.1 or a command to list down all installed patches. (1 Reply)
Discussion started by: Mona Khandelwal
1 Replies

2. Shell Programming and Scripting

Using chown command.

I am working on a test machine. I just discovered that I have misunderstood the way the following command is run. chown -Rv some_user:users /some_folder/*This command do exactly what I want. Change the owner of every things from the named folder and in all child folders. But of course it leave... (13 Replies)
Discussion started by: jcdole
13 Replies

3. UNIX for Dummies Questions & Answers

Missing FTP configuration files/commands

I was asked if I can create an FTP only user on a UNIX system I've inherited at work. (Solaris). I've worked on UNIX systems for a long time, but never really as an admin. I searched the web, and on this forum, for information on exactly how to do this. (The new user will also need to be... (4 Replies)
Discussion started by: HeyMoe
4 Replies

4. Shell Programming and Scripting

Looking for an awk command to print strings only if substring is missing

I have a file that I need to find each interface that has move-group on the interface line and print this line if the lines under the interface does Not have "filter-shared 14". Example file: interface 1/1/1/0 move-group decription one one one zero no shut filter-shared 14... (21 Replies)
Discussion started by: numele
21 Replies

5. Shell Programming and Scripting

Getopts how to handle missing '-' in command line args.

I'm using getopts to process command line args in a Bash script. The code looks like this: while getopts ":cfmvhs:t:" option; do case $option in c) operationMode="CHECK" ;; f) operationMode="FAST" ;; m) ... (6 Replies)
Discussion started by: gencon
6 Replies

6. AIX

Help Please - Command to view missing filesets in aix

Please anyone tell me "What is the command to view missing filesets in aix" Thanks in advance ---------- Post updated at 09:34 PM ---------- Previous update was at 05:09 PM ---------- Please anyone tell me "What is the command to view missing filesets in aix" Thanks in advance (3 Replies)
Discussion started by: sweetysiva29
3 Replies

7. UNIX for Advanced & Expert Users

missing data in FTP file

Hello - I am FTPing file from remote unix box to my unix box. I am FTPing file around 2AM. some time, the complete fle is not ftping.. I am missing data in the FTP file. It happens few times in a month. Whenever, i miss the data, the file size is always 60106. The actual file size is not that... (4 Replies)
Discussion started by: govindts
4 Replies

8. AIX

#emgr -l command output missing

Hi, I have recently started to patch all my AIX boxes. I have applied almost 28 interim fixes on those. i have the snaps of emgr -l out put showing all tha patch details and date on which those we applied. but after reboot, emgr -l comannd says "There is no efix data on this... (0 Replies)
Discussion started by: sandeepbodkhe
0 Replies

9. UNIX for Advanced & Expert Users

Missing core file using ssh + command

On a 2.6.21 kernel (MontaVista, x86_pentium4), I'm failing to see expected "core.pid" files dropped. Consider this tiny program, "dumpcore.c": #include <stdio.h> #include <stdlib.h> #include <sys/prctl.h> int main( int argc, char ** argv ) { printf("dumpable = %d\n", prctl(... (5 Replies)
Discussion started by: kclittle
5 Replies

10. UNIX for Dummies Questions & Answers

Command missing

I am wondering if anyone knows a place where a person can download a command for the HP-UX 9.04 OS. The machine is just sitting around, and is not being used due to the fact that it is not Y2K compliant (or so the rumor goes). The command that does not exist is "reboot", which normally resides... (6 Replies)
Discussion started by: thekid
6 Replies
Login or Register to Ask a Question