FTP User's authorization to change permissions

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

FTP User's authorization to change permissions

Postby garlic » 27. February 2008 17:28

Hi!

Here is the case: I'm using (trying to..) XAMPP to build some website on localhost -

In order to work properly on the latest Joomla! (1.5), I have to change the configuration.php file permission to "writable" (from CHMOD 644 to CHMOD 777).

On my FTP client, when i'm trying to change the configuration.php permissions, I've got a "you're not authorized" to do so message..

On the web, i know how to control user's permission but on XAMPP's i can't solve the question.

Can you give a hand on this one? (how to change user's -me!- authorizations)

Cheerz
Ahhhhhhhhh - tchoum'
User avatar
garlic
 
Posts: 1
Joined: 27. February 2008 17:02

Postby jmdirc » 02. March 2008 00:13

your ftp is permissioned out elsewhere in the config file. A couple simple changes will open it for you:

file-- ftpd.conf or proftpd.conf depending on your programs:

look for these lines before the change--

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022


all you need do is to comment out the Umask line by placing a # before it, like so--

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
#Umask 022


also you will need to change this line--

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>


to--

# Bar use of SITE CHMOD by default
#<Limit SITE_CHMOD>
#DenyAll
#</Limit>


and your all set. Just make sure you know what you are doing before you assign permissions to your files and directories.
User avatar
jmdirc
 
Posts: 154
Joined: 10. February 2008 22:44


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 63 guests