Hi all, I suspect I am having permissions problems with overlayfs.
1. created a file (as root)
2. ls -l <file>
3. confirmed the file is owned by root
4. ran unshare -r <some executable> - output indicates file as being owned by nobody or 65534 even though ls -l confirms it is owned by root
5. ls -l <file> still shows file is owned by root
Lastly, I confirmed in /rw/<path-to-file> that the permissions are the same as the file I created. Why is unshare seeing different permissions and how do I see what it sees?
Question
walterw
Hi all, I suspect I am having permissions problems with overlayfs.
1. created a file (as root)
2. ls -l <file>
3. confirmed the file is owned by root
4. ran unshare -r <some executable> - output indicates file as being owned by nobody or 65534 even though ls -l confirms it is owned by root
5. ls -l <file> still shows file is owned by root
Lastly, I confirmed in /rw/<path-to-file> that the permissions are the same as the file I created. Why is unshare seeing different permissions and how do I see what it sees?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts