Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60435
b: refs/heads/master
c: 5b37696
h: refs/heads/master
i:
  60433: 080aa0b
  60431: eab3fc0
v: v3
  • Loading branch information
Satyam Sharma authored and Linus Torvalds committed Jul 16, 2007
1 parent c48f43a commit 966772d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9793c3266755b4cae8915982825b2c07cd12e1c6
refs/heads/master: 5b37696fda07b8acf37beba3853f83106397ccdf
2 changes: 1 addition & 1 deletion trunk/fs/utimes.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ long do_utimes(int dfd, char __user *filename, struct timespec *times, int flags
if (IS_IMMUTABLE(inode))
goto dput_and_out;

if (current->fsuid != inode->i_uid) {
if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER)) {
if (f) {
if (!(f->f_mode & FMODE_WRITE))
goto dput_and_out;
Expand Down

0 comments on commit 966772d

Please sign in to comment.