LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-17-2008, 04:09 PM   #1
robbiej
LQ Newbie
 
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
vsftpd> chmod/permissions, is possible to manipulate?


hi everyone.. ive tried to wrap my head around this for awhile but cant seem to get it perfect but for some stupid reason you can do this on a windows ftpd's easily for some reason.. here is what im trying to do:

2 ftp users

admin and guest
admin = /var/pub/ftp/admin
guest = /var/pub/ftp/admin/guest

guest is locked its home dir so it logs in and see's just /

1] what i need is guest to be able to create directories and write, but -not- delete .. realistically if they can just not delete any other users ie admins files in his home directory it would be gravy, but i want them to be able to read any file

2] admin to be read/write/delete all he wants

any help is greatly appreciated

-robbiej
 
Old 01-18-2008, 11:18 AM   #2
mether
Member
 
Registered: Mar 2007
Distribution: RHEL, Fedora, Open Suse
Posts: 151

Rep: Reputation: 31
Not 100% sure but you can take help of sticky bit here. And making admin as the directory owner he can perform all operations.
 
Old 01-18-2008, 08:56 PM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
The "sticky" bit prevents renaming or deleting a file unless you own it. It's commonly used for the /tmp directory.

If your Linux supports access control lists (ACLs), then you can go much farther. (This is basically how Windows does it.) ACLs provide very fine-grained control for file and directory access.
 
  


Reply



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
users of VSFTPD can't chmod files they uploaded tclwp Linux - Networking 4 09-05-2008 07:28 AM
Apache2 / vsftpd / chmod question? LMZ Linux - Server 6 02-05-2007 09:09 AM
VSFTPD CHMOD problems Equin Linux - Software 1 01-28-2006 12:38 PM
vsftpd - new directories are chmod:ed 700 samel_tvom Linux - Software 2 05-23-2005 11:27 AM
chmod with vsftpd porczykowski Linux - Security 3 11-17-2003 04:49 AM

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

All times are GMT -5. The time now is 07:15 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