Welcome, Guest
Please Login or Register.    Lost Password?

mod_ and com_ files are read-only! File ownership
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: mod_ and com_ files are read-only! File ownership
#1388
mod_ and com_ files are read-only! File ownership 1 Month, 1 Week ago Karma: 0
Hi!

I have a problem: for some modules and components, I can't modify the files contained in the different directory. For example, if I download with Filezilla a file index.php from the directory mod_anything, I can modify it with an editor (such as Notepad++). However, when I try uploading the new version of the index.php file to the mod_anything directory, FileZilla won't be able to do so.

The FileZilla message error would then be:

Code:

Status:   Starting upload of C:\Path\index.php
Command:   CWD /httpdocs/modules/mod_anything
Response:   250 CWD command successful
Command:   TYPE A
Response:   200 Type set to A
Command:   PASV
Response:   227 Entering Passive Mode (209,251,108,18,178,45).
Command:   STOR index.php
Response:   550 index.php: Permission denied
Error:   Critical file transfer error



When I download a file from the modules/components affected, the folder and files will be "read-only" with the case filled (not the check mark). Even if I try to uncheck the case, pressing "Apply" and "Ok", it won't go away.

What I know is that only the modules/components that I didn't install by myself are affected. Only the modules/components installed by my friend (who works on the website too) are, in fact, marked as "read-only" when I download/modify/upload them.

I've searched, tried several things that didn't work out. I'm pretty sure it is about "file ownership", but I don't know what to do in that case.

Please, help me!
Thanks!
peoriagaming
peoriagaming
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1389
Re:mod_ and com_ files are read-only! File ownership 1 Month, 1 Week ago Karma: 3
You'll get better help posting on the Joomla forum than here - because this is a general Joomla thing.

As said previously in an email: You are obviously on shared hosting space where the webserver user is different from your FTP user.

I suggest you uninstall the extensions, then enable the "FTP Layer" in your Joomla Global Configuration and re-install the extensions. This will make sure that all files will then be owned by the user which you entered in the "FTP Layer" options in your configuration.
moensch
moensch
Admin
Posts: 483
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1390
Re:mod_ and com_ files are read-only! File ownership 1 Month, 1 Week ago Karma: 0
Since I had errors enabling the "FTP Layer", I just asked my host to change the ownership of the files.

Thanks!
peoriagaming
peoriagaming
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: moensch