This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

wheel can not delete files etc.

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
sherman
Starter
Starter
Posts: 41
Joined: 27 Dec 2014 15:16
Status: Offline

wheel can not delete files etc.

Post by sherman »

It is about user rights.


I am a Windows 10 user with MS account log in into Win 10. In a nutshell: I log in via ms.user@dumb.com

I had for months now set up in N4F a user called ms and gave him wheel, admin, ftp rights and thought all is well.
Well, it is not. Today I wanted to delete files on a share while using my Win10 PC and being loggen in via MS email....
I could not.

(Today I learned that I should use SMB username mapping. I created the file and mapped ms = ms.user@dumb.com according to https://www.medo64.com/2016/02/microsof ... ree-samba/

The reason is I had not the rights. This is cause I also set up a user "backup" that is used by my Paragon Image / Backup solution to write backups to a certain share. I restricted in a way I can not recall share acess in a way only user backup can do things and nothing else (I was thinking off the recent maleware crypter plague).
Though this seems to work so good I can not delete files created by user back up even if my ms user is in the "backup" group.

files in the sahre have these rights:
group: ftp
owner: backup
0600

So, only backup can read&write.


Eventually, I thought that user in the group wheel could do anything :) The same I thought about admin group. Neither can...

Question is there any "uber" user pre created user setting or group in N4F considering SMB/CIFS share rights?


PS:
Anyhow, it is good that I can not delete or manipulate these files via my Win10 since that was the whole purpose of restricting acces to /backup. But I ran out of space and need to delete files.

PSS:
I learned that I can log in via SSH (I use WinSCP under Windows) with root name.password and then I can delete anything :)
That is fine!

Post Reply

Return to “CIFS/SMB (Samba)”