NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Bob245's avatar
Bob245
Guide
Apr 20, 2020
Solved

I can't delete the "Home Folder" on my ReadyNas OS 6.10.3

Hello at all,
in my ReadyNas OS 6.10.3 I would like to completely remove the "Home Folder" but I can't.
I have already read this thread https://community.netgear.com/t5/Using-your-ReadyNAS-in-Business/Deleting-old-home-directories/td-p/1036582 on the forum, but the command "btrfs" is not recognized and therefore I cannot use the indications of that thread.
I am in the same condition as that thread. I have some folders of the domain to which I was previously connected and then I have the folders of the local user "admin" and "test".
Obviously I have disabled SMB on the Home Folder so that it doesn't see it as a share ...

Ok all the folders are empty but I don't like seeing them in the management interface.
I entered SSH as an admin user, to try to delete those folders via shell command line (rm * -f -r) but I can't because it always gives me "Operation not permitted".
Do I have to resign myself to keeping the "Home Folder" or is there a possibility for its removal?
Thank you. Bob

  • You show in your signature that you have an NV+V2, which does not run OS6 nor use BTRFS.  Please confirm which NAS this is on.

     

    Assuming you also have a newer NAS you just haven't added to your signature, you have to use root credentials, not admin, in SSH.  The root password is the same as your admin password.

7 Replies

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User

    Bob245 wrote:

    Do I have to resign myself to keeping the "Home Folder" or is there a possibility for its removal?


    I suggest leaving it.  It might be possible to delete it with ssh, but that would likely have side effects - since the application software assumes it is there.

    • Bob245's avatar
      Bob245
      Guide

      Hi, I have deleted the various folders with ssh and I am satisfied.

      I realize that perhaps it is better to leave the Home Folder in order not to have problems in the future. Thank you

  • You show in your signature that you have an NV+V2, which does not run OS6 nor use BTRFS.  Please confirm which NAS this is on.

     

    Assuming you also have a newer NAS you just haven't added to your signature, you have to use root credentials, not admin, in SSH.  The root password is the same as your admin password.

    • Bob245's avatar
      Bob245
      Guide

      Hi, my system is ReadyNas Pro 4 (RNDP4000).
      Ok, I need to use the ssh session with the "root" administrative user.
      Now with the root user I can use the btrfs command and then I finally deleted all the sub-folders of the Home folder.
      What happens if I also delete the Home folder?

      So many thanks. Bob

    • Bob245's avatar
      Bob245
      Guide

      Hi, just one last question.

      I realized that the folders of the local user, under the "Home Folder"  are still created.
      In my case I use only one user called "veeam-account" and if I delete this folder, it is then recreated.
      The SMB service on the share Home Folder is disabled but the system still creates a folder for each local user present and used.
      It is not important but I was wondering if I could disable the creation of the home folder of the local user used. Thank you. Bob

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        Bob245 wrote:

        but I was wondering if I could disable the creation of the home folder of the local user used.


        I don't think you can.  But it shouldn't possible to put anything into that folder, unless you are using NAS admin credentials to access the full data volume with SMB.