Bug 5812 - File information should include permissions, owner and group
Summary: File information should include permissions, owner and group
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium enhancement
Target Milestone: 1.6 M5
Assignee: Alexandru Damian
QA Contact: Mihail Stanciu
URL:
Whiteboard: GUI; needs data completion test
Depends on:
Blocks:
 
Reported: 2014-02-11 12:47 UTC by Belen Barros Pena
Modified: 2014-07-25 13:05 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Belen Barros Pena 2014-02-11 12:47:34 UTC
We need to store permissions, owner and group information for each file in the Toaster database, like build history does in files-in-image.txt, in order to show them in the directory structure page. See 

http://www.yoctoproject.org/toaster/image-information-dir.html
Comment 1 Dave Lerner 2014-02-15 15:40:51 UTC
Some related additional constraints and missing image information include:
1) the 'linked-to' entry for sym-linked directories and files,
2) either the actual resolved user name and group name or else a tables that resolve user-id's and group-id's to user names and group names,
3) the same data for directories as well as files - the  Package_File model only has files and not directories.
Comment 2 Dave Lerner 2014-02-17 20:46:40 UTC
More additional fields required by the spec:
inode type - regular, directory, symlink, socket, fifo, character, block, symblink

A field that is needed for an efficient view query:
parent_directory_path
Comment 3 Alexandru Damian 2014-02-20 11:51:03 UTC
Table added. Needs data completion test.
Comment 4 Alexandru Damian 2014-03-11 12:47:17 UTC
Database schema merged into origin/master
Comment 5 Belen Barros Pena 2014-04-23 16:59:06 UTC
The 1.6 version of the image directory structure page contains this information, so marking this one as resolved.
Comment 6 Mihail Stanciu 2014-07-25 13:05:13 UTC
Verified.