LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 12-07-2009, 06:22 AM   #1
saiyen2002
Member
 
Registered: Dec 2006
Location: London, UK
Distribution: Centos, Fedora
Posts: 50

Rep: Reputation: 0
pureftp, deny upload permission to users


I have installed pureftp and it is working fine.

There is a feature that i would like to have which is that the user can not upload any files. I know this can be done via linux permissions, but is it possible to set this in the pureftpd config. I was thinknig settuing the UploadLimit to 0, but 0 in pureftpd means unlimited.

anyone know how to actually set UploadLimit to 0 so no one can actually upload any files.

The reason i want deny upload this way is that my goal is to deny users upload, but allow them to delete exisiting files.

any way of achieving this will be helpful.

Thanks
 
Old 12-08-2009, 03:15 PM   #2
janoszen
Member
 
Registered: Oct 2009
Location: Budapest
Distribution: Mostly Gentoo, sometimes Debian/(K)Ubuntu
Posts: 143

Rep: Reputation: 22
No way

There is no current way you can allow users to only delete things via Pure-FTPd configuration. You can try Linux ACL's or RBAC.
 
Old 12-09-2009, 03:44 AM   #3
saiyen2002
Member
 
Registered: Dec 2006
Location: London, UK
Distribution: Centos, Fedora
Posts: 50

Original Poster
Rep: Reputation: 0
janoszen, do you know if there is any way of only denying upload OR only denying delete to the user via the pureftpd config?
 
Old 12-09-2009, 11:53 AM   #4
janoszen
Member
 
Registered: Oct 2009
Location: Budapest
Distribution: Mostly Gentoo, sometimes Debian/(K)Ubuntu
Posts: 143

Rep: Reputation: 22
You can deny upload AND delete. OR is not an option, especially by only using FTP config. You could try the quota setting for 1 file and 1 byte.
 
  


Reply

Tags
deny, permission, pureftp, upload


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cp permission deny rahilmaknojia Linux - Server 10 08-03-2008 03:08 AM
Vsftpd Upload Permission Supreme Linux - Software 3 03-14-2008 02:11 PM
strange permission deny da lord Linux - Server 2 02-07-2008 03:14 AM
77 Permission Problem with Upload olddocks Linux - Security 1 01-18-2008 08:37 AM
deny rm permission for non-owner of files AndrewBS42 Linux - Security 3 10-03-2007 01:53 AM


All times are GMT -5. The time now is 04:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration