Debian Installation :: Allow FTP Access To Documents Directory
Sep 4, 2014
I have created ftp user in vsftpd.
I want to know how can I allow it to access the home/documents directory as all files will be hosted there in the same directory and its subdirectories?
I would like to have both os's to use the same directory for documents, musics, downloads, etc on my home partition.I have a dual boot of moonos and xp.home folder patitionwindows sys partitionmoonos sys partitionbackup data partitionI would like to point both os's to either the home partition or data partition.
I am using UbuntuOne (U1) with 2 computers. I connected with my desktop computer to sync with 3 of my directories (Documents, Projects and Public) and uploaded their contents. I connect to the U1 with my laptop and the Documents directory is no longer able to sync with U1. I right-click on the menu and select to Sync but it doesn't work.
The other folders have updated with no problems, just the Documents folder does not. The Documents folder in the Laptop is cleared out. I was going to sync, and then add the files already on the laptop to the directory and sync to move them up to the cloud (and thus, to download on my desktop the next time I log in).
I find it very strange that you can just insert Ubuntu installation CD in any PC, and have unlimited access to all users' My Documents folders on that computer. It doesn't even ask for password, nothing. I can take Ubuntu CD with me and copy data from all PCs in the company where I work.
In my recent installations of Debian stable release (Jessie) with Gnome and Cinnamon respectively, I added my wife as a normal user. A home directory was created automatically for her.
In these installations, I am able to access her home directory, while, in the past, I was not allowed to access her home directory on previous Debian releases.
I am planning to build a server in future. That will be a computer with GNU. It will be a router and file server. It will get the VPN-Internet and share it with all the PCs connected to LAN. There will be Samba for file sharing. And I'm thinking that if I just share some directory on that server with Samba, it will be possible to get access to that dir from VPN. So it's not very safe to do that. Is it possible to prevent access to Samba dir from VPN connection?
2 of us have been googling all morning trying to find out how we can restrict ftp logins to their own home directories only but nothing we've found so far has worked. We've tweaked sshd_config so that they default to their home directory but they are able to navigate up/across/down to everything. This is a "straight-out-of-the-box" debian 5.0.5 Netinst. Just a basic system with Apache/MySql/PHP/SSH and no desktop.
I just realized that the "Documents" folder in my home directory has changed to a file which is a link to the /home/user/Documents and it is unaccessible. It does not (no longer) show in the "file browser" when I try to click it from "places" it says:
Error: Could not open location 'file:///home/user/Documents' No application is registered as handling this file When I list from the terminal (i.e. %ls -ltr ) it list the file (which was suppose to be the directory) as
lrwxrwxrwx 1 user user 24 2010-11-01 18:20 Documents -> /home/user/Documents
NB. user in this case is my user name on the system, I am just using user for this forum. how to retrieve the information from the folder and remove the linked file to remain with the original folder
I'm trying to install Adobe Reader 8 and the command #dpkg -1 AdobeReader_enu-8.1.3-1.i386.deb comes up with the message error processing AdobeReader Cannot access archive. No such file or directory. Error was encountered while processing.
I am looking a way to access my windows vista files (documents and pictures) in opensuse. I have a problem my Vista doesnt load anymore and I really need to recover some files from it before formatting.
I know very very veeeery little about linux. I installed few month ago but then didnt have time to really work on it. I checked on google but it's more confusing.
I have three partition. One is for Vista home edition 64 bit, the other one opensuse 11.1 and a third one for dell stuff (not sure what is it exactly )
I have a Macbook Pro 5,5 with Ubuntu 9.10 installed using rEFIt. When I mount the Macintosh HD in Ubuntu, I am unable to access any of the folders under Users, except Public. I tried changing the permissions in OSX, setting "Read and Write" for "Everyone" on a couple of folders, and, when I log back into Ubuntu, I can see that those are the permissions for the folder, but Ubuntu still tells me that I do not have permission to access the folder. I've tried setting the folder to share, thinking that this must be the reason that I can access Public with no problems, but it didn't work.
I've browsed the internet extensively, and the only thread I could find related to the issue was by someone who had the exact same problem as me (I don't know if they had the same macbook though), and it was never solved (the only advice given was to either change the Ubuntu user number, or change the permissions of the folder).
I tried upgrading to 10.04, and now when it boots it just goes into a grub2 terminal and doesn't display a boot menu. I tried re-installing grub2 from the live cd, but that didn't do anything. I figured if I've hosed the last install I'll install from scratch, but I can't even access my files from the live cd! I did a bit of searching and everyone seems to just encrypt ~/Private, whereas I've encrypted the whole home directory. So much for security... In the live cd, it has a readme.txt and says to type "ecryptfs-mount-private" to access the files, but it just gives the error "ERROR: Encrypted private directory is not setup properly". What do I do?
How can I change the mountpoint of my partition /media/documents to /documents.This is a partition of sdb and a fixed disk.The reason is that /media/ sometimes creates ghostdirectories while /Windows/C never does so, programmes writing/reading from this partition therfore don't work if a ghostdir_ exists.(BTW Suse is on sdb5 and sdb6. on sda is windows and used to be Ubuntu, the Suse-swap is sda5. Windows is out of use.)
I can access my windows my documentsmusic by mounting my windows drive and browsing to it. I can then playwatch my movies and pics in Ubuntu.But what I really want to be able to do is re-map the Ubunbu docs folder like so:
Ubuntu Pics = Windows My Documents pics. Ubuntu Videos = Windows My Documents Videos.
I'm not very unix savy so I've been using Ubuntu tweak PersonalDefault Folder Locations setting and browsing to my Windows folders. But it doesn't work.I have managed to make a desktop 'short cut' and that works but I'd rather set the system wide default document folders.
i've activated userdir with (sudo a2enmod userdir) at ubuntu 10.04. i can not open my php files via web browser at public_html directori (screenshot.png). but if i move it to /var/www ... it's works (screenshoot-1.png).
I had errors pop up when I tried updating my 10.10 to 11.04 so I ended up having to do it from a Live USB which installs it over everything (fine by me).Unfortunately I forgot I had an encrypted /home directory. So various messages and stuff came up when I tried to log in.nfortunately I don't remember what my encryption passphrase is offhand, so I moved it to a slightly different folder name and had to have a new directory created for my username.It's still there, but how can I try to open it trying the various versions of the passphrase I think it may be? Can I double-click it and try?Also, in the future what is the best way to handle a "fresh" install that I want to connect to my encrypted /home directory?
1. yum install vsftpd 2. service vsftpd start [ok] 3. nmap from outside verifies tcp 21 is open for business 4. ftp myipaddress.com results in login failed for user root.
I want to login as root and have access to '/' as my home directory. What do I have to do to get this to work?
Recently I mounted a larger partition into my home directory since I was running out of space, Everything went smoothly, but it caused me to wonder about something I cant figure out. While playing with the mount unmount commands when I was copying everything over... before editing my fstab.
Is there a way to access the files that existed in a directory before you mount a partition to that directory? after mount the original files are gone.unmount and they are back, Where do they go?
I'm using Mac OS X's Terminal.app shell to compile and run Fortran programs. One such program resides outside of my home directory (it is in the Applications folder, which resides on my hard drive but seems to be outside of my home folder). How can I navigate into this directory using Terminal.app to run the programs that reside there?
I'm running Wheezy and I noticed that all of my recently used documents have disappeared. Does anyone know where they went / how to re-enable this feature? All it shows now is "No items found"
i have debian Sid, for past 1 to 1.5 months, i have observed that it has become very slow, in loading programs, opening documents etc. Where should I start looking?Info:-System :- HP DV5 1215Tx Laptop, 2.1 ghz c2d , 500gb WD 5000 bevt harddisk, Nvidia 9600 GT, 2 gig ram .kernel version 2.6.32-4-686Drivers : I use NVIDIA drivers, version 190.53.Network:- I use wired DSL WIFI available but Not in use, nor is bluetooth etc.System is not connected to any other network .Use :- internet, music, movies.Display manager :- KDE 4.3.4Desktop effects :-None, Disabled.My question is , where and how should I start looking?PS I am a linux user for quite a long while.It has been my Only OS for about 4~5 years.But for last 1/2 years because of my studies, i have been out of 'touch' with its commands etc,but willing to dive back in and to stuff on my own, looking for direction here.
I spent about a year on linux and had all sorts of very very important documents and files saved in my system. I cannot stress the importance of these documents and know that I am retarded for not making backups. We will start another thread for people to yell at me if you want. Heres the deal, XP was installed on this computer yesterday. They did a boot from disc install, deleting the partition and installing a fresh copy of XP.
Now XP is back on this cpu. My question is, is there ANYWAY long, short, whatever that I can find those files or maybe go back to my old install of ubuntu? I've heard a lot about bootloaders and whatnot but I have to get those files. I have a bunch of assignments due and need these files.
I recently bought a new hard disk for my /home tree. I don't have encrypted home directories currently, but I was wondering if there is an easy way to encrypt my home directory so that it is automatically decrypted when I'm logging in (console/kdm). Basically I would like to manually do same thing as Debian installer would have done.