Copy-on-write for develop
Benjamin M. Schwartz
bmschwar at fas.harvard.edu
Sat Jan 5 16:38:55 EST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jameson "Chema" Quinn wrote:
> Does anyone know if it is possible for Sugar to support something like
> this? That is, if it there's any way - either file-system-native or
> through some strap-on - to safely hand a link to a process so that
> (either magically or manually) it can replace the link with a local copy
> if needed, but it CANNOT modify the original file?
In the interest of simplicity, why not just use UNIX permissions and simple
editor logic?
The activity's files are all read-only to non-root. Just read them into the
editor. If the user makes a change, save it as a new file, with appropriate
permissions.
- --Ben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHf/jvUJT6e6HFtqQRAnYPAKCiyVMRO2rDe4siwawHHWVbJZ2cAgCfU/Zl
1HE75g3A511FFNRUMX64wCo=
=EoxS
-----END PGP SIGNATURE-----
More information about the Devel
mailing list