LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   proftpd problem: files are not readable, files show as dirs (https://www.linuxquestions.org/questions/linux-server-73/proftpd-problem-files-are-not-readable-files-show-as-dirs-887911/)

Altvod 06-23-2011 05:59 AM

proftpd problem: files are not readable, files show as dirs
 
I have a proftpd server set up on my Debian machine which seems to be working, but
not really the way it should:
1. It shows all the files in one of the directories (music), but none of them can be read (copied)
2. In the other directory (incoming) the files show as directories (and, of course can't be read)
3. The incoming directory should have write access for user musicuser but it doesn't.

Everything used to work fine before an upgrade I did a while ago. I played around with the options a little trying to fix it, but nothing seems to help.

Here is what I have in proftpd.conf that concerns the two directories:
Code:

DefaultRoot                        ~
VRootEngine                        on
VRootAlias                        /media/world/Music ~/music
VRootAlias                        /media/ntfs/Incoming/FTP ~/incoming

<Directory ~>
  <Limit READ>
    AllowAll
  </Limit>
  <Limit WRITE>
    DenyAll
  </Limit>
</Directory>

<Directory ~/incoming>
  <Limit WRITE>
    Allow musicuser
  </Limit>
</Directory>

Both /media/world and /media/ntfs are NTFS drives connected to the computer with the same mount options in fstab.


All times are GMT -5. The time now is 08:00 AM.