projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e1de34c
)
Don't fiddle with the modes with the -R flag...
author
Kevin Layer
<layer@ucbvax.Berkeley.EDU>
Thu, 29 Mar 1984 12:02:45 +0000
(
04:02
-0800)
committer
Kevin Layer
<layer@ucbvax.Berkeley.EDU>
Thu, 29 Mar 1984 12:02:45 +0000
(
04:02
-0800)
SCCS-vsn: bin/chmod/chmod.c 4.2
usr/src/bin/chmod/chmod.c
patch
|
blob
|
blame
|
history
diff --git
a/usr/src/bin/chmod/chmod.c
b/usr/src/bin/chmod/chmod.c
index
28f08c5
..
d945b41
100644
(file)
--- a/
usr/src/bin/chmod/chmod.c
+++ b/
usr/src/bin/chmod/chmod.c
@@
-1,4
+1,4
@@
-static char *sccsid = "@(#)chmod.c 4.
1
%G%";
+static char *sccsid = "@(#)chmod.c 4.
2
%G%";
/*
* chmod options mode files
/*
* chmod options mode files
@@
-144,8
+144,6
@@
unsigned nm;
exit(255);
}
ret:
exit(255);
}
ret:
- if ((savem & S_IFDIR) || (savem & S_IEXEC))
- nm = nm | ((nm & 0444) >> 2);
return(nm);
}
return(nm);
}