ftp directory not showing files/folders

Status
Not open for further replies.

aunsoenr

Dabbler
Joined
Jan 6, 2017
Messages
32
Hi all,

I am attempting to setup ftp access on my freenas box. I can login and connect to the ftp server, however none of the files or folders are visible. I can see these files connected via ssh or smb.

Is there a permission setting I need to change for ftp to show these folders? Any other suggestion?
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
Have you checked the permissions of the missing files? ls -lah
 
Last edited:

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Agree with @kdragon75 , 100% chance this is a UNIX permissions for the files/directories issue.
 

aunsoenr

Dabbler
Joined
Jan 6, 2017
Messages
32
so which user needs permission for ftp to show these directories? The user I am logging in with on ftp has permissions for these files, and is able to see the files via ssh or smb.
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
Still, can you provide the output? Feel Free to censor file names. Also can you provide the FTP server settings?
 

aunsoenr

Dabbler
Joined
Jan 6, 2017
Messages
32
Here is output:

total 92
drwxrwxrwx 8 nobody nogroup 8B Aug 1 2017 .
drwxrwxr-x+ 5 nobody nogroup 5B Jul 26 2017 ..
drwxrwxrwx 9 nobody nogroup 9B Jul 13 2017 d*********
drwxrwxrwx 6 nobody nogroup 60B Jun 11 16:27 d*********
drwxrwxrwx 79 nobody nogroup 79B Aug 17 2017 m*********
drwxrwxrwx 4 nobody nogroup 4B Jan 8 2017 p*********
drwxrwxrwx 8 nobody nogroup 16B Jul 4 15:05 p*********
drwxrwxrwx 6 nobody nogroup 6B Aug 13 21:05 v*********
 

aunsoenr

Dabbler
Joined
Jan 6, 2017
Messages
32
upload_2018-8-27_12-11-56.png
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
If your user is not nobody or in the no group group, you will not have any access to the files. Consider changing the owner of the field to your ruser for testing or perhaps setup a group, chown the files to nobody:testgroup and add your user to testgroup.

I see a + on the .. perhaps you have an ACL causing issues.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Where's his "File Permission" and "Directory Permission" radio buttons on his ftp services menu?
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
Where's his "File Permission" and "Directory Permission" radio buttons on his ftp services menu?
Details don't matter. I only need half the information. I only ask for it for my health.
 
Status
Not open for further replies.
Top