Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-04-27 07:58:52
- raymon
- New Member
- Registered: 2007-04-26
- Posts: 1
permissions 777
How does one change permissions when receiving this message:
Warning: cannot write to file directory
/users/home/———/public_html/files.
Please change file permissions to 777
using cyberduck on Mac OS 10.4.9
Any help much appreciated
Offline
Re: permissions 777
In a secure shell (SSH) session:
chmod 777 "/users/home/———/public_html/files"
In a command line FTP session, go to your public_html directory:
chmod 777 files
In a GUI FTP client it works in a similar way, read the manual of the software you use
Many webhosts have a webinterface that also allows changing permissions of files and directories.
Unless your website runs in a chrooted environment or a VPS, I’d suggest switching to a webhost that doesn’t require 777 permissions.
Offline
Re: permissions 777
Another real beginner here, suffering the 777s.
I’m not sure what Ruud means.
Could someone help out with a fuller expalnation ?
Many thanks.
Last edited by grahamH (2007-05-08 18:09:28)
Offline
Re: permissions 777
Do you have ftp software such as Filezilla? If you do, go across to your site, right click on the folder that needs the permissions and look through the options. In Filezilla there’s an option called File Attributes, it may be different on other software. You can change it to 777 in there.
Dozy P My attempt at music
Offline
Re: permissions 777
Peter, I should have said I was on a G4 Mac.
FileZilla seems only suitable for Windows.
I’m using Fetch and Cyberduck for FTP.
Offline
Re: permissions 777
In some cases it’s not shown as 777, but as rwx rwx rwx
Offline
Re: permissions 777
But where do I change the permissions ?
Can it be done through the Textpattern site (if so could you tell me where) ?
Or does one have to upload/download something by FTP ?
(Yes, I really am a beginner !)
Many thanks.
Offline
Re: permissions 777
You can either use your FTP client or some kind of file management webinterface offered by your webhost. In your FTP client you’d probably have to right-click the images directory to be able to change the permissions.
If you’re a Windows user, it’s comparable to right-clicking a file/directory in the windows explorer and choosing properties there. In windows you can check/uncheck things like “read only”. On your webhost there are many more permissions. 777 means that everyone is allowed to read, write and execute.
Offline
Re: permissions 777
Ruud,
I’m on a Mac and have succeeded in finding where permissions
are given when using Fetch FTP. I have also suceeded in
changing permissions to 777 on the “images” folder.
However, I still cannot find the “files” folder that Diagnostics
tells me I have to give a 777 to …
“File directory path is not writable: /data01/photohst/public_html/files”
Looking at the “public_html” folder I can see all of it’s contents and
“files” is not amongst them (although “files-txp” is, and changing
permissions there does not get rid of the problem).
It would seem to be obvious, but is not.
Offline
Re: permissions 777
I suppose if a directory/folder does not exist, it’s hard to write anything in it. Either create the files folder or change the path to the files directory (in admin->preferences) so it points to the files-txp folder.
Last edited by ruud (2007-05-09 19:28:25)
Offline
Re: permissions 777
It did cross my mind – if it doesn’t exist create it.
But being a beginner I am a bit cautious.
Anyway your suggestion worked Ruud !
Many thanks.
Offline
Pages: 1