Solved

vsFTPd Permissions

Posted on 2008-06-12
4
1,184 Views
Last Modified: 2013-12-02
Hi all,

I'd like to set up a non-anonymous vsftpd account which would allow users to:
- create folders
- upload files

And deny them to :
- delete folders
- delete files
- overwrite files

Any idea of how to to this ?
Note: I'm under Fedora Core 4.

Thanks,
Ben
0
Comment
Question by:BenMorel
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 40

Accepted Solution

by:
omarfarid earned 500 total points
ID: 21770501
from the command line, set the sticky bit on that dir. e.g.

chmod +t /path/to/dir

This will give you what you want
0
 
LVL 7

Author Comment

by:BenMorel
ID: 21772330
Hi,

Thanks, but the sticky bit avoids only deleting by another user.
In this case, the user will be the same for each person that will use the ftp !

Other ideas ?
Thanks, Ben
0
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 500 total points
ID: 21772786
Have a crontab job that will change files / folders ownership and perms so that user can not delete
0
 
LVL 7

Author Comment

by:BenMorel
ID: 21788481
That's not the perfect solution, but if there's no other one ... :)
Thanks,
Ben
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
HP Insight Manager Email Alerts 11 703
WDS Configuration 17 157
ON RDS SERVER 2012 CREATING A C DRIVE FOR EACH USER 3 127
Hyper-V 2012 Reverse replication of only one server 7 44
Goal:  To set up a secure SSH server for your home computer to make it accessible anywhere AND to use it as a port forwarding proxy. Steps 1.  WinSSHD version 5 is free for personal use.  So download and install it.  You can download it from the…
Hello, As I have seen there a lot of requests regarding monitoring and reporting for exchange 2007 / 2010 / 2013 I have decided to post some thoughts together and link to articles that have helped me. Of course a lot of information you can get…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question