-   Linux - General (
-   -   Linux, Create Dirs=no, Create files=yes. Possible? (

tisource 01-08-2004 06:50 PM

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.

trickykid 01-08-2004 06:53 PM

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.

tisource 01-09-2004 01:35 PM

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.


fr0zen 01-09-2004 02:51 PM

Check out

Might be what you need:


<Limit MKD XMKD>

tisource 01-12-2004 10:05 PM

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.

All times are GMT -5. The time now is 06:03 AM.