[lfs-support] Changing the ownership
Hi, I'm working on LFS-7.2, I successfully compiled the packages until XZ-5.0.4 and I did stripping, then in Changing the ownership I checked the permissions of tools directory as lfs user and host user then I switched back to the root user and I executed this command *sudo chown -R root:root $LFS/tools*, but after executing it the permission remains same. I would like to know the exact permission of the tools directory. Could someone assist me in this. With Regards... PRABHU :) -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Changing the ownership
Le 08/04/2013 18:10, Prabhu a écrit : Hi, I'm working on LFS-7.2, I successfully compiled the packages until XZ-5.0.4 and I did stripping, then in Changing the ownership I checked the permissions of tools directory as lfs user and host user then I switched back to the root user and I executed this command *sudo chown -R root:root $LFS/tools*, but after executing it the permission remains same. I would like to know the exact permission of the tools directory. Could someone assist me in this. With Regards... PRABHU :) check LFS: echo $LFS -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Changing the ownership
Fra: lfs-support-boun...@linuxfromscratch.org [mailto:lfs-support-boun...@linuxfromscratch.org] På vegne af Prabhu Sendt: 8. april 2013 18:11 Til: lfs-support@linuxfromscratch.org Emne: [lfs-support] Changing the ownership Hi, I'm working on LFS-7.2, I successfully compiled the packages until XZ-5.0.4 and I did stripping, then in Changing the ownership I checked the permissions of tools directory as lfs user and host user then I switched back to the root user and I executed this command sudo chown -R root:root $LFS/tools, but after executing it the permission remains same. I would like to know the exact permission of the tools directory. Could someone assist me in this. With Regards... PRABHU :) Hi PRABU, You dont have to use SUDO here the exact command is given in the book: chown -R root:root $LFS/tools Execute this command while you are still the lfs user even thougt you dont have root privilegedes, you can still give away your own files and folders to another user. Greetings Niels -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Changing the ownership
On 04/08/2013 08:22 PM, Niels Terp wrote: *Fra:*lfs-support-boun...@linuxfromscratch.org [mailto:lfs-support-boun...@linuxfromscratch.org] *På vegne af *Prabhu *Sendt:* 8. april 2013 18:11 *Til:* lfs-support@linuxfromscratch.org *Emne:* [lfs-support] Changing the ownership Hi, I'm working on LFS-7.2, I successfully compiled the packages until XZ-5.0.4 and I did stripping, then in Changing the ownership I checked the permissions of tools directory as lfs user and host user then I switched back to the root user and I executed this command *sudo chown -R root:root $LFS/tools*, but after executing it the permission remains same. I would like to know the exact permission of the tools directory. Could someone assist me in this. With Regards... PRABHU :) Hi PRABU, You don’t have to use SUDO here – the exact command is given in the book: *chown -R root:root $LFS/tools* Execute this command while you are still the ‘lfs’ user – even thougt you don’t have root privilegedes, you can still “give away” your own files and folders to another user. Greetings Niels AFAIK on Linux only root can use chown for changing ownership of a file, but any user can change the group to another group he belongs to. The command probably failed because PRABHU executed that with sudo while beeing root. Thanos -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page