Permissions in FTP Server.

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Permissions in FTP Server.

Postby MalastiC » 24. November 2008 17:32

Good morning. I created a user to use FTP, but the files are going up with permissions 444.

How can I make it 777 by default?

A greeting,
MalastiC
 
Posts: 13
Joined: 31. October 2008 09:35

Postby glitzi85 » 24. November 2008 18:17

For all users? Look for the directive UMask in proftpd.conf

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Postby MalastiC » 24. November 2008 19:49

Good evening. My user works fine, but I created another user is called "eurcomm" and not get something when permits are up 777.

This is my setup. What would that change?

A greeting,


ServerName "ProFTPD"
ServerType standalone
DefaultServer on
Port 21
Umask 777
MaxInstances 30

User eurcomm
<Directory /opt/lampp/htdocs/*>
AllowOverwrite on
</Directory>

DefaultRoot /opt/lampp/htdocs

UserPassword nobody dGytM.Y/w.5aA

RequireValidShell off

UseFtpUsers off

By the way. What do you do around here "Nobody"?

A greeting,
MalastiC
 
Posts: 13
Joined: 31. October 2008 09:35

Postby glitzi85 » 24. November 2008 20:40

Umask is the difference from the permissions. If you want 777 in permissions, you need to set Umask 000.

User Nobody is the default user for XAMPP-Users. As not every system is similar it is easier for the developers to put the user in the configuration file. If you do not need this user, simply delete this line.

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Postby MalastiC » 24. November 2008 20:59

glitzi85 wrote:Umask is the difference from the permissions. If you want 777 in permissions, you need to set Umask 000.



Good night. I've done that and permissions gives me 666.

Am I doing something wrong?

A greeting and thanks.
MalastiC
 
Posts: 13
Joined: 31. October 2008 09:35


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 9 guests