FreeNAS. Configuring FTP and SMB?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
9 views
Put on home filopovic (HP MicroServer) running FreeNAS. Before him was not the case. In the standard configuration works. Digging further.

That is:

— FreeNAS 0.7.2

multiple physical disks formatted with UFS, mounted as /mht/disk1, /mht/disk2, etc.

— running the SMB service:

— — Authentication — Anonymouse

— — Guest account — ftp

— other settings — default.


What you need:

— to all mounted disks were available for SMB. It is currently present and functioning.

to nekotorye folders of the discs were available via FTP for anonymous. Ie, if there is /mht/disk1/films/, /mht/disk1/music/, /mht/disk1/documents/, then you need to FTP was available only to films and music, and going from a windows client to \\\\server\\disk1\\ I've seen all 3 folders. Currently available via ftp all of the folders.


The actual question of how to achieve this? I suspect that you need to create user1 and user2, to give user1 access to all folders, and user2 only to films and music. Let him work through smb user1, user2 via — ftp. So? Or write nonsense?
by | 9 views

5 Answers

0 like 0 dislike
The problem was that anonymous users were in /mnt and saw the contents of all disks. Found the solution on the forum the Rest is working as it should?
by
0 like 0 dislike
User2 to allow FTP into the directory with the subdirectories films and music, and prohibit login with helmets. sftp user1 comes in and sees all the directories.
\r
The owner of the directory /mht/disk1/documents/ user1 to do, give the directory permissions: 700 (writes, reads, performs only the owner)
by
0 like 0 dislike
Sorry, did not read. What I wrote works when FTP access only to local users. For anonymous access should help ProFTD Directive "DefaultRoot", but for some reason it does not work — still
eject to /mnt.
\r
"Then this directory will not be visible when entering by FTP?" SMB will be visible, but inside won't let anyone except the owner. Turn off the visibility in the properties of the "balls".
by
0 like 0 dislike
isn't it easier to put more friendly for a beginner Linux distribution? you will get a lot of information on any issue ( forums, etc.)...
by
0 like 0 dislike
FreeNAS is made to FreeBSD so the settings are about the same, but at one time faced what new users when reboot not cavil, only those who have initially. For example, put SQUID he created the appropriate group or user, but after a reboot they were not, had to config specify nobody.
by

Related questions

0 like 0 dislike
2 answers
asked Apr 14, 2019 by antonzol
0 like 0 dislike
1 answer
asked Mar 25, 2019 by shogunkub
0 like 0 dislike
3 answers
110,608 questions
257,186 answers
0 comments
28,042 users