mtchang / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 0 forks source link

Can't write to FTP #1015

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Upgraded to 3.4.3.6-068. 
2. Setup FTP settings to allow user to read/write USB application-->Ftp Share
3. Connect to FTP in windows explorer
4. Attempt to copy a file into the FTP

What is the expected output? What do you see instead?
I expect to be able to copy the file over, but I get an error:
An error occurred copying a file to the FTP server. Make sure you have 
permission to put file on the server
Details:
200 switiching to Binary mode.
227 entering Passive Mode
553 Could not create file

What version of the product are you using? On what operating system?
3.4.3.6-068 Win 7 pro 32bit

Please describe the problem as detailed as it's possible.
If you have connection problem, then syslog file is required. (please do
attach it as a file)

I just upgraded to the latest firmware in hopes of improve my transfer speeds. 
I also reformatted my HDD to ext3 during this process. Now that I have it all 
plugged back in my FTP write ability has gone. my SMB works fine for read and 
write, but my FTP can only read. I have triple checked the USB settings in USB 
Application-->FTP Share and the user has read/write privileges. Note: none of 
my users have write ability

It's a permissions issue, but I do not know how to resolve it. Thanks!
-Troy

Here is the filezilla output if I try using that:

Status: Retrieving directory listing...
Command:    TYPE I
Response:   200 Switching to Binary mode.
Command:    PASV
Response:   227 Entering Passive Mode.
Command:    LIST
Response:   150 Here comes the directory listing.
Response:   226 Directory send OK.
Command:    PASV
Response:   227 Entering Passive Mode (68,41,71,218,195,119).
Command:    STOR SecurityKISSTunnel.config
Response:   550 Permission denied.
Error:  Critical file transfer error

Original issue reported on code.google.com by tmbou...@mtu.edu on 1 Oct 2013 at 3:32

GoogleCodeExporter commented 9 years ago
More testing:

1) I tried to downgrade to 3.4.3.6-066. That did nothing. I still couldn't 
write so i went back to -068

2) I noticed that I am able to write to the transmission folder with any user. 
It does not give me the error that way. All other folders do not work, but 
according to the permissions page, they all say R/W.

Original comment by tmbou...@mtu.edu on 1 Oct 2013 at 5:07

GoogleCodeExporter commented 9 years ago
3) As mentioned before, locally and I can read/write with SMB, but if I remote 
connect to my SMB share via VPN (PPTP) then I can only read all folders except 
transmission which I can read/write. Transmission for some reason continues to 
always allow read and write while ever other folder only always read.

Original comment by tmbou...@mtu.edu on 1 Oct 2013 at 9:24

GoogleCodeExporter commented 9 years ago
4) I unmounted the drive and hooked it back up to my ubuntu PC. I used this 
guide to go from ext3 to ext4:
http://www.ghacks.net/2010/08/11/convert-ext23-to-ext4/

I then used the below command to check and make sure all permissions were given:
$ sudo chmod -R -v 777 /media/[Drive Name]

It still won't work.

Original comment by tmbou...@mtu.edu on 2 Oct 2013 at 4:58

GoogleCodeExporter commented 9 years ago
5) According to my samba right click-->properties-->security the owner is: 
S-1-22-1-777 and i need permission from it to change the file...

6) If i use the router to create a new folder, then I can write to that folder. 
So I theoretically could remake all my folders and copy the data into them, but 
with a 2 TB external transferring at 6mb/s... I would prefer to fix it a 
different way.

Thanks!

Original comment by tmbou...@mtu.edu on 2 Oct 2013 at 6:27

GoogleCodeExporter commented 9 years ago
[SOLVED] 

1) I deleted all users
2) I turned off FTP and SMB shares
3) disconnected the USB driver
4) plugged into my ubuntu PC
5) terminal --> sudo Nautilus
6) Highlighted all files/folders in the drive and changed the permissions to 
give full access to all
7) Plugged back into N56U and remade the users. 

Everything works fine now except my anonymous FTP user is having some problems. 
Everything else works fine.

Original comment by tmbou...@mtu.edu on 3 Oct 2013 at 6:44

GoogleCodeExporter commented 9 years ago

Original comment by Dr.Sydorenko.O on 9 Oct 2013 at 4:33

GoogleCodeExporter commented 9 years ago
It has nothing to do with that...

Just never create new folders using the web interface

Original comment by woeterma...@me.com on 11 Dec 2013 at 1:54

GoogleCodeExporter commented 9 years ago
Nothing to do with that? I disagree. Every time a folder is created 
automatically (e.g. with transmission) it sets the permissions to not be able 
to write in that folder. So I have to use Putty to change the folder 
permissions each time.

Original comment by tmbou...@mtu.edu on 11 Dec 2013 at 3:36