LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-23-2011, 05:59 AM   #1
Altvod
LQ Newbie
 
Registered: Jun 2011
Location: Moscow, Russia
Distribution: Debian GNU/Linux squeeze
Posts: 1

Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
convert screen.log and putty.log files into linux readable files aksharb Linux - Software 1 03-20-2011 07:16 AM
ntfs hard drive mounted. but doesnt show all files , tar files ataomega Linux - Software 1 08-28-2009 12:47 PM
How can get readable files from here? oriate Programming 1 10-14-2005 10:44 AM
How can I get readable files from here? oriate Linux - General 1 10-14-2005 10:05 AM
ls, dirs first, files later TroelsSmit Linux - Newbie 4 05-31-2004 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration