LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-06-2007, 07:34 AM   #1
Gantlett
LQ Newbie
 
Registered: Sep 2007
Posts: 3

Rep: Reputation: 0
Question Configuring permissions for FTP


Hello

We're using Ubuntu and vsftpd.

This machine serves as an Apache web server and an FTP server.

We would like to create an FTP folder where one user account has read&write permissions but not delete (Account "A"), and another account which has full control permissions for the folder (Account "B").

Account A is supposed to send files to this folder on a daily basis. We want this folder to be like a drop box for this user.

We want a large number of people to use this account so we won't have to set up numerous user accounts.

If we set "Write" only permission for this user, he will not be able to view what he has uploaded. We want him to be able to view the folder's contents.

If we set his rights to "Read&Write" he will be able to delete all the files in the folder, including other people's.

How can we deny delete from this user?

Thanks very much,
Gant.
 
Old 09-06-2007, 08:24 AM   #2
visaris
Member
 
Registered: Dec 2004
Distribution: gentoo
Posts: 190

Rep: Reputation: 30
Hmm, well this may not help you, but the problem seems worse than you suggest. Even if you are able to deny "delete" support, the read+write (or even only write for that matter) will be able to overwrite existing files. This user could even overwrite the existing files with an empty version, thus, having the same effect as removing the file.

If it is imperative that the uploaded data remains safe from renegade users, you really need to make a separate account for each user, and only allow each user to write to their own location.

I don't, off the top of my head, see any other way around the problem.
 
Old 09-10-2007, 07:41 AM   #3
Gantlett
LQ Newbie
 
Registered: Sep 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you.

I really didn't believe UNIX will not offer such a permission (i.e. "Delete"), even Windows has this permission.

Anyway, thanks for your reply.
 
  


Reply

Tags
ftp, permissions, ubuntu, vsftpd


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help configuring permissions to allow FTP access via SSH/SFTP. dhupke Linux - General 5 06-12-2007 12:26 PM
permissions in ftp justsimran Linux - General 1 03-28-2007 05:39 AM
FTP Permissions varunbihani Linux - General 2 03-24-2005 09:34 AM
Configuring audio, video and device permissions intersidereal Slackware 1 07-02-2004 02:38 PM
FTP Permissions Wynd Linux - General 4 11-04-2003 08:53 PM


All times are GMT -5. The time now is 02:55 PM.

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