corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » chmod 444 problems


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author chmod 444 problems
Houckham
Member

Registered: 29th May 03
Location: Newcastle upon Tyne
User status: Offline
2nd Aug 05 at 23:19   View User's Profile U2U Member Reply With Quote

Im using WS_FTP pro

and trying to set a config.inc.php file to read only
using the properties and selecting read only (chmod 444)

it does it but when refreshed it jumps to

chmod 544

and wont let me change it to anything below read and write for owner.


Anyone know whats wrong?
James@CCC
Member

Registered: 10th Nov 03
Location: Eaton Bray, Bedfordshire
User status: Offline
2nd Aug 05 at 23:24   View User's Profile U2U Member Reply With Quote

i didnt understand a single word
_Allan_
Member

Registered: 24th Mar 04
User status: Offline
2nd Aug 05 at 23:24   View User's Profile U2U Member Reply With Quote

Yes
Shane
Member

Registered: 10th Jan 04
User status: Offline
2nd Aug 05 at 23:33   View User's Profile U2U Member Reply With Quote

if its broken hit it with a hammer,


but on a serious note does it need to be read only?
dna23
Member

Registered: 1st Nov 04
Location: Northamptonshire
User status: Offline
2nd Aug 05 at 23:34   View User's Profile U2U Member Reply With Quote

Use CuteFTP Pro its better and won't gash up like that.... it's not read only is it
IntaCepta
Member

Registered: 25th Mar 02
Location: Mill Hill East, Greater London
User status: Offline
3rd Aug 05 at 00:13   View User's Profile U2U Member Reply With Quote

chmod 444 = User-Read, Group-Read, Other-Read

chmod 544 = User-Read+Execute, Group-Read, Other-Read

Maybe the file itself needs to be executed, so its overiding your 444 with 544..

whats wrong with 544 anyways, the execute will only apply to 'you' only anyways..
Houckham
Member

Registered: 29th May 03
Location: Newcastle upon Tyne
User status: Offline
3rd Aug 05 at 00:35   View User's Profile U2U Member Reply With Quote

im using phpadsnew and the config file needs to be locked otherwise it the settings can be changed.
i suppose it isnt really a problem.
but i would have thought i would have control over a file more than it having control over itself.

ive never came across this before

cheers for your help
Dan B
Member

Registered: 25th Feb 01
User status: Offline
3rd Aug 05 at 00:38   View User's Profile U2U Member Reply With Quote

Any webservers I have an account on, I have direct SSH-access to a Unix-shell, so can directly use the chmod command.

Never had any problems with that refusing to accept a 444 permission-setting...
Carr
Member

Registered: 1st Oct 04
Location: Leicestershire (Home) Ambleside, Lakes (Uni)
User status: Offline
3rd Aug 05 at 07:09   View User's Profile U2U Member Reply With Quote

willay
Moderator
Organiser: South East, National Events
Premium Member


Avatar

Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
3rd Aug 05 at 07:15   View Garage View User's Profile U2U Member Reply With Quote

Like Dan says if you have a shell account just login and try the chmod command, WSFTP might not be using the right syntax the ftp understands (though this is unlikely).

Anything from the logs showing the client executing the command and giving an output?
willay
Moderator
Organiser: South East, National Events
Premium Member


Avatar

Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
3rd Aug 05 at 07:16   View Garage View User's Profile U2U Member Reply With Quote

also like intercepta says, 544 should be fine anyway cause everyone can only read the file.

 
New Topic

New Poll

Corsa Sport » Message Board » Off Day » chmod 444 problems 24 database queries in 0.0149701 seconds