longsiders Posted November 24, 2002 Posted November 24, 2002 how do you set permisions in the configure.php using chmod? I realise you are all programmers whereas I am just a private individual who has got an idea for an online business, no money to get it going and so I have to try and learn to do it all myself (it has taken me 2 days just to upload the files to my web server !!!)
greree Posted November 25, 2002 Posted November 25, 2002 We're not all programmers. I just started this myself. To set less restrictive permissions for the install CD to the directory and type chmod 777 config.php for both files. To set it more restrictive after install type chmod 644 config.php.
longsiders Posted November 25, 2002 Author Posted November 25, 2002 thanks for that. Finally sussed how to set the chmod stuff (wish I had know it was just in the ftp client) Any suggestions for how I secure my admin area?
greree Posted November 25, 2002 Posted November 25, 2002 http://www.yolinux.com/TUTORIALS/LinuxTuto...Protection.html
sonny Posted November 25, 2002 Posted November 25, 2002 We all had to start from nothing, Im not a php,perl,expert but here is some tips to get you started in the sever, programing ThingaMajig LEARN LINUX, LEARN LINUX ,LEARN LINUX, ---> Basic commands Invest in Cute FTP Pro 2.0 great great great FTP program, LEAN PATHS like /usr/local/home/ or /home/sonny/ ls ---> displays file contents like a double click in windows mkdir----> like new>>>folder rm xxx----> xxx is the file you want to remove like a deleate in windows **********GET USED TO THE SHELL PROMPT (bash) ********* rm -fr ---> remove full directory( remove -force remove)<---- get it chmod ugo+rwx xxx--->xxx is the file you whant to chmod (changemode user group open + read write execute) Search GOOGLE for all questions, Youll find them, Then build a Library of commands :bigups: youll get it sonny any problems email me [email protected]
mattice Posted November 25, 2002 Posted November 25, 2002 whenever on Linux and you don't understand how something is supposed to work try the following: program-name --help | more man program-name And quick explanation about chmod: R = read W = write X = execute order: owner-group-world as in rwx-rwx-rwx HTH Mattice "Politics is the art of preventing people from taking part in affairs which properly concern them"
palosanto Posted November 25, 2002 Posted November 25, 2002 Hi guys, Where can I find a list of ALL the permissions I am supposed to set for all files in the oscommerce structure. I've seen it somewhere but I cant find it After going back an forth between my local and remote servers, editing files I am not sure anymore that the permissions are now set correctly. Is there a set for work in progress and a final one for when the store is public? Another question is, what happend to the permission settings when I file is ftp downloaded to a windows machine, edited and then uploaded back to the unix server, do permissions get changed? Many thanks!
Guest Posted November 25, 2002 Posted November 25, 2002 www.oscdox.com They tell you on what to set your permission
longsiders Posted November 26, 2002 Author Posted November 26, 2002 Thanks for all the help. As you all say - I guess I just gotta keep learning as I go.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.