Zyxel NAS542 - copied files from old NAS are inaccessible (open from NAS share)

13»

All Replies

  • adrian3k
    adrian3k Posts: 16  Freshman Member
    Samba version 4.1.7
    PID     Username      Group         Machine
    -------------------------------------------------------------------
    10221|XXX|everyone|X.X.X.223|ipv4:X.X.X.223:54825
    10221|pc-guest|everyone|X.X.X.223|ipv4:X.X.X.223:54825
    10706|pc-guest|everyone|X.X.X.163|ipv4:X.X.X.163:49687
    11360|XXX|everyone|X.X.X.13|ipv4:X.X.X.13:49175
    11265|XXX|everyone|X.X.X.237|ipv4:X.X.X.237:62754
    10706|pc-guest|everyone|X.X.X.163|ipv4:X.X.X.163:49687
    10221|pc-guest|everyone|X.X.X.223|ipv4:X.X.X.223:54825
    10967|pc-guest|everyone|X.X.X.250|ipv4:X.X.X.250:50224
    11553|XXX|everyone|X.X.X.222|ipv4:X.X.X.222:49751
    11287|XXX|everyone|X.X.X.251|ipv4:X.X.X.251:55718
    10967|pc-guest|everyone|X.X.X.250|ipv4:X.X.X.250:50224
    10706|pc-guest|everyone|X.X.X.163|ipv4:X.X.X.163:49687
    10967|pc-guest|everyone|X.X.X.250|ipv4:X.X.X.250:50224

    Service      pid     machine       Connected at
    -------------------------------------------------------
    share|10706|X.X.X.163|2019-10-07 07:30:23
    share|11287|X.X.X.251|2019-10-07 07:37:41
    share|11265|X.X.X.237|2019-10-07 07:37:21
    share|11553|X.X.X.222|2019-10-07 07:41:40
    share|10221|X.X.X.223|2019-10-07 07:23:11
    share|11360|X.X.X.13|2019-10-07 07:38:48
    share|10967|X.X.X.250|2019-10-07 07:34:12

    Locked files:
    Pid          Uid        DenyMode   Access      R/W        Oplock           SharePath   Name   Time
    --------------------------------------------------------------------------------------------------
    10967        502        DENY_NONE  0x100081    RDONLY     NONE             /i-data/12344321/share   2019/yyy1   Mon Oct  7 10:02:11 2019
    11265        505        DENY_NONE  0x100081    RDONLY     NONE             /i-data/12344321/share   2018/yyy2   Mon Oct  7 11:24:46 2019
    11287        505        DENY_WRITE 0x120196    WRONLY     BATCH            /i-data/12344321/share   2019/yyy3/yyy3.dwl   Mon Oct  7 07:44:13 2019
    11553        505        DENY_WRITE 0x12019f    RDWR       BATCH            /i-data/12344321/share   2019/yyy4/yyy4.dwg   Mon Oct  7 09:08:23 2019
    10706        502        DENY_NONE  0x100081    RDONLY     NONE             /i-data/12344321/share   2019/yyy5   Mon Oct  7 09:39:14 2019
    11360        505        DENY_NONE  0x100081    RDONLY     NONE             /i-data/12344321/share   ___TMP/2019-10-07   Mon Oct  7 08:52:36 2019
    10967        502        DENY_NONE  0x100081    RDONLY     NONE             /i-data/12344321/share   2019/yyy6   Mon Oct  7 09:21:22 2019
    10221        505        DENY_NONE  0x100081    RDONLY     NONE             /i-data/12344321/share   2019/yyy6   Mon Oct  7 10:10:39 2019
    11265        505        DENY_WRITE 0x12019f    RDWR       NONE             /i-data/12344321/share   2019/yyy7/yyy7.xls   Mon Oct  7 11:17:18 2019
    11553        505        DENY_NONE  0x100081    RDONLY     NONE             /i-data/12344321/share   2019/yyy4/yyy9   Mon Oct  7 10:43:52 2019
    11553        505        DENY_NONE  0x1000a0    RDONLY     NONE             /i-data/12344321/share   2019/yyy4/yyy8   Mon Oct  7 11:05:21 2019
    11553        505        DENY_NONE  0x100081    RDONLY     NONE             /i-data/12344321/share   2019/yyy4/yyy8   Mon Oct  7 11:00:20 2019
    11553        505        DENY_WRITE 0x120196    WRONLY     BATCH            /i-data/12344321/share   2019/yyy4/yyy8/yyy8.dwl   Mon Oct  7 08:41:26 2019
    11553        505        DENY_ALL   0x100080    RDONLY     NONE             /i-data/12344321/share   .   Mon Oct  7 10:43:19 2019
    11265        505        DENY_NONE  0x100081    RDONLY     NONE             /i-data/12344321/share   .   Mon Oct  7 11:24:42 2019
    10967        502        DENY_NONE  0x100081    RDONLY     NONE             /i-data/12344321/share   .   Mon Oct  7 10:01:44 2019
    11287        505        DENY_NONE  0x100081    RDONLY     NONE             /i-data/12344321/share   .   Mon Oct  7 07:41:42 2019
    11360        505        DENY_NONE  0x100081    RDONLY     NONE             /i-data/12344321/share   .   Mon Oct  7 07:38:50 2019
    10706        502        DENY_NONE  0x100081    RDONLY     NONE             /i-data/12344321/share   .   Mon Oct  7 09:02:42 2019
    10221        505        DENY_NONE  0x100081    RDONLY     NONE             /i-data/12344321/share   2019/yyy6/yyy7   Mon Oct  7 09:58:31 2019


  • Mijzelf
    Mijzelf Posts: 2,763  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary
    Nice forum software, eh?

    Anyway, is your file listed in the 'Locked files' section? If yes, is the file open on one of the clients listed above?
  • adrian3k
    adrian3k Posts: 16  Freshman Member
    Nice forum software, eh?
    Yeah, it is just great :disappointed:
    Anyway, is your file listed in the 'Locked files' section? If yes, is the file open on one of the clients listed above?
    Will try to check all the stuff in next days - i'm working on this server remotely (so i dont know if it is opened). Strange that I can see in the first section the same PID with different users (guest+full access account) and in third section (Locked files) I see different 'DenyMode' (none / write / all). I'm quite new to this type of 'problem solving' for fixed NAS servers.

    Maybe it will be faster to make 'everything' from the beginning?

    This is 'local' server (no access from outside), with no need for different users (everyone need full permissions to all files). One shared folder.

    Maybe you know the best way to make this? I'm wondering if Zyxel was the good choice (after all the problems)...

  • Mijzelf
    Mijzelf Posts: 2,763  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary
    and in third section (Locked files) I see different 'DenyMode' (none / write / all)
    The 'deny mode' depends on the rights of the client, and the tool used to open the file. If it's a viewer which only reads, the file is opened ro, and the sharing is possibly DENY_NONE. if the viewer doesn't care the file can change while it's open. An editor wants to hve exclusive write access, and so the file will be marked DENY_WRITE for the others.
    Of course a file can have one exclusive write access and several read only accesses simultaneously.

    In your case I'd first try to close the guest account, I think. As you already found there are clients which have a guest session and a normal session at the same time. So which account is used to open the files?

  • adrian3k
    adrian3k Posts: 16  Freshman Member
    Thx Mijzelf for all the support, guest accounts were because old windows credentials - changed them :) as for the files it was program fault not the server :wink:

Consumer Product Help Center