Linked Questions

0
votes
0answers
83 views

Does installing Apache overwrite ALL (including mounts) www folders? [duplicate]

I have a old hard drive (with Ubuntu 32b) that was running my website. The site was located in /var/www/vhosts/debug.onlinelabtests.com I removed the hard drive, and dropped in a new one. Install ...
62
votes
8answers
20k views

How to avoid using sudo when working in /var/www?

I want to stop having to use sudo everytime I work in /var/www. How can I do that? I simply want to put all of my sites into this directory and work with them without too much pain.
18
votes
7answers
10k views

Should I symlink my /var/www directory to my home?

I have just installed Ubuntu Server 10.04 with a LAMP setup. I want to host a website there but I'm not sure which is the best way to get/edit my files on the server. Googling provides many options ...
7
votes
6answers
43k views

How to give read write permission to a folder and its sub folders and files?

I have changed ownership of my localhost file on /var/www/ and its sub folders and given it permission 777. However, whenever I add a new folder in it the new folder does not automatically get that ...
17
votes
3answers
3k views

How do file permissions work?

Can you explain briefly the main concepts and command line tools used to manage file permissions?
2
votes
1answer
60k views

how to make chmod 777 all /var/www subfolders

im running webserver and ftp server, where my /var/www is binded on my /home/user/www i made both directory at chmod 777 (which is fine since its for testing only) i can upload files inside ...
2
votes
2answers
7k views

How to repair “sudo: /etc/sudoers is mode 0640, should be 0440?”

Why might sudo chmod -R a+w * cause sudo: /etc/sudoers is mode 0640, should be 0440 sudo: no valid sudoers sources found, quitting and how might it be made to work?
2
votes
2answers
11k views

Setting directory file permissions in Ubuntu using chmod

whats the equivalent command of this (Fedora command) for Ubuntu: chmod +a "www-data allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs When I try the above with Ubuntu ...
4
votes
2answers
7k views

How to make a directory permanently writable?

I am using LAMP stack for development and I have a problem with making /var/www permanently writable. I use this command: sudo chmod -R a+rwX /var/www This works, but after putting a web app and ...
2
votes
2answers
2k views

WordPress asks for FTP credentials, even though owner of the whole /var/www is www-data

I'm trying to get WordPress to run on my local Ubuntu 12.10 installation. When I try to install themes/plugins, it asks me for FTP credentials. I've been trying to get this to work for 2 days now. ...
1
vote
1answer
886 views

How to fix sudo after “chmod -R 777 /var”?

I executed chmod 777 /var and now Ubuntu won't start, can anyone tell me what I did wrong? And if there is a way of going back?
1
vote
1answer
846 views

Permanent chmod 777

How can I set chmod 777 for my lamp server? I am the owner of the www folder (sudo chown -R martin www). I have changed the permissions of all files (sudo chmod 777 -R www). I don't know why, but my ...
1
vote
2answers
1k views

Skype fails to start after installation from downloaded deb package

i installed skype wiht the amd64.deb file that i downloaded from skype.com but when i click it via dash it wont start. after that i tried it from the gnome-terminal i get this i have a dutch Ubuntu i ...
0
votes
2answers
761 views

How to mkdir -p -m 777 to all missing pathname directories?

I'm putting a file in cron.hourly which needs to create a folder on the 1st time, and giving it access to an user so i don't need to use sudo if i want to remove all content in the folder. And in it ...
0
votes
2answers
2k views

Htdocs permission

I am completely new to ubuntu... THough I installed htdocs and give it permission using command chmod -R 777 /opt/lampp/htdocs. It works fine. But I wish to avoid it doing again and again. Their ...

15 30 50 per page