1
vote
3answers
41 views

Not understanding /var/www permissions [duplicate]

I know similar questions have been asked, but I couldn't find a solution because I'm not looking for a command to give new rights to the directory, I would like to understand it. I'm very new to ...
1
vote
1answer
32 views

FTP/SFTP not allowing any writing

I'm using Ubuntu 14.04 and vsftpd. In the past my account (not root) has had full access, more or less, to either FTP or SFTP to anything on my server and edit any file that my user account could ...
-4
votes
1answer
37 views

useradd instead of adduser,

So I installed Ubuntu 13.04, set up sftp, that's all good. Setting up vsftpd for regular FTP users (we need those too, sadly. sftp isn't for good for all our purposes), i accidently used useradd to ...
0
votes
1answer
39 views

Allow ftp permissions for every directory

I have a computer that I set up with Ubuntu but I don't have a monitor for it so it is a hassle when I need to change something in the file system because I have to unplug a monitor from one of my ...
0
votes
1answer
42 views

Running Apache as FTP users

I have an Ubuntu server. Apache, MySQL and VsFTPd are running on it and it hosts more than one web sites. Every web site owner has an FTP user to upload files. However, Apache is running as www-data, ...
0
votes
0answers
22 views

Ownership in LAMP [duplicate]

I am relatively new to managing my own server but I am very eager to learn and right now I am able to install my own LAMP stack on an Ubuntu server 12.04 x64. I am using WordPress as for my blog, now ...
0
votes
2answers
115 views

What Is The Difference Between “root”, “user”, “group”?

I am new in using UbuntuServer13.10 so during giving permission to a folder to open it on FileZilla on other PC, I got these words and now I want to know about the difference between; "root", "user", ...
0
votes
1answer
24 views

user can't ftp to a directory but is part of the group that owns it

I have set www-data as the owner and group on my /var/www directory. The permissions on /var/www are 775, so the www-data group has write access. user1 is a member of the www-data group. vsftpd ...
2
votes
2answers
264 views

How To Edit/Add/Delete/Rename Files/Folders In Ubuntu Server Using FileZilla?

I am using "UbuntuServer13.10" on my server and "Windows7-SP1" On my PC. Now I want to edit, add, delete, rename my files and folders in server using FTP. For this purpose, I installed "FileZilla ...
0
votes
1answer
52 views

how to set priviledge on port 21 ftp of a host

i have a linux hosting working with cakephp.some sites got intrusion/hacked.i used nmap to see the open ports. i found 21/tcp open ftp is the port which should be restricted and not accessible via ...
0
votes
1answer
55 views

Using FTP to edit a file removes Apache permissions

If I edit a file using FTP with vsftpd on ubuntu 12.04 LTS... It removes the permissions that allow Apache to access the file... Currently If I upload a file with FTP, if it is a .php file it will ...
0
votes
0answers
125 views

AWS FTP to /var/www access denied to write

Ok, so I just got my amazon web services EC2 server up and running with apache. When I ftp into the server using IP and KEY.pem you create when setting up the server. Everything is good, but when I ...
3
votes
1answer
100 views

Ubuntu 12.04 Server - Default directory permissions

I am new to linux and I installed linux for web server purpose with apache2. I have created a new directory /var/www/mysite. My main problem is that each new file I create has read only permissions ...
0
votes
0answers
30 views

files on FTP not opening or saving on Ubuntu 12.04 LTS

I connected to server and I can't click on & open a file so I dragged a file to desktop but then couldn't save it on the server I tried to reach the server and set the permissions to read and ...
3
votes
1answer
224 views

How to give a specific user access only to a specific folder and its contents?

I used adduser <name> and created a new user, andrew. Now I want to give him read/write access only to /var/www/sitename.com and its contents. How am I supposed to do this? I tried sudo ...
0
votes
1answer
519 views

Permission denied in FTP even though I'm the owner

Okay, so I've tried my best at finding the answer to this by searching and looking through possible duplicates, but I just can't so forgive me if it's out there somewhere anyways. My issue is as ...
0
votes
0answers
60 views

VSFTPD Allowing A User To Edit Any File

