-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
Hello,
When we index using -u option their will not have any stats for my specific user if my user is not the owner of the first level directory
Now If we index duc-test for user1 we get nothing 1 dir but no files
duc index -vp /tmp/duc-test/ -u user1 -d user1.db
Writing to database "user1.db"
Indexed 0 files and 1 directories, (0B apparent, 0B actual) in 0.00 secs.
But if we index starting at the rootsubdir level for user1 we will get the data because in that specific folder user1 is the owner of 1 dir.
duc-test/
├── dir1 # root is owner of this dir, but user1 as access
│ └── user1 # user1 is the ownr of this dir
│ └── rootsubdir # root is the owner of this dir, but user1 as access
│ └── user1 # user1 is the owner of this dir
│ └── etc.tar
└── dir2
The expected behavior would be to traverse all directory and capture user1 file usage wether or not they own a directory ? Is it the expected behavior ?
This has been seen with 1.4.4 1.4.5 and 1.5.0.rc1
duc --version
duc version: 1.5.0-rc1
options: cairo x11 ui tkrzw
Best,
Guillaume
Metadata
Metadata
Assignees
Labels
No labels