Acess denied on Smb Share

eij9genw

Cadet
Joined
Jan 2, 2024
Messages
1
Greetings

I followed the following tutorial :


The commands used to define permissions in this tutorial :

chmod 770 <pool>

I was able to access the share without issues until i got an access denied in windows
i tried to play around with permissions but ended up loosing access to see the owner

1704239920858.png


Im able to see the content :

1704239954065.png


But cannot go farther & here are the permissions in windows :

1704240000644.png


I tried creating a new user but still get the same error

Im not familiar with samba shares permissions command lines
is there a way to reset all the permissions?
I just want to be able to access the data so i can back it up

thank you
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
That is a deeply flawed tutorial. The creator quite frankly does not know how permissions work on Unix-like systems.
The commands used to define permissions in this tutorial :

chmod 770 <pool>

This cuts off access to _all_ users. The pool mountpoint should have 755 and permissions should not be changed. Unix-like operating systems require that users have execute permissions on directories in order to traverse them. If a user does not have execute on /mnt/tank, they will not be able to access /mnt/tank/foo. Create datasets, set permissions on them, and share them. Don't touch the pool mountpoint / root-level dataset.
 
Top