I finally got VSFTPD working with PAM and MySQL, and I want to know how I can have an FTP user that makes editing the server easily. Essentially what I want is for my ftp user to be able to have the ...
0
votes
0answers
32 views

Confusion regarding web owner in /var/www and local copy of project /home/user/project

I have installed the Symfony2 framework. I cloned my (git) repository in /var/www as well as locally in /home/username/myproject. In there (myproject) is where I make and test changes and commit to ...
0
votes
0answers
38 views

Change the default directory of vsftpd, maybe a permission problem

I was trying to change the default directory of vsftpd from /srv/ftp to /media/mon. And I can't visit it from the browser. I wonder if there's a permission problem, because the /srv is under root ...
0
votes
0answers
285 views

ProFTPd - Uploaded Files Getting 600 Permissions

We have an Ubuntu 12.04 Server, and have ProFTPd setup on there for some users to upload files. Each user is jailed to their own directory. New directories get 777 permissions, and new files get 666 ...
0
votes
0answers
15 views

Denied write access outside of /home? [duplicate]

I installed both Extplorer on my server and vsFTPd and I cannot seem create or delete files outside of /home. So I cannot go to /var/www and make a folder using FTP but SSH works fine. I've not used ...
1
vote
1answer
3k views

/var/www owner for apache2 and ftp access

I've got apache2 running on Ubuntu Server 12.04 LTS on an old laptop. It's on my local network to act as a webserver to help me learn PHP (and linux). The default owner for the /var/www folder (where ...
0
votes
0answers
28 views

Shared FTP permission problem

I want to make a shared ftp folder with two users that contains a file that cannot be deleted by them. /home/shared is owned by user t1 and group t1. User t2 is added to the group t1. t1 and t2's home ...
4
votes
1answer
1k views

Configure vsftpd to chown uploaded files

I have vsftpd up and running on my Ubuntu server. This is a development server and I want to be able to FTP my code directly to the directory which Apache is serving out. As most of you know, ...
1
vote
2answers
2k views

FTP Changes file permisions

I am trying to make changes to my website over ftp but when I save any files it changes the permissions and owner to my username. I can edit files in the same folder trough samba without changing the ...
1
vote
1answer
8k views

Cannot create an archive with .tar command (Permission Denied)

Fİrst of all I am sorry for my noob question. I am really new to Unix based OS. I need to to create a archive from my ftp server (all of the /usr/src/ directory) using tar command. However I keep ...
1
vote
1answer
66 views

Specify who can connect

I've just installed VSFTPD, which I always liked for its ease of use, but I can't find something... Can anyone give me instructions on how I can specify which IP addresses are allowed to connect? ...
1
vote
1answer
378 views

How file permissions are stored in inode?

Suppose there's two pc - "A" and "B". Then if A downloads a files from B , then what would be the file permission of that downloaded file? Is it possible that the downloaded file in A will have an ...
0
votes
1answer
443 views

Permissions issue uploading to server via FTP client despite user having all permissions

I set up a new Ubuntu server with one user to whom I granted full permissions by adding jsmith ALL=(ALL) ALLto the /etc/sudoersfile. The idea being that I would be able to never log in as root and ...
0
votes
1answer
1k views

how to add permission to an ftp account

I add a new subdomain with plesk , and with command line I've copied a directory from the root to the directory of the subdomain , when I connect with an ftp account I don't have the right permission ...
5
votes
1answer
15k views

Configuring Permissions for FTP and Apache

I have a web server (Apache2) that i access with FileZilla. On my web server i have a dir /home/admin/www that i binded to /var/www. So i can access it with FTP. This works perfect! But everytime ...
2
votes
1answer
8k views

Give ftp users access to directories outside their root using symlinks

I tried to give proftpd virtual users access to directories outside their home paths using symlinks I created as root through the console. /var/ftp/users/test is the home of the user named test. ...
6
votes
3answers
24k views

Default file permissions for php user www-data

I have a php installed on my ubuntu machine. The web root is /var/www I set the permissions for this folder like so: sudo chown -R ftpuser:www-data /var/www ftpuser is the user I set up so I ...
3
votes
2answers
4k views

Having permission problems with XAMPP

I installed xampp with no problems, and then ran the command to set security. Apparently setting security locks you out of the directories even at the file system level, not just via FTP - when I look ...