LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Proftpd and file permissions (https://www.linuxquestions.org/questions/linux-networking-3/proftpd-and-file-permissions-193748/)

jeucken 06-15-2004 09:16 AM

Proftpd and file permissions
 
Hi,
I'm running a SuSE 8.1 server.

I am trying to set up Proftpd, but I'm having a problem with file permissions.

Everyone can upload and download files. But when someone uploads a file, the file gets the wrong permissions.

I have the umask set to 755 (which is ok in my case since it is just a test server and it only holds some personal pictures, that's it.). But for some reason it still gives the wrong permissions.

For example: I can create a directory, but after that I can't access it. (I get an access denied.)

Oh and another problem: I'm using smartFTP to connect to my FTP server. That works ok. But for some reason I can't connect to my FTP server using Internet Explorer.

Donboy 06-15-2004 10:10 AM

Your umask was 755??? Yikes! That's way off. Check here...

http://www.busan.edu/~nic/networking/puis/ch05_03.htm

Scroll down to section 5.3.1 where it explains how to calculate the umask.

jeucken 06-16-2004 12:35 AM

Quote:

Originally posted by Donboy
Your umask was 755??? Yikes! That's way off. Check here...

http://www.busan.edu/~nic/networking/puis/ch05_03.htm

Scroll down to section 5.3.1 where it explains how to calculate the umask.

I know how the umask works. You don't have to explain me that.

And I also know that 755 isn't very smart for a FTP server. But since I'm testing it, that doesn't matter.

It doesn't matter what umask I want to set it to since every umask should work, right?

jeucken 06-19-2004 04:49 AM

Anyone? :(


All times are GMT -5. The time now is 08:52 PM.