LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-30-2011, 04:53 AM   #1
kptn3m0
LQ Newbie
 
Registered: Apr 2011
Posts: 4

Rep: Reputation: 0
Question Protecting Directory from deletation but upload into int


Hello, maybe a noob question, i have search around and found nothing suiteable here.

I want to make an upload directory, where people in the network can upload some files but i want to make sure that they cant delete the whole directory.

Is this possible??
 
Old 05-30-2011, 05:01 AM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,699
Blog Entries: 23

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Is this possible??
Yes, it is, in fact, it is the more common setting. What you need is an FTP server (vsftp for example) and a tweaked conf file, perhaps this conversation can get you going...

Every user needs an account on the server, that would in fact "chroot"/imprison them in one spot. In that folder, provide a symlink to a folder they do not have any other than write/read(?) rights.

It can be done easily...

Luck!

Thor
By the way - this is not a noob question - when you're "there", you're not really a noob anymore...
 
Old 05-30-2011, 05:43 AM   #3
kptn3m0
LQ Newbie
 
Registered: Apr 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks a lot for your quick reply.

The users are connecting throu ssh, so i need to find out how to configure ssh stfp server right?
 
Old 05-30-2011, 09:42 AM   #4
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,699
Blog Entries: 23

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Hmm, yes and no, VSFTPD is quite secure as it is, it's the world "outside" the thing you need to worry about...look into this read-up, maybe that's the help you need...

I'll keep this thread in my watch list, just to see where this eagle lands, okay?

Thor
 
Old 05-30-2011, 10:01 AM   #5
kptn3m0
LQ Newbie
 
Registered: Apr 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks unfortunatly i have not possibility here to use other things than ssh sftp. I am even not root, but rather i have to "order" changes due to some kind of security policy. I am working here in a little company and got this thing to do, but i am somehow lost here now.
 
Old 05-30-2011, 10:12 AM   #6
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,699
Blog Entries: 23

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Hmm, okay, I simpathise, had to work like that too. Oh well, ya can't blame 'em, it's a rat race out there...

Okay, maybe this 'll help...it's of ssh and sftp, it is on Debian, but...I'd be surprised it it cannot be adapted to your needs...

Thor
 
  


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
Password protecting a directory/file Broder Linux - Security 3 10-16-2008 01:31 AM
Apache2 Password protecting a directory taj Linux - Server 4 06-23-2008 07:24 PM
Password protecting a directory possible? Freestone Linux - Newbie 7 06-08-2006 01:54 AM
Password protecting a directory? How? Thrifty Linux - Security 7 07-20-2004 08:25 PM
Protecting a directory with mod_auth_db tomlow Linux - Security 12 02-13-2003 12:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:57 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration