Project

General

Profile

Bug #23943

Prevent infinite folder replication within home directory

Added by David Grund over 1 year ago. Updated 11 months ago.

Status:
Resolved
Priority:
Nice to have
Assignee:
Nikola Gigic
Category:
Middleware
Target version:
Seen in:
Sprint:
Severity:
New
Backlog Priority:
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Made my home folder the root data set (/FreeNAS) of my FreeNAS server. This meant my home folder included .FreeNAS/media. I then realized this was silly and made a new data set under the root dataset (/FreeNAS/user). When I switch my user home folder from /FreeNAS to /FreeNAS/user it recursively copied the existing set of data under /FreeNAS into /FreeNAS/user making /FreeNAS/user/media and /FreeNAS/user/user which contained /FreeNAS/user/user/media and /FreeNAS/user/user/user and so on.

This produced around a Terabyte of taken space on my server and required significant effort to penetrate deep enough so the recursively deleting the files wouldn't time out.

I guess from this my suggested fix is that the user shouldn't allow you to make the root directory your home directory and then you need to not be able to change you home directory to dataset inside the dataset that is already your home.

Associated revisions

Revision 35f75031 (diff)
Added by Nikola Gigic about 1 year ago

fix(api/middleware): Infinite Folder Replication

Ticket: #23943

History

#1 Updated by David Grund over 1 year ago

  • File debug-freenas-20170512150117.txz added

#2 Updated by Alexander Motin over 1 year ago

  • Category changed from 137 to 201
  • Assignee changed from Alexander Motin to William Grzybowski

This sounds like a middleware or UI problem.

#3 Updated by William Grzybowski over 1 year ago

  • Status changed from Unscreened to Screened
  • Priority changed from No priority to Nice to have
  • Target version set to 11.0-U1
  • Seen in changed from Unspecified to 11.0-RC

#4 Updated by William Grzybowski over 1 year ago

  • Status changed from Screened to Unscreened
  • Assignee changed from William Grzybowski to Kris Moore

Load-balancing

#5 Avatar?id=14398&size=24x24 Updated by Kris Moore over 1 year ago

  • Assignee changed from Kris Moore to Suraj Ravichandran
  • Target version changed from 11.0-U1 to 11.1

#6 Updated by Suraj Ravichandran over 1 year ago

  • Status changed from Unscreened to Screened

#7 Updated by Dru Lavigne about 1 year ago

  • Assignee changed from Suraj Ravichandran to William Grzybowski

William: please load balance between Vladimir and Nikola.

#8 Updated by William Grzybowski about 1 year ago

  • Status changed from Screened to Unscreened
  • Assignee changed from William Grzybowski to Nikola Gigic

Nikola, I think this is something you can work on.

Thanks!

#9 Updated by Nikola Gigic about 1 year ago

  • Status changed from Unscreened to Screened

#10 Updated by Nikola Gigic about 1 year ago

  • Status changed from Screened to Needs Developer Review

#11 Updated by William Grzybowski about 1 year ago

  • Status changed from Needs Developer Review to Reviewed by Developer

#12 Updated by Nikola Gigic about 1 year ago

  • Status changed from Reviewed by Developer to Ready For Release

#13 Updated by William Grzybowski about 1 year ago

  • Target version changed from 11.1 to 11.1-BETA1

#14 Updated by Dru Lavigne about 1 year ago

  • Subject changed from Infinite Folder Replication to Prevent infinite folder replication within home direcotry
  • Private changed from Yes to No

#15 Updated by Dru Lavigne about 1 year ago

  • File deleted (debug-freenas-20170512150117.txz)

#16 Updated by Dru Lavigne 12 months ago

  • Subject changed from Prevent infinite folder replication within home direcotry to Prevent infinite folder replication within home directory

#17 Updated by Dru Lavigne 12 months ago

  • Status changed from Ready For Release to Resolved

#18 Updated by Bonnie Follweiler 11 months ago

  • Needs QA changed from Yes to No
  • QA Status Test Passes FreeNAS added
  • QA Status deleted (Not Tested)

Also available in: Atom PDF