Jump to content

Hello. I'm trying to get files to from my computer to the server in the /var/www/ folder or just any folder and I get "550 filename.html: (or what ever extension) Permission denied".

 

Also get " Critical file transfer error". Is it because i'm in passive mode? That's what it says when I connect. I don't know what to do. I've tried giving permission to the folder to read and write via fileZilla but I get a permission defined message to and settings don't save. 

 

I have even reinstalled the server software again(first install was a couple nights ago) and started over. Same problem. I'm using the same username and password when I setup the server. Also I'm using webmin with proFTP installed and so I can configure settings in there which I've done...

 

I could just transfer files and delete on webmin but this is alot nicer as I experienced a few months ago when I had it installed and running a website. This was before I moved, wiped everything and am now re installing/setting up.. Never had this problem with filezila from what I can remember. 

 

Sorry for the super bad grammar. Just need this fixed. Thanks in advance! 

 

ps. I wasted like 4 hours last night trying to get this to work by myself... smiles :) 

Link to comment
https://linustechtips.com/topic/314783-filezilla-permission-denied/
Share on other sites

Link to post
Share on other sites

1. i think you can set up user permissions somewhere but im not sure that even exists.

 

2. any sort of white listing maybe?

 

3. firewall/internet thing? try on a different machine maybe? try to find what is the problem by counting out other things

Link to post
Share on other sites

Hello. I'm trying to get files to from my computer to the server in the /var/www/ folder or just any folder and I get "550 filename.html: (or what ever extension) Permission denied".

 

Also get " Critical file transfer error". Is it because i'm in passive mode? That's what it says when I connect. I don't know what to do. I've tried giving permission to the folder to read and write via fileZilla but I get a permission defined message to and settings don't save. 

 

I have even reinstalled the server software again(first install was a couple nights ago) and started over. Same problem. I'm using the same username and password when I setup the server. Also I'm using webmin with proFTP installed and so I can configure settings in there which I've done...

 

I could just transfer files and delete on webmin but this is alot nicer as I experienced a few months ago when I had it installed and running a website. This was before I moved, wiped everything and am now re installing/setting up.. Never had this problem with filezila from what I can remember. 

 

Sorry for the super bad grammar. Just need this fixed. Thanks in advance! 

 

ps. I wasted like 4 hours last night trying to get this to work by myself... smiles :)

 

put your username in the command.   You may need to give the proftp user writable access which can be done in Webmin.  you have to go in to the user permission settings and stick them  in the groups

sudo adduser <username> www-datasudo chown -R www-data:www-data /var/wwwsudo chmod -R g+rw /var/www

or if your allready loged in as the user:  sudo chown -R www-data:www-data /var/www

Link to post
Share on other sites

put your username in the command.   You may need to give the proftp user writable access which can be done in Webmin.  you have to go in to the user permission settings and stick them  in the groups

sudo adduser <username> www-datasudo chown -R www-data:www-data /var/wwwsudo chmod -R g+rw /var/www

or if your allready loged in as the user:  sudo chown -R www-data:www-data /var/www

No sure how to add that in webmin but I went to server and add "sudo adduser myusername www-data" and now I have access. I can transfer files and delete finally! Thanks! They must have changed the defaults since I used proFTP last to having to give users permission cause I don't know what I did different the last time it worked.

 

If you got time though could you explain how you would do it in webmin? Your instructions weren't clear to me. sry

 

Thanks so much though!!

Link to post
Share on other sites

No sure how to add that in webmin but I went to server and add "sudo adduser myusername www-data" and now I have access. I can transfer files and delete finally! Thanks! They must have changed the defaults since I used proFTP last to having to give users permission cause I don't know what I did different the last time it worked.

 

If you got time though could you explain how you would do it in webmin? Your instructions weren't clear to me. sry

 

Thanks so much though!!

No Problem.

 

In webmin. go to:

System  >  Users & Groups

click the user you want to give access to a group

Under the group memebership section move the www-data to the other box with the arrows under the "seconday groups" bit

click save at the bottom

Link to post
Share on other sites

No Problem.

 

In webmin. go to:

System  >  Users & Groups

click the user you want to give access to a group

Under the group memebership section move the www-data to the other box with the arrows under the "seconday groups" bit

click save at the bottom

Thanks so much dude!

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×