Solved

vsFTPd Permissions

Posted on 2008-06-12
4
1,189 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

Samba is the de-facto standard program (or, more correctly: suite of programs) that UNIX and Linux systems use to share files with Microsoft Windows (and more recently, Mac OS-X) systems. Currently, there are 2 common versions of Samba available,…
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…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

734 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