开发者

Setting proper User permissions in VSftpD (Ubuntu Server) [closed]

开发者 https://www.devze.com 2023-03-21 10:29 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If y开发者_如何学JAVAou believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.

Closed 7 years ago.

Improve this question

I recently set up an Ubuntu Server (32-bit, 11.04) and setup LAMP. I'm trying to configure VSftpD so I can transfer files locally from my laptop to the Ubuntu server.

I was able to follow various tutorials to create the CHroot user list. I was able to properly set the default root folder to my vars/www. For some reason my login is unable to edit files or folders. I am currently using my root user, I was unsure on how to create a Virtual user.

Any info or pointing in the right direction would be of much help. After 3-4 hours of searching through blogs, tutorials, and forums I figured I would give this a shot.

** Disclaimer - I used the search feature but couldn't seem to find anything relevant to my issue.**

RESOLVED

I figured out the issue, the permissions of the folders were not properly set. I entered the following and now my user has 100% access

sudo chown -R USERNAME /var/www 
sudo chmod -R 777 /var/www

RESOLVED


the sudo chmod -R 777 /var/www command is not preferable as most servers will throw a 500 error for security reasons, visit this for more information http://tutorials.ausweb.com.au/web-hosting/php-and-mysql/solving-a-500-internal-server-error.html

0

精彩评论

暂无评论...
验证码 换一张
取 消