27.01.2015 15:15, Erich Titl пишет: > Hi Andrew > > Am 27.01.2015 um 12:50 schrieb Andrew: >> 27.01.2015 02:07, Erich Titl пишет: > ... > >> SUDO doesn't use fakeroot AFAIK. It just raises privileges. >> >> fakeroot grants root-like privileges for file system (actions that can't >> be done to privileges restrictions are stored into fakeroot db file). So >> you can create file with root owner, create device file and so on, and >> this files will look for you like real ones - you can add them to >> archive (ad archive will contain right file attributes) and so on. But >> you can't hurt anything in your system. > Hopefully, I have not tried, nor am I going to, to do some file sysem > file manipulation using fakeroot. The drawback of this security scheme > is that we cannot create files owned by root. > You're wrong. You can create root-owned files - as long as access for them is done via fakeroot. So you should do all file operations with fakeroot - from creation till packaging. Then you'll have root-owned files intarball.
------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel