cannot see all directories/files with ls over vsftpd link
I have installed vsftpd and it is working for the most part.
When doing an ls via the ftp link only the files with security context system show up. The files with user context cannot be seen. I have done an ls -Z on the machine and the directories/files that show up via the ftp link are system_u:object_r:default_t. The ones that do not show up are user_u:object_r:default_t. Permissions are wide open on both sets for directories/files. Have I missed something in the vsftpd setup or have I set up something wrong on the user directories? |
Smells like a selinux problem...running Fedora/RedHat?
Just a guess... Edit - if so, look into chcon in the documentations...it's been ages since I used it... Thor |
Using Red Hat. Thanks I'll look.
|
New to Linux
Hello, I want to know how to navigate through linux. Thanks
|
Thanks Thor 2.0. The selinux tip fixed my problem.
|
@ sdonald - you're welcome!
@ redbonz2 - ask away, what would you like to know? Linux (typically) uses partitioned disks, these disks are "chopped" up in sections for safety. A filesystem manifests itself as an upside-down tree. The first point is the "root" and everything else has to be "hooked" to it, that's called "being mounted". In escence, everything in Linux manifests itself as a folder. An example is a USB stick. After plugging it in, the system does what you should be doing by hand: mounting the stick. Once mounted, you dont change device (like in the "other" one) but actually navigate to a folder (mostly) called /media - the slash is part of the name. The folder /media, is "mounted" on to the "root", it is at top level. Okay, enough theory, now for some practice. Open a console, issue this (including slash) Quote:
Quote:
Quote:
Enter a folder Quote:
Lost? Dont worry, just like Dorothy in the Wizard of Oz, Linux has some magic, issue Quote:
Your Linux should have something like an explorer/file browser. Play with that too, there's nothing you can break, as long as you're not in the Root account... Ask away, we'll help you through. But, best to start your own thread, let's not hijack sdonald's thread, here ;) Thor |
All times are GMT -5. The time now is 08:36 AM. |