Solved

vsFTPd Permissions

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

Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

Join & Write a Comment

Suggested Solutions

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…
Introduction People like FTP.  It's a solid, stable, robust protocol for quickly transferring files between two hosts using TCP/IP.  In most cases it's much faster than SMB or CIFS, and certainly much easier to set up between organizations.  This…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

747 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now