About File Sharing permissons

Status
Not open for further replies.

TheNoob19

Dabbler
Joined
Jul 2, 2017
Messages
16
Hello, how do i configure freenas to allow, for example. i have 5 computers. 1 computer will be the only one that is allowed to modify the files. while the other 4 computers are only allowed to read and execute files. How do i configure freenas to do just that?

im using iscsi
 

zoomzoom

Guru
Joined
Sep 6, 2015
Messages
677
Create user1 (computer 1) and then group1 (computers 2 - 5). User1 will be given r/w (and/or execute) permissions and will be the owning user, whereas group1 will be provided read and execute permissions and be the owning group.
  • chown user1:group1 /mnt/share && chmod 650 /mnt/share
    • If wishing for execute permissions for User1 as well: chmod 750 /mnt/share
This explains permissions
 
Last edited:

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
im using iscsi
You don't. You can't share an iSCSI share across multiple clients. That is not what iSCSI was designed for and it will not work in 99.9% of cases.
 

TheNoob19

Dabbler
Joined
Jul 2, 2017
Messages
16
i watch the video, and it only shows network shared. Can the network disk be made into a local drive? rather than the network shared? i mean turn in into a local drive and not a mapped network drive. cause some games cant be played through network shared devices. so to make up of it. it has to be turned into a local drive.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Can the network disk be made into a local drive?
No. I mean, you can use an iSCSI extent, and it will act like a local drive, but then you can't share it among multiple users.
 

TheNoob19

Dabbler
Joined
Jul 2, 2017
Messages
16
No. I mean, you can use an iSCSI extent, and it will act like a local drive, but then you can't share it among multiple users.
so to be able to share it vmware must be used? or whats it called.

cause ive seen like internet cafe's do this sort of thing where they update 1 main server then it updates to all the other clients after restarting them
 

zoomzoom

Guru
Joined
Sep 6, 2015
Messages
677
@TheNoob19 You would do what @m0nkey_ suggested and configure SMB [Samba], not iSCSI. Once you have an SMB share configured on FreeNAS (I'm assuming you're using Windows), open up Windows Explorer, right click on Network [left hand nav tree], select Map network drive...
  • You can also do this from a command/powershell terminal: net use z: \\remotepc\sharename /u:domain\username
    • This will prompt you for the password, versus passing it as plain text in the terminal window
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Another possibility would be that it's some kind of startup script that copies changed data to the client computers on startup, so that way it's on a local drive.
 

TheNoob19

Dabbler
Joined
Jul 2, 2017
Messages
16
I was thinking of using network sharing BUT since the games would not run(like dota2) i would bypass it by using a symbolic link. Since the freenas groups and user configuration only allows specific Ip to configure the freenas storage. the other clients accessing it via symbolic link wont be able to modify it. i would not know how this would turn out. time to test it
 
Status
Not open for further replies.
Top