View Full Version : Debian 5
waloshin
July 1st, 2009, 09:10 PM
How to do Chmod 777 /var/www in Debian.
So i can install an SMF forum their.
unknownPoster
July 1st, 2009, 09:14 PM
um...
chmod 777 /var/www/
waloshin
July 1st, 2009, 09:16 PM
um...
chmod 777 /var/www/
I have tried
Su chmod 777 -R /var/www
Sudo chmod 777 --R /var/www
no luck
.Maleficus.
July 1st, 2009, 09:16 PM
Please don't change the permissions on /var/www. It is owned by root for a reason.
kerry_s
July 1st, 2009, 09:30 PM
I have tried
Su chmod 777 -R /var/www
Sudo chmod 777 --R /var/www
most commands do not have upper case letters.
Su is just -> su <-by itself no command after it, once your root you can run all the commands you want. i would suggest you enable sudo.
kellemes
July 1st, 2009, 09:41 PM
How to do Chmod 777 /var/www in Debian.
So i can install an SMF forum their.
As said..
Don't change permissions but see to it you get the permissions needed..
"sudo" is the way to go.. https://help.ubuntu.com/community/RootSudo
sudo cp <SMFPACKAGECONTENT> /var/www/smf (or whereever you want it to go..)
You can also open your graphical filemanager (if available) like so..
gksudo nautilus
Most commands tend to be lowecase..
master_kernel
July 1st, 2009, 10:02 PM
As said..
Don't change permissions but see to it you get the permissions needed..
"sudo" is the way to go.. https://help.ubuntu.com/community/RootSudo
sudo cp <SMFPACKAGECONTENT> /var/www/smf (or whereever you want it to go..)
You can also open your graphical filemanager (if available) like so..
gksudo nautilus
Most commands tend to be lowecase..
WAIT!
sudo is not installed by default in Debian, neither is gksudo (and maybe gksu also). Debain users should use 'su', so he's right. Run 'su -c "cp smf/forumfiles /var/www/smf"'.
kerry_s
July 1st, 2009, 10:15 PM
WAIT!
sudo is not installed by default in Debian, neither is gksudo (and maybe gksu also). Debain users should use 'su', so he's right. Run 'su -c "cp smf/forumfiles /var/www/smf"'.
gksu is installed if you have gdm gksu & gksudo is the same program, sudo you do have to turn on.
i used the expert install mode & choose not to allow root, so it setup a sudo install for me. i'm using debian testing.
cariboo
July 2nd, 2009, 01:19 AM
During a Debian installation, you are prompted to create a root password. To install anything in debian, you have to be root, at the prompt type:
su
and enter the password you created during installation. Now that you are root, you can do anything you want, but of course be careful as you can quite easily hose the system.
nitehawk777
July 2nd, 2009, 01:55 AM
Yeah,....
To do anything as "root"...
I just go to terminal....and type:
su root (hit enter)
it will then ask for root's password,....I type in my password for root,..and I can do whatever it is I wanna do as "root"....
Then when I'm in Ubuntu,..I forget sometimes that I have to "sudo" (LOL)
kellemes
July 2nd, 2009, 09:25 AM
I'm a big fan of sudo and would install and use it on Debian (http://www.debianhelp.co.uk/sudo.htm) too..
The Ubuntu RootSudo-documentation mostly aplies to Debian also.
https://help.ubuntu.com/community/RootSudo
Good luck.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.