|
A question regarding vsftpd. Let's say I have a directory /home/grabulon/photos with several subdirectories. I simply want the users to start there and only be allowed to read from "photos" and its subdirs. What's the best way to do this?
|
# ¿ Mar 31, 2007 12:45 |
|
|
# ¿ Apr 25, 2024 20:03 |
|
Alowishus posted:Set grabulon's home directory to /home/grabulon/photos and then enable chroot_local_user in vsftpd. But doesn't this mean that they have to login as "grabulon"? I want to create new users with access to my home directory...
|
# ¿ Apr 1, 2007 02:50 |
|
Alowishus posted:Oh well you could create more users who also have /home/grabulon/photos as their home directories. You'd need to make sure they had rights to the files in there, probably by making a group. Well I don't know if I can explain it any better, networking and linux are evidently not my strong sides. But what I was is to let one user (different from me) have access to one folder and its subdirs in my home directory and I want him to be able to download the contents of that folder. No write-access or anything. Now that I think about it, I actually want him to have access to two different folders. One in my home directory and one on my windows partition (so for example /media/sda1/morephotos). Ideally I'd want it to be like in DC++ when you get someone's file list and you see the folders they share.
|
# ¿ Apr 1, 2007 22:15 |
|
I have a large file (an XML document) and I want to remove a multiline string that is somewhere near the end of the file. How can I do this using sed that is faster than what I'm currently using:code:
|
# ¿ Nov 5, 2011 20:16 |
|
I'm using rrdtool to plot some graphs, and I'm wondering if there are any downsides to never consolidate datapoints? I currently sample every 15 minutes and save the data for a year, and I'm thinking of extending it to five years. I probably never have to know the exact values in 15 minutes intervals from five years ago, but it would be nice to have the option of granularity. Anyway, the size of the database will obviously be larger, but are there any other downsides?
|
# ¿ Jan 27, 2013 20:11 |