Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
755 permissions
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- 755 permissions
755 permissions
28-07-2008 6:36 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi, been all over the plus net help and this forum…
I get the page error that my files are not set to permission 755. I am aware that this needs to be set. Also do the files reside in the cgi-bin folder, or outside of it? I haven't been able to get this answer from Plus Net 😕
How do I change permissions?
Do the .php pages reside in the cgi-bin folder, or in the root of that folder?
With thanks
I get the page error that my files are not set to permission 755. I am aware that this needs to be set. Also do the files reside in the cgi-bin folder, or outside of it? I haven't been able to get this answer from Plus Net 😕
How do I change permissions?
Do the .php pages reside in the cgi-bin folder, or in the root of that folder?
With thanks
Message 1 of 4
(2,497 Views)
3 REPLIES 3
Re: 755 permissions
28-07-2008 6:49 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
can you use chmod <whatever> 775 as root?
Message 2 of 4
(429 Views)
Re: 755 permissions
28-07-2008 6:56 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
log into the ccgi server at ccgi.plus.net using telnet or ssh
issue the following command:
fixphpperms.sh
that should do it.
PHP files should be directly into your CGI space, NOT in the cgi-bin folder, which is reserved for perl and similar.
B.
issue the following command:
fixphpperms.sh
that should do it.
PHP files should be directly into your CGI space, NOT in the cgi-bin folder, which is reserved for perl and similar.
B.
Message 3 of 4
(429 Views)
Re: 755 permissions
10-08-2008 7:42 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hello there blitz,
You'll be better off using PuTTY...
infact you might as well greab WinSCP whilst you're at it to save you some more time and use S-FTP...
A quick lesson in *NIX type Shell Commands.
(There are thousands of better "Short" introductions as they've more time on their hands to collate them)
Commands
Finding Help
For help with any function, your best bet is to type
If you want to set the Permissions of a file named index.php to (0)755 (Octal)
If you've got a set of PHP Files in just a directory, with NO subdirectories with PHP files within...
That will suffice.
If you've got a whole load of files, then use:
( / = OR )
Type
For what each option does.
If you've put your PHP files in the "cgi-bin" folder,
it's not advised to put them there.
It actually makes no difference for what I use the cgi-bin folder for,
I actually have a few PHP files in there as utilities for my Website.
Otherwise, I hope that has put you in the right direction!
Jim,
You'll be better off using PuTTY...
infact you might as well greab WinSCP whilst you're at it to save you some more time and use S-FTP...
A quick lesson in *NIX type Shell Commands.
(There are thousands of better "Short" introductions as they've more time on their hands to collate them)
Commands
ls -l | List Directory |
cd | Change Directory |
pwd | Print Working Directory |
chmod <permissions> <file> | Set the Permissions for the File |
whereis <file/direcotry> | Find a file/dir |
grep <expression> | Regular Eaxpression Parser |
Finding Help
For help with any function, your best bet is to type
command --help
If you want to set the Permissions of a file named index.php to (0)755 (Octal)
#> chmod 755 index.php
If you've got a set of PHP Files in just a directory, with NO subdirectories with PHP files within...
#> ls -l
drwxrwxrwx 2 user cgiusers 4096 xxx xx xx:xx cgi-bin
-rw------- 1 user cgiusers 0 xxx xx xx:xx index.php
-rw------- 1 user cgiusers 0 xxx xx xx:xx error.php
....
#> chmod 755 *.php
That will suffice.
If you've got a whole load of files, then use:
fixphpperms.sh -c / -r / -s
( / = OR )
Type
fixphpperms.sh ---help
For what each option does.
If you've put your PHP files in the "cgi-bin" folder,
it's not advised to put them there.
It actually makes no difference for what I use the cgi-bin folder for,
I actually have a few PHP files in there as utilities for my Website.
Otherwise, I hope that has put you in the right direction!
Jim,
Message 4 of 4
(429 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page