Last update: 2008-03-01
The difference between fiction and reality? Fiction has to make sense
- Tom Clancy
:: ADDONS
AddonDoc2 1.1
ChangeDateNew 3.5.6
Chmod 0.2
CopyNews 0.4
CustomFields 1.0
EasyEdit 1.0.1
EmptyProfile 0.6.1
FieldIncluder 1.0
Filter By Field 2.1
Full Profile Build 1.0
IsNewValue 0.1
Link Validator 1.3
Maginot Columns 0.3
Maginot Line Build 17
Modify News : Missing Subject 0.1.2
Multipart 1.59
NewFiles 1.1
NewsCounter 0.4
NumericNewsID 0.2
Prisoner's Dilemma build 2
Profile Numeric Filter 0.1.2
QueryFetcher 0.2
Random News 1.2
Search And Replace 1.0
ShadowMail 2.2
Snipper 1.0.1
SortOrders 2.3
Style Debugger 0.2
Top Bottom News Fields 0.1
X Multisubmit 2.4.3
 
:: DOCUMENTS
Weberver & Perl Errors
 
:: SUPPORT ME
If you have found my guidance here or in the Coranto forums helpfull or is using one of my addons and liked it here is your chance to materially support and encourage me to spend time helping others and keep developing existing and future addons to Coranto. Please note that this is a donation and not payment, what I do with my free time is up to me!

:: SUPPORTERS
Eduardo Pedreño
Ken Edwards (mavmesa)
Audioholics.com
Jesse Walden
Michio Takagi
CORANTO // DOCUMENTATION
:. When I FTP to my server, I can´t delete the files Coranto have created. 2004-07-17

The problem is that when you FTP to your server and create directories and files they are created with your username as the owner. But when directories and files are created by scripts executed through the webserver those directories and files are created with whatever username as owner that the webserver is running under, which in your case is another user than you use to FTP in with, presumably "www" or something similar.

This doesn´t have to be a problem but in your case the user you FTP in with has not the right to delete the files created by the user "www". There are a couple of solutions to this problem listed below in no particular order.
• Tell your host about this problem and let them come with a suggestion of how to solve the problem.
• Get your host to "chown" the affected directory tree to your username.
• When a file is created on a *nix system by a user the chmod value that the file gets is partly determined with the command umask, maybe that can be set to another value.
• Give the user you FTP in to the server with higher rights than the user www, such that you can delete/modify files created by that user.
• Install a web based file manager that can be used to delete the directories and files. That is because since it is executed through the webserver, just as Coranto where when the files where created.
• Use the chmod addon, which gives you the option to choose what privileges a normal output file should get when created.
• If using the Maginot addon, upgrade to at least build 15 where you have the option to choose what privileges the created files should get.

If you still can´t figure out why the files can´t be deleted post a message in the forum, stating that you have read this document and explain what measures you have taken thus far to pinpoint the problem.

Tell a friend   Print article   Comment this one!   Parahead
2 visitors online Valid HTML 4.01!   Valid CSS! © copyright 2003 Henrik Ahlén
Design based on Stylish by MVS
Content powered by Coranto