Solved

vsFTPd Permissions

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Node.js shared hosting server 8 137
WDS Configuration 17 144
2 backup software programs on 1 server 3 71
Hard Drive -- temperature monitor ? 6 167
Problem: Windows 32bit running out of paging space. Solution: Add additional page files on separate partitions. Background: By default Windows creates only one page file on the partition you install Windows on. You may know that the maximu…
If, like me, you have a lot of Dell servers in the estate you manage this article should save you a little time. When attempting to login to iDrac on any server I would be presented with two errors. The first reads "Do you want to run this applicati…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

856 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