|
[
Permlink
| « Hide
]
Hemanth Yamijala added a comment - 15/Aug/08 01:29 AM
+1. When working on HOD, it seemed like this would be very useful in some cases where we wanted shared space for all users.
We just had a user wipe out /tmp.
When are we getting this capability? To keep Unix-like semantics, it seems reasonable to be able to set the sticky bit on a file (compared to a directory), but that doing so will have no effect on the file. Unless anyone has a good reason to deviate?
+1 with the caveat that we heavily document the meaning of sticky bit for files. Here's an initial patch for review. This includes the sticky bit implementation and unit tests. I still need to go through the user documentation and update that; I'll do that now and update the patch shortly with just the documentation changes.
Updated user docs and shell help. Ready for review.
patch looks good to me. Only one nit: FsPermission.set(FsAction u, FsAction g, FsAction o) is not useful anymore, please remove it.
Updated with Nicholas' suggestions.
[exec] +1 overall.
[exec]
[exec] +1 @author. The patch does not contain any @author tags.
[exec]
[exec] +1 tests included. The patch appears to include 8 new or modified tests.
[exec]
[exec] +1 javadoc. The javadoc tool did not generate any warning messages.
[exec]
[exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings.
[exec]
[exec] +1 findbugs. The patch does not introduce any new Findbugs warnings.
[exec]
[exec] +1 Eclipse classpath. The patch retains Eclipse classpath integrity.
Sorry for not seeing these problems in my previous review.
+1 patch looks good.
Please post the local unit test results when they are ready. All local unit tests passed except the known-failure documented in
I just committed this. Thanks, Jakob!
This needs release note. Please fill it out. Jakob, release notes sounds much scarier than it should be. Just selecting an incompatible flag is enough, I think.
Editorial pass over all release notes prior to publication of 0.21.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||