General :: Ftp Whole Directory Tree Using Vsftpd As Ftp Server In Fedora11

Feb 11, 2010

I am trying to ftp a whole directory tree using vsftpd as ftp server in fedora11

Code:

I am getting error while transfering a directory tree ...

View 1 Replies


ADVERTISEMENT

General :: Create Archives Of A Directory Tree On Ubuntu Box?

Oct 29, 2010

Are there any other archiving tools than tar that preserve Linux file permissions and user/group flags? I want to create archives of a directory tree on my ubuntu box. The directory trees are large, a first run with tar cvpzf archive.tgz /home/foo/bar yielded a 5GB archive. I also want to keep all permissions and other flags and special files.I'm fine with a 5GB archive, however to look inside that archive -- since it is a compressed tar archive -- the whole 5GB have to be decompressed first! (Or so it appears when opening it with the archive viewer -- I'm happy to be corrected.)So I need a way to "backup" a directory (tree) while preserving full filesystem attributes and right and creating an archive with an "index" that hasn't to be decompressed for browsing its contents. An archive is either a single file, or a (small) set of files that carries full and complete information within this file/s. That is, it can live on any filesystem (size permitting), it can be burnt onto a DVD, you can split it (after which the point of this question is really lost - but still), ...

View 3 Replies View Related

General :: Rsync To Copy Directory Tree From NAS Drive ?

Apr 10, 2010

I have a WD world book edition 1TB NAS drive, and just purchased an acomdata 1tb drive and connected it to the NAS via USB. If I recall I think the WD NAS has a ext_ or some type of linux filesystem on it, and the acomdata has a ntfs filesystem on it.

What I want to do is copy over certain directory trees of the NAS to the USB attached drive. I usually use MS synctoy to sync folders from my windows pc to the NAS drive, and MS richcopy to make the initial transfer from PC to NAS. For this operation though, since it is taking place entirely on the NAS and its connected drive, I thought that rsync would be the best option, and it is available on my NAS drive.

