Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: NFS-607 Disable move/rename directory

...

If an end user creates a new directory (such as AcmeBucket/Sales/Leads/campaigns/2016/Mar), SwarmNFS creates a new empty object with Directory attributeĀ metadata, which marks it as a simulated directory.

For the end user to delete that directory, they
Info
titleNote
Important

To delete a directory, end users must first remove any files within it.

To rename a directory, end users must create a directory with the new name, move the files into it, and then delete the directory with the old name. (NFS-607)

Keep in mind that simulated directory objects only exist to support the expectations of end users and applications: objects can be written to a new virtual directory just by including it in the pathname.

...