LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-08-2004, 06:50 PM   #1
tisource
Member
 
Registered: Feb 2002
Posts: 322

Rep: Reputation: 30
Linux, Create Dirs=no, Create files=yes. Possible?


I have looked at a number of linux permission questions, and, although I think I have a pretty good understanding of the linux file system (ext3), I thought I'd run it past you guys & gals.....

I have this folder that is the home for the anonymous ftp user. We do have limited write access enabled (on a strict quota) for quick transfers. What I'd like to do (although I don't think linux can) is grant creation of files but not folders. My understanding of linux permissions makes me conclude that this isn't possible. But if it is, I definitely want to do so.

Am I right? Also, if I remove write rights to the folder itself, then the user won't be able to create anything, right?

Thanks.....all I need is a quick answer.
 
Old 01-08-2004, 06:53 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Usually this all depends on the FTP server your using and most likely if you can configure it within it or not, etc. It won't be within the actual filesystem though cause yes, if you disable write access, they won't be able to create directories or files, etc.
 
Old 01-09-2004, 01:35 PM   #3
tisource
Member
 
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
Well, I'm running proftpd 1.2.9........

You know off hand if proftpd can do such a thing? I'll look.....but my track record with permission settings in proftpd.conf isn't good.

Thanks
 
Old 01-09-2004, 02:51 PM   #4
fr0zen
Member
 
Registered: Nov 2003
Location: 127.0.0.1
Distribution: xubuntu
Posts: 217

Rep: Reputation: 30
Check out http://proftpd.linux.co.uk/localsite...ref_Limit.html

Might be what you need:

Code:
<Limit MKD XMKD>
DenyAll
</Limit>
 
Old 01-12-2004, 10:05 PM   #5
tisource
Member
 
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
I understand now.

Amazing. I have seen that limit statement before, but never really realized what it could do. I have used the directive to make some other tweaks to my setup.

I'm learning......slowly....but I'm learning.

Thanks a bunch for that tidbit of information. Very enlightening.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How on Earth to create compressed files in Linux? raid517 Linux - Software 4 06-03-2009 03:07 PM
Why when editing files does Linux create a duplicate file with a ~ in the extension? bugbite99 Linux - General 6 01-17-2005 02:21 PM
How to create VCD from any given video files in linux... linuxlah Linux - Software 4 02-17-2004 05:33 PM
create .ico-files in linux ziggamon Linux - Software 2 08-21-2003 02:13 PM
Why do Linux IDEs create so many extra files? stodge Linux - Software 7 05-03-2003 12:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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