Everything contained therein, files and/or folders, were created by, and thus owned by, the secondary (personal) user account. So while the root shares themselves, as created in QTS, were owned by the "admin" account. That also applied to "myqnapcloud" services. Everything accessed over SMB, including QSync, would use the second (personal) account I had created. This means that, I would only need to use the "admin" account to access QTS via my web browser. I Also globally disabled "guest" access to anything and everything share-wise. I then set up R/W permissions (as required) on each share I created, as I created it, in QTS. I still added this user to the administrators group, but I knew even so, it wouldn't have the same godlike access that the "admin" account does. But if you require more details or are confused by any of the above, feel free to PM me as I'm pretty sure I will get notified about PMs.įor clarity, when I originally bought my NASes, I knew from the outset that using the "admin" account for all and sundry would be a bad idea if the system, or my network got hacked somehow, so created a user for my Windows PCs to access the shares on the NAS. Look for the "Set Group, owner, and permissions recursively" checkbox in WinSCP's properties dialog box for a folder, it's files (and all subfolders / files).ĮDIT: Sorry for the delayed reply, I do not routinely monitor, nor do I receive notifications from this forum. This change can be applied recursively, so you won't need to manually edit every sub-folder / file individually. But be careful, some folders including the root share folders shouldn't really have their owner info changed, only the sub-folders and files contained within. If you have folders of data on the NAS owned by the "admin" user, if your new user account is in the administrators group, you may be able to write to folders on the NAS whose group owner is "administrators" but may at the same time not be able to modify / delete files owned by the "admin" user itself.īest option is to SSH in with WinSCP, check the folder / file ownership of your shares / data and then select any / all that need updating and use the context (right-click) menu in WinSCP to bulk change folder / file ownership to your new username from admin (properties menu item, last in the list). To do that I SSH in using WinSCP / PuTTy. But I had already checked and made sure the user account on the NAS corresponded to that used by the folders the data resides in.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |