LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-26-2009, 08:24 AM   #1
MATRIX_q
LQ Newbie
 
Registered: Aug 2009
Posts: 6

Rep: Reputation: 0
FTP user permissions


Hi!
I'm using Ubunut 9.04 and i have installed proftpd. Also using webmin.
I need to create 2 ftp users.
The first one can see the content of directory - have all ftp basic command access.
The second one cane only upload files, but cannot list directory content.
I don't understand how to do this. I need to do this from ftp side or Linux user permission side? Please help me!!!!!
Sorry for my English
 
Old 08-26-2009, 09:47 AM   #2
kdelover
Member
 
Registered: Aug 2009
Posts: 311

Rep: Reputation: 36
Try setting up acls on the directories using the setfacl command.

setfacl -m user:ftpuser1:rx <directoryname>

setfacl -m user:ftpuser2:wx <directoryname>

w on a directory means to write files into it
r on a directory means to be able to do ls
x on a dreictory means to be able to cd into it.

Last edited by kdelover; 08-26-2009 at 10:14 AM.
 
Old 08-26-2009, 11:08 PM   #3
MATRIX_q
LQ Newbie
 
Registered: Aug 2009
Posts: 6

Original Poster
Rep: Reputation: 0
kdelover Thank's Problem solved
 
  


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
when I use ftp://user@ftp.blah.com it works. But when I type just ftp.blah.com says.. hunterhunter Linux - General 15 03-05-2014 09:12 AM
Anonymous FTP for all, user FTP logins only for specific IP ranges Sjorrit Slackware 15 04-24-2009 02:32 PM
Giving user 'www-data' same permissions as normal user MikeOfAustin Linux - Software 5 06-08-2007 02:50 AM
Unable to FTP as user but can FTP as Root acharya_rl Linux - Enterprise 5 09-05-2006 06:57 AM
ftp user permissions rkemp Linux - Networking 1 10-05-2004 02:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:59 PM.

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