This post is more than 5 years old

1 Rookie

 • 

9 Posts

3244

December 4th, 2017 09:00

Unity File Locking

Hello,

We're building a library of files that will be searchable and accessible through a web interface; we need to be able to lock files from being overwritten or deleted.  Is that something we can do via Unity (file system)?

The library will be built by us, we're just wondering if the file-locking is something Unity is capable of. Thanks

4 Operator

 • 

8.6K Posts

December 6th, 2017 07:00

to clarify - Unity does support the different file locking that are part of CIFS/SMB and NFSv3/v4 - but as designed in the protocol the client needs to request the locks - not the Unity as a server

4 Operator

 • 

8.6K Posts

December 6th, 2017 02:00

no - this needs to be done from the client

I would suggest to change file permissions / ACL's accordingly

Other creative option would be to edit the files on a read-write file system, create a readonly snapshot and share the snapshot to the web users

On VNX you could use File Level Retention (WORM) functionality - but thats currently not available on Unity

Top