Hello,
I have got a problem with file permissions. When i untar a file, use
it, and after that remove the direcory i get the question: rm: remove
write-protected regular file X?
This is a lot of work for al the file's. How can i prevent this?
this is what i do:
cd /mnt/lfs/sources
tar -xvjf patch-2.5.4.tar.bz2
cd patch-2.5.4
./configure
make
make install
cd ..
rm -R patch-2.5.4
The partion is mounted in fstab with options: default
the owner of the partion /mnt/lfs is user lfs. He also is the owner of
the source directory of the tar file and the tar file itself. All with
mode 755.
When i untar the file the made direcory is also owned by lfs with 755.
But files within this directory are sometimes 444. I don't want to do a
chmod everytime.
Who can help?
Michiel
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page