LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 06-26-2009, 01:41 AM   #1
murattas6
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Rep: Reputation: 0
Upload file to ftp server -vsftp- but can not delete or change the file once uploaded


Hi everyone,

Can anybody tell me the if the following is possible?

Suppose a user upload a file via ftp (to a vsftp server) and once uploaded he can not change,modify or delete his "own" file once uploaded.

"I mean the owner of the file can not change or delete his own file once uploaded"

Only boss can change or delete the file.

It sounds crazy I now..

I think "chattr +i" command cannot be used because it needs root permission
and needs applying this command everytime a new file is uploaded.

Also sticky bit is not working (because he can not delete his own file, not others)

Can we solve this problem via "linux permissions" or "vsftp configuration" ?

Please help me in this "fantastic" problem

Thanks.
 
Old 06-26-2009, 04:45 AM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Yes, the configuration for the vsftp server is where to change this behavior. The administrator of the server would need to set the appropriate permissions on the users` upload directory to allow them write (and delete) access.

Sasha
 
Old 06-26-2009, 06:00 AM   #3
murattas6
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by GrapefruiTgirl View Post
Yes, the configuration for the vsftp server is where to change this behavior. The administrator of the server would need to set the appropriate permissions on the users` upload directory to allow them write (and delete) access.

Sasha
I know .. but how??
 
  


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
FTP mystery - uploaded file disappears! Sagebrush Gardener Linux - Server 3 02-26-2009 09:22 AM
Automated FTP Notification when file uploaded by user c955437 Linux - Server 1 07-09-2007 09:08 AM
VSFTP - Local users can delete any file! Help! joelf Linux - Security 8 02-05-2004 12:10 AM
File uploaded via FTP have bad permissions breakerfall Linux - Networking 7 12-28-2003 04:29 PM
Proftp-- I can upload now but I can't see the file I just uploaded HELP PLEASE funnyusa Linux - Newbie 4 06-22-2003 03:00 PM


All times are GMT -5. The time now is 04:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration