Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using Centso5.2 it is my 1st time using Centos, I am getting problem copying DVD to /pub directory when I type #cp -av * /var/ftp/pub It show permission deny How to solve this problem.
Check the permissions on the directory and how the partition is mounted. Since you are doing this as root, check your selinux settings. It may be protecting that directory.
I asked this because it seems to me that you want to put some files into a directory (/var/ftp/pub) which appears to be the "pub" directory of an ftp-server.
Are you running an ftp-server and want the files copied to that directory in order to make them accessible through ftp?
Ftp-servers are used to upload and download files.
If the ftp-server is working you should be able to upload the files to it using a ftp-client (like FileZilla or gftp) - especially when you are the admin of that server.
I asked this because it seems to me that you want to put some files into a directory (/var/ftp/pub) which appears to be the "pub" directory of an ftp-server.
Are you running an ftp-server and want the files copied to that directory in order to make them accessible through ftp?
Ftp-servers are used to upload and download files.
If the ftp-server is working you should be able to upload the files to it using a ftp-client (like FileZilla or gftp) - especially when you are the admin of that server.
Yes, my ftp server is working problem and I have restarted vsftpd also, but problem is when I mount CD and try to copy CD to /var/ftp/pub/ for yum server I face permission failed problem, please check my 1st Thread Error.
...but you did not (try to...) copy it using an ftp-client - you want to copy it via "cp"
(which _should_ _still_ work of course - I was suggesting working around that problem you have with "cp")
yes... I am trying to copy by cp -av * /var/ftp/pub/ but I get same problem .
u r saying me to try from ftp-client, How can I do with ftp--client, I am try to copy from same Server where I want to make my yum server, then which I get is from Cd drive only, by default when i try from /root partition to /home partition there is no problem to copy any file, please let me y I get problem with Cd rom
- start your preferred ftp-client
- connect to the server
- transfer the files just like would do where you not on the same machine but anywhere on the net
But I just saw that this one is actually a double post and someone else was trying to help on that issue from another perspective. http://www.linuxquestions.org/questi...roblem-660050/
and it got kind of solved - so I will stop trying here.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.