[LU-15952] man page of lfs project is a bit misleading when clearing prjid on top directory Created: 16/Jun/22 Updated: 11/Jul/22 Resolved: 11/Jul/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.16.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Feng Lei | Assignee: | Feng Lei |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
The man page of lfs project -C states, SYNOPSIS
...
lfs project -C [-r|-k] <file|directory...>
Clear the project inherit flag and ID on the file(s) or directories
-C Clear inherit attribute, project ID will be reset to be 0 in default
-k keep the project ID unchanged.
Actually there are 3 options to specify the recursion behavior:
-d process only the top directory -r process the top directory and all its desendants recursively if neither -d nor -r is specified, process the top directory and its immediate children Need to make the man page clear to users. |
| Comments |
| Comment by Gerrit Updater [ 16/Jun/22 ] |
|
"Feng, Lei <flei@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47641 |
| Comment by Gerrit Updater [ 11/Jul/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47641/ |
| Comment by Peter Jones [ 11/Jul/22 ] |
|
Landed for 2.16 |