LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-22-2008, 03:53 AM   #1
semajnitram
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
Office FTP solution


Hi,
I'v got query regarding Linux and setting up an FTP server for external clients to be able to connect to and upload information into their own folder.

For some time i've used proftpd with a gnome gui front end but my problem (which i assume is due to complete lack of knowledge) is that each time i add a new user i copy a previous user's profile and then add a new home folder which has write access for the new user. The problem then comes that i have to go back through all the previous users and add this folder (with read only rights)to all the other users profile. This was fine when there were only a few users but now we have 30 or more users this is an administration nightmare.

Is there an easy way to bulk update a group and save administration time?

Thank in advance for any help.
 
Old 11-22-2008, 10:24 PM   #2
penguiniator
Member
 
Registered: Feb 2004
Location: Olympia, WA
Distribution: SolydK
Posts: 442
Blog Entries: 3

Rep: Reputation: 60
Sounds like a job for a script (bash/Perl/Python), unless there is already an automated solution out there, which seems likely.
 
Old 11-23-2008, 04:07 AM   #3
semajnitram
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Original Poster
Rep: Reputation: 0
I was hoping there would be a pre-made solution for this as i'd assume its a common task to perform. In windows based solutions once you create a group any changes are rolled out across all members, but it doesn't seem to be the case in proftpd (again i'm happy to be told I'm wrong and that I've missed something basic out).

If there is no easy solution for this using ftp. Is there any other solutions which offer the functionality i require, locked down ssh? for instance. The main aim of this is to easily set up a project folder with a set of sub folders for all members to drop their own work into (which can be expanded upon easily). Then a web front end (currently using net2ftp configured for my server) to allow external users with no computer knowledge to easily connect and upload their files to their project. A dream would then be to have a web interface to send a join request that i can then acknowledge quickly and give relevant access through drop downs etc...

I'm sure this isn't a new idea and someone must be doing it on a regular basis?

Many thanks...
 
Old 11-23-2008, 07:52 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
I was hoping there would be a pre-made solution for this
There is.
You need to read up on users groups and permissions
You need to create a new group, maybe called ftpusers (this needs to be each user's primary group)
Make all users members of this group.
Give each users files the permissions rw-r-----
That means each user can read/write their own files but other users, who are members of the same group, can only read them.

Last edited by tredegar; 11-23-2008 at 07:56 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Safe practices for ftp server in my office? BrianK Linux - Security 5 02-14-2007 02:35 PM
help on network solution for doctor's office geedi Linux - Networking 3 12-11-2005 10:04 PM
ftp or other solution? babag Mandriva 6 06-22-2005 11:24 AM
small office solution - need help hellblade Linux - Enterprise 2 11-23-2004 06:31 AM
Need a solution to FTP Proxy setup Firejack Linux - Software 0 10-30-2003 05:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration