User File and Directory permissions


Recommended Posts

I am not sure if I messed up something on my system or if it's just some setting I need to fix but here is the issue:

I have two users other than root and both users seem to have free reign on my system.  None of the file/dir permissions I have set seem to be respected anywhere on /mnt/user but elsewhere they seem to be in effect.

 

Before I realized /home wouldn't persist after reboot I set that as the home folders for the two users /home/todd and /home/brian and each user couldn't access the other's folder but then I realized it wouldn't persist after reboot so I moved them to /mnt/user/todd & /mnt/user/brian but on there anything goes.  Any help would be great!

Link to comment

Just to clarify, are you saying that you used the webGUI to create a share named brian and a share named todd?

 

If so, what are the security settings of those shares?

 

Correct.  I tested all the security options and no matter the settings the share seems to behave correctly when accessed via SMB on my Windows machine.

 

But when I SSH or telnet into the tower then the permissions seem to be ignored.  User brian can access share 'todd' even if it's set to chmod 700.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.