https://bugzilla.wikimedia.org/show_bug.cgi?id=31101
--- Comment #9 from Olivier Finlay Beaton <[email protected]> 2011-10-01 02:49:47 UTC --- 22:33 < jigp> when i upload a file it says scp: /var/www/html/mediawiki/mediawiki-1.17.0/resources/LocalSettings.php: Permission denied. im using winscp windowsxp.im ticking all the tabs of winscp and i found SSL check.but when i try to upload again, i still received errors of permision 22:33 < finlay> jigp: make sure you have permission to write to that folder 22:34 < jigp> ok thanks 22:34 < finlay> jigp: you may be using the wrong user to upload 22:34 < finlay> or the folder you are trying to upload to may be owned by another user 22:34 < jigp> no im using a sudo account 22:34 < jigp> finlay im in the sudo member 22:35 < finlay> try uploading a different file to the same directory 22:35 < Dantman> jigp, If you're talking about being someone other than root that has sudo permissions that doesn't help 22:35 < finlay> and is there already a LocalSettings.php file there? 22:35 < Dantman> ...sudo permissions only apply if you actually execute something with sudi 22:35 < Dantman> sudo* 22:35 < Dantman> And that doesn't happen from most upload protocols 22:36 < Dantman> Even scp doesn't do that 22:36 < jigp> finlay : no LocalSetting.php thats why i want to upload it in the /var/www/html/mediawiki folder 22:37 < jigp> finlay this is the reply of the mediawiki when i install using browser 22:37 < jigp> Congratulations! You have successfully installed MediaWiki. 22:37 < finlay> how did you get the mediawiki folder there? 22:37 < gicode> jigp: Upload it to your home folder and sudo mv it over 22:37 < jigp> The installer has generated a LocalSettings.php file. It contains all your configuration. 22:37 < jigp> gicode : im using winxp with winscp 22:37 < jigp> You will need to download it and put it in the base of your wiki installation (the same directory as index.php). The download should have started automatically. 22:37 < jigp> thats the reply 22:38 < jigp> i will set Chroot 755 permissions? 22:38 < jigp> i tried $ chroot 755 22:38 < jigp> but invalid command 22:38 < jigp> even chroot 755 /var/www/html/mediawiki 22:39 < gicode> jigp: sudo chmod go+w /var/www/html/mediawiki 22:39 < gicode> then upload and change it back with sudo chmod go-w /var/www/html/mediawiki 22:40 < finlay> my friend has the right of it I'm afraid 22:40 < jigp> same error after i "sudo chmod go+w /var/www/html/mediawiki 22:40 < jigp> scp: /var/www/html/mediawiki/mediawiki-1.17.0/LocalSettings.php: Permission denied 22:41 < finlay> (ironically I bet you his webserver could of written the file) 22:41 < jigp> gicode : ill include mediawiki-1.17.0 i guess? 22:41 < finlay> his/her 22:41 < jigp> sudo chmod go+w /var/www/html/mediawiki/mediawiki-1.17.0 22:41 < finlay> yes 22:41 < gicode> finlay: indeed 22:42 < finlay> jigp: worked? 22:42 < jigp> perfect!!!! 22:42 < jigp> thank you so much! 22:42 < jigp> sudo chmod go+w /var/www/html/mediawiki/mediawiki-1.17.0 did the trict 22:41 < finlay> (ironically I bet you his webserver could of written the file) 22:41 < gicode> finlay: indeed maybe have a link (with a big warning, javascript popup etc) to have the webserver write it, if we detect we can. Given my experiences in forum installation forums, the above is a common sight of the nightmare of permissions. Of course you wonder how they ever got the package files there... but we will never know. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
