Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Nov 12, 2012 12:57 am 
Offline
Newbie

Joined: Mon Nov 12, 2012 12:50 am
Posts: 3
I'm running Debian 6 and have followed the Linode LAMP guide but somehow when trying to install my web shopping cart software it says certain files/directories are not writeable and only respond to chmod 777 files while 755 doesn't seem to allow write.

Anyone know what I can do to avoid having to have any files chmod 777? Thanks!


Top
   
PostPosted: Mon Nov 12, 2012 2:04 am 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
Are we supposed to guess which web shopping cart app you're using?

_________________
Either provide enough details for people to help, or sit back and listen to the crickets chirp.
Security thru obscurity is a myth - and really really annoying.


Top
   
PostPosted: Mon Nov 12, 2012 2:12 am 
Offline
Newbie

Joined: Mon Nov 12, 2012 12:50 am
Posts: 3
vonskippy wrote:
Are we supposed to guess which web shopping cart app you're using?


Sorry about that, it's OPENCART that I'm using.


Top
   
PostPosted: Mon Nov 12, 2012 11:18 pm 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
The octal digit 5 only grants read and execute permissions, not write permission. It seems clear that your web application is not running as the same user who owns the file in question. If the web application user is a member of the file's group, then you can enable write access with mode 775.


Top
   
PostPosted: Tue Nov 13, 2012 1:18 am 
Offline
Newbie

Joined: Mon Nov 12, 2012 12:50 am
Posts: 3
hi Vance, that makes so much sense. Thanks for the tip, I tried that and it works for the critical files I don't want to set as 777. Excellent!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group