Last night I entered in rsync -avr /movies/* /usb1-1share1/ to copy the entire "movies" dir to the drive, which shows up as usb1-1share1 on the NAS drive. It copied most of the directory tree ok, but a lot of the folders were empty, so this morning I tried rsync -Carv --ignore-existing /movies/* /usb1-1share1/ to try and get all the files missed, without recopying the 24GB that did make it across. This also managed to copy a few more GB over, but not everything.

I am running the command from an ssh session on the NAS using putty on my PC, in as user "admin" which should have all rights over these folders. There is a bunch of errors in the command window like this: rsync: failed to set times on "/shares/usb1-1share1/movies/classics/fulldvd/First Blood DVD/.VTS_01_2.VOB.RxdjWZ": Operation not permitted (1)

I want to restart another session and get the files it missed, but I want to find out what I am doing wrong first. Should I be doing this as root user? am I missing some switches or just plain doing it all wrong?

View 3 Replies View Related

General :: Cannot Predict How Many Levels Deep Directory Tree Is

Sep 30, 2010

This little fragment does the opposite of what I want and I am trying to figure out how to reverse it. I want to strip off the directory and echo just the filenames. I cannot predict how many levels deep the directory tree is.

View 6 Replies View Related

CentOS 5 Server :: Vsftpd - Working With NFS Server As Home Directory

Aug 31, 2009

OS: CentOS 5.3
vsftpd ver: vsftpd-2.0.5-12.el5_3.1

I installed vsftpd server in one of my servers using "yum install vsftpd" command. NFS server is running in the other server and mounted as "/data" in this FTP server. root in FTP server has also root authority in NFS server. All the files and sub-folders under "/data" in FTP server have 755 or 766 mode. Even I modified vsftpd setting to allow root login.

When I login as root to FTP server with FileZilla client, I can see all the file list in root home directory and move to /data directory. I can download any file in a local HDD but I can not download any file in /data directory.

View 1 Replies View Related

General :: Overwriting Specific Files In Directory Tree Recursively

Jul 19, 2011

I would like to overwrite files in a directory tree, recursively. The ones I would like to overwrite match the filename "x_alpha*.png" and have a size exactly 456 bytes. Is there any way to search for these recursively in a directory tree, and overwrite them with a reference file, for example "e:mydirgood.png"

I am using Windows 7, but I have UnxUtils, so I can use those too. What I am looking for is something like this, generated automatically:
copy /y e:mydirgood.png e:mydiracx_alpha0023.png
copy /y e:mydirgood.png e:mydirefgx_alpha0045.png
copy /y e:mydirgood.png e:mydirhx_alpha0248.png

View 2 Replies View Related

Server :: Vsftpd - Keep Ftp User Inside Home Directory

Aug 22, 2010

I'm using Slackware 13.0 on my server and am going to be employing a file-sharing service for a client. I was able to enable a quota, but my problem now is keeping the user inside their home directory. I've searched around and found an old thread on here (from 2003) that gave me some ideas, but it still isn't working. Should I be running vsftpd standalone or leave it on the inetd? If I set the shell to /sbin/nologin or /bin/false, the user can't log in through FTP, even.

chroot_local_user=NO
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
from /etc/passwd:

View 2 Replies View Related

Server :: Vsftpd With Central Authentication, But Without Home Directory?

May 11, 2010

I am trying to build a ftp server with vsftpd. In general, I am not able to log in. I can only log in to the ftp server, if that same user is logged in to the server. I found out that this has to with my network setup. I am using OpenLDAP for centralized authentication and home directories are stored on an NFS server. The problem is that regular users are not allowed to log in to servers, therefore their home directories are not mounted. However I want to be able to give my users access to the ftp server without their home directories mounted. Is this possible with vsftpd and if so how do get this up and running. By the way, anonymous users are not allowed.

View 3 Replies View Related

Server :: Firefox - Unable To Access VsFTPd Directory. Connection Times Out After Authentication

Apr 13, 2011

Seismicmike here. My first post. I'll try to be as clear and concise as possible. For the sake of this post, I'm going to use 1.2.3.4 as a place holder for my public IP. On my web server, I would like to be able to access the /var/ftp directory through a web browser. I have successfully done so with Google Chrome, but I cannot access the directory in Firefox or IE. Both FF and IE ask me for authentication but then time out attempting to load the directory.

I suspect that there may be something up with switching to passive mode and/or that this issue may be more with my configuration of Firefox and not with the server (seeing as how Chrome works). Another possibility may be related to SSL. When I connect with FileZilla, I have to use the FTP over Explicit SSL/TLS option in order to connect. In any case I still would like to fix it. I would also like to avoid having to install FireFTP if at all possible.

Steps to reproduce (not that you can without my actual IP =J):

* Open Chrome
* Go to ftp://1.2.3.4
* Enter username
* Enter password

[code]....

View 10 Replies View Related

General :: Add User In Vsftpd With Specified Home Directory?

Feb 21, 2011

I would like to ask how to addftp user in vsftpd with directory otherhan /home/ for example /var/www ?

View 1 Replies View Related

Server :: Starting Vsftpd For Vsftpd: 500 OOPS: SSL: Cannot Load RSA Certificate?

Feb 10, 2011

Any clue? I'm using the same key for root login and it works fine (also works fine for SFTP but i hate using that cause its extremely slow)

View 2 Replies View Related

Debian :: Cache A Directory Tree?

Nov 30, 2015

I have a home storage of many drives which are seldom accessed, and extremely seldom written to. So, I made several RAID1 arrays with "write-mostly" drives in each one, so that all the drives spin down after a while, and if they are accessed, only one drive in each array has to spin up. This way, I hope to minimize the risk of losing anything due to mechanical shock or wear.

But it was not so easy. First, the write-mostly drives did spin up on every read request due to a bug in the kernel, so I managed to get the fix accepted into the newer kernels (which is my largest contribution to the Linux development so far. See [URL] .....) Now, if I read directly from the array, it works as expected (only the first drive spins up); but if I create a filesystem there (ext4) and read from it, the second drive still spins up anyway. (Does ext4 write something when it reads a file?.. I have it mounted with relatime, so AFAIK it shouldn't...)

Well, I thought, I'll just mount the filesystems read-only and remount them if I need to modify the data there, which is not very often, to say the least. Also, this way the drives don't have to spin up every system shutdown to unmount the filesystems; during a power outage, it used to take a lot of time for them to spin up one by one just to unmount, while my UPS had to survive long enough for them to finish. That's one more problem solved.

But I decided to improve even further. Sometimes I just want to see the contents of those arrays without even accessing some files (for example, when I accidentally click the wrong network drive button in Windows, or when I just want to see if I have something there or not). If I read the directory trees during startup and keep them cached, then those drives won't even have to spin up at those moments! The question is, is there a way to do it? I remember Linus boasting about our kernel being the best at caching the filesystem trees, and I know there is vmtouch [URL] .... which allows us to keep some files cached, but what about the directory tree itself?.. If I simply "find" all the files there, it seems to work, but they get evicted from cache sooner or later...

View 3 Replies View Related

Ubuntu :: Convert Files, But Keep The Directory Tree?

Jun 10, 2010

I've got a directory structure full of files. I want to convert them all into some other format, but I don't know how to keep the directory structure, is there a way so I can "set" which command to use on files instead of `cp`?

View 4 Replies View Related

Server :: VSFTPD: "cannot Change Directory"

Aug 25, 2010

i'm trying to setup a vsftpd server, SSL-enabled, based on local users with no shell access (/bin/false). I added /bin/false to /etc/shells so users can log in. I had a "GnuTLS error -8" at user login caused by the server sending a cleartext error message in SSL mode, so I disabled SSL and the error message came up at login:

USER privateftp
PASS ***************
500 OOPS: cannot change directory:/home/ftp/privateftp/

ACL are enabled and user privateftp has r-x rights on the directory. Changing user's shell has no effect. Changing directory POSIX owner has no effect.

my /etc/vsftpd.conf:

Code:
#VSFTPD CONFIG FILE (sites.google.com/nodiscc) (vsftpd.beasts.org)
#BOOLEAN OPTIONS
allow_anon_ssl=NO
anon_mkdir_write_enable=NO
anon_other_write_enable=NO

[Code].....

View 4 Replies View Related

Ubuntu :: File Copy Via 9.10 On Windows Not Updating Directory Tree ?

Aug 19, 2010

I have ubuntu 9.10 & windows 7 on my laptop. I have one 40GB Primary partition (C & 60 GB logical partition on my windows. I have given another 20GB for ubuntu.

I hibernated my windows7 & then started ubuntu 9.10. Then I copied a folder containing some PDF files from my ubuntu to that 60GB (D on windows. Then I rebooted the machine & choose windows from GRUB. the windows came up from hibernation but nowhere I was able to see that folder which I copied.

Since ubuntu supports (understands) NTFS file system it means when I copied that folder it should have updated the Directory Tree of NTFS on that 60GB (D but that folder is not shown.

When I restart the windows the folder appears (ofcourse because windows checks the file system again for consistency while in hibernation it does not).

View 3 Replies View Related

Software :: Perfoming A ./configure Script Outside The Original Directory Tree

Jan 18, 2011

I have a user account (no root access) on a Debian system. My disk quota for my home directory is limited to 250MB, of which I've used 150MB.

I would like to install a program that requires 95MB of space (let's call it prog-5.1) into $HOME/local/bin. Because the source files take up 1GB, I've had to place them in the /tmp directory (to stay under my limit).

Unfortunately when I run the config script, I receive the following:

Code:

The reason for this is that /tmp is mounted in noexec mode, meaning I can't execute code in /tmp directory:

Code:

I'm wondering if anyone has any ideas about running the config script in my home directory, and somehow pointing it to configure the files in the /tmp/prog-5.1/ directory.

View 5 Replies View Related

Programming :: Correct / Common Directory Tree For Software Packages?

Mar 16, 2011

I found it easiest to embed narp into the gtk+-2.0 installation because all I needed to do was tweak the Makefile.am and Makefile.in files and let configure do the rest.This is a hack. I've failed at getting my own makefiles to work.

Would anyone point me in the right direction on how to properly make an installer for Linux? Also, what is the correct/common directory tree for Linux software packages? Any more suggestions on proceeding with this project using community standards?

View 2 Replies View Related

Server :: How To Setup CVS Server In Fedora11 And CVS Client In Windows Xp

Sep 12, 2009

I have one Windows-XP on Machin 1 and one Linux on Machine 2.

I want make Linux machine as CVS server and Windows Xp as CVS client.

How to setup CVS Server in Fedora-11 machine and CVS client in Windows Xp?

Photo : http://img27.imageshack.us/img27/5864/cvsserver.gif

View 1 Replies View Related

Ubuntu :: Browsing A Directory Tree Directly In Gnome Panel - UPDATE

Jan 19, 2011

The problem was finding an applet to browse directory tree directly in the Gnome panel similar to that in "Recent Documents". The thread was closed without any solution posted there and also no solution available elsewhere (I searched for over 2 hours) in the forum.

Search for "file-browser-applet" in the Synaptic Package Manager. The applet with exactly that name is what you need. It allows to browse and open files on your computer from the GNOME panel. Once installed, "Add to panel".

View 1 Replies View Related

Programming :: Sort Oldest 5 Files In A Directory Tree Recursively Based On Timestamp?

Jun 3, 2010

I have a directory listing with many subdirectories having many files. I want to recursively search for the oldest 5 files starting from the base directory and not 5 from each subdirectory. I am writing a shell script which sorts them using ls -lRtur|egrep "txt|jpg" > /tmp/file1 Now from this /tmp/file1 file I want to sort the files same as what the ls -ltr command does that is oldest file time to newest file time first. How do I sort based on Linux time stamp? The files itself also have Linux timestamps embedded in them So I can sort based after extracting them as well if it is easier.
My /tmp/file1 has entries like below.

-rw-rw-r--. 1 usr1 usr1 705 2010-01-22 17:25 sample20100603173659.jpg

I want to get the 5 oldest files and then delete them.

View 1 Replies View Related

Red Hat / Fedora :: Makfile Which Can Compile A Tree For Source File And Create Output In Separate Directory

Jul 29, 2010

I am new to linux platform and my requirment is to write a makfile which can compile a tree for source file and create the output in separate directory .

View 1 Replies View Related

Networking :: Setup CVS Server In Fedora11 And CVS Client In Windows Xp?

Sep 12, 2009

I have one Windows-XP on Machin 1 and one Linux on Machine 2. I want make Linux machine as CVS server and Windows Xp as CVS client. How to setup CVS Server in Fedora-11 machine and CVS client in Windows Xp?

View 1 Replies View Related

General :: Backing Up Vsftpd Server?

Mar 8, 2011

Does someone know of a solid article on what files to back up to restore a vsftpd server onto another server?

Right now i'm backing up the ftp directory structure with all the files in it, but no configs, users, etc

View 2 Replies View Related

General :: Setup Vsftpd For FTP On Server?

Mar 16, 2010

I've setup vsftpd for my FTP on my server, I edited the vsftpd.conf to allow me user to gain access to their home directory, It doesn't seem to let me in, I'm getting the error

Quote:

530 This FTP server is anonymous only.

this is set at yes

I've set it to NO and I get

Quote:

500 OOPS: vsftpd: both local and anonymous access disabled!

I don't quiet under whats going on, I followed this tutorial [URL]

In the end I want to be able to upload files to the www directory for my web site.

View 5 Replies View Related

Fedora Installation :: Fedora11 - Black/blank Screen When Starting X Server?

Oct 14, 2009

I have just installed Fedora11 on my machine - the installation failed to start the x server so I had to install with the textbased installer. When the installation completes, I boot up and first I update Fedora with "yum update". Then I install a nvidia driver with "yum install kmod-nvidia". Then I run nvidia-xconfig to make a config file. But when I try to run "X", I just get a blank screen. I can run system-config-display fine, and setup my resolution etc. The log doesnt seem to give me any errors.I have two Geforce Fx3500 card in the machine.

View 10 Replies View Related

Hardware :: Fedora11 With FX3500 - Black/blank Screen When Starting X Server?

Oct 14, 2009

I have just installed Fedora11 on my machine - the installation failed to start the x server so I had to install with the textbased installer. When the installation completes, I boot up and first I update Fedora with "yum update". Then I install a nvidia driver with "yum install kmod-nvidia". Then I run nvidia-xconfig to make a config file. But when I try to run "X", I just get a blank screen. I can run system-config-display fine, and setup my resolution etc. The log doesnt seem to give me any errors. I have two nvidia Fx3500 card in the machine. I have tried the 173, 185 and 190 driver - same thing.

View 2 Replies View Related

General :: Configure Vsftpd Server With File Zilla?

May 31, 2011

i want to configure vsftpd server with file zilla in ubunto environment..

View 3 Replies View Related

General :: Setting Up FTP Client/server With Vsftpd In Ubuntu 9.04?

Feb 23, 2010

I currently have 4 Linux Servers installed in a test lab that I have built for my job. I am in the process of trying to get FTP to work (vsftpd is installed). I don't need an FTP GUI or anything, I can use terminal (and I don't have an internet connection, so I probably can't get one anyway). I bring up the terminal and I type FTP and I am presented with a few problems:

1. If I try to FTP to one of the other Linux Servers on the network, I get "No route to host" error.

2. If I try to FTP to the Server I am sitting on, then I am able to successfully connect, obviously. But when I do an "ls," I don't see any available files.

I am assuming this is because I have not yet set up a folder for it (i.e. Windows uses "ftproot" folder). I am running Ubuntu Gnome 9.04 Jaunty Jackalope for a GUI, and I am running Ubuntu Server underneath (Yes I need a GUI for what I am using the server for).

View 3 Replies View Related

General :: Uploading Files To A CentOS-server With Vsftpd

Sep 16, 2010

I'm having difficulties with uploading files to a CentOS-server with vsftpd. I have the exact same configuration on a Fedora10 and there I have no problems...

[Code]...

View 2 Replies View Related

Ubuntu :: Vsftpd Failed To Change Directory?

Apr 21, 2010

Here is my vsftpd.conf file:

# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.

[Code]....

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved