[M3devel] About permissions on sources in the case of sources with permissions for owner only

Daniel Alejandro Benavides D. dabenavidesd at yahoo.es
Wed Oct 17 15:51:26 CEST 2007


Hi:
I got a commentary about files produced by the compiler and the files exported to the repository (ship)
When compiling a package (bilist present on directory list of http://users.informatik.uni-halle.de/~thielema/Research/datastruct.tar.bz2
) that has read and write permissions only for the owner
I got files in LINUXLIBC6 that are readable for the group and other users.
But when shipped on the 'src' directory they 're just readable for the owner (root).
The 'LINUXLIBC6' directory has well defned permissions on the repository.
As a result I can't read it on the repository if I do not modify the flags of the files.
Programs like m3browser complains about that, also another package compile that needs bilist would fail if not root: 

BiList.ig is contained in: 
   bilist/LINUXLIBC6/libbilist.a: bilist/src/BiList.ig 
  unable to open /usr/local/cm3-cvs4/pkg/bilist/src/BiList.ig

danielb at danielb-desktop:~/code/m3/datastruct/datastruct/list/bilist$ ls -al src/*
-rw------- 1 danielb danielb 1982 Sep 23  2003 src/BiList.ig
-rw------- 1 danielb danielb 8381 Oct 17  2003 src/BiList.mg
-rw------- 1 danielb danielb  488 Sep 23  2003 src/bilist.tmpl
-rw------- 1 danielb danielb  185 Sep 23  2003 src/m3makefile
-rw------- 1 danielb danielb   38 Sep  5  2005 src/m3overrides

danielb at danielb-desktop:~/code/m3/datastruct/datastruct/list/bilist$ ls -al LINUXLIBC6/*
-rw-r--r-- 1 danielb danielb     80 Oct 17 09:17 LINUXLIBC6/AtomBiList.i3
-rw-r--r-- 1 danielb danielb   6064 Oct 17 09:17 LINUXLIBC6/AtomBiList.io
-rw-r--r-- 1 danielb danielb     77 Oct 17 09:17 LINUXLIBC6/AtomBiList.m3
-rw-r--r-- 1 danielb danielb  33056 Oct 17 09:17 LINUXLIBC6/AtomBiList.mo
-rw-r--r-- 1 danielb danielb     81 Oct 17 09:17 LINUXLIBC6/IntBiList.i3
-rw-r--r-- 1 danielb danielb   5968 Oct 17 09:17 LINUXLIBC6/IntBiList.io
-rw-r--r-- 1 danielb danielb     78 Oct 17 09:17 LINUXLIBC6/IntBiList.m3
-rw-r--r-- 1 danielb danielb  32660 Oct 17 09:17 LINUXLIBC6/IntBiList.mo
-rw-r--r-- 1 danielb danielb     80 Oct 17 09:17 LINUXLIBC6/RefBiList.i3
-rw-r--r-- 1 danielb danielb   6028 Oct 17 09:17 LINUXLIBC6/RefBiList.io
-rw-r--r-- 1 danielb danielb     77 Oct 17 09:17 LINUXLIBC6/RefBiList.m3
-rw-r--r-- 1 danielb danielb  32992 Oct 17 09:17 LINUXLIBC6/RefBiList.mo
-rw-r--r-- 1 danielb danielb     80 Oct 17 09:17 LINUXLIBC6/TextBiList.i3
-rw-r--r-- 1 danielb danielb   6032 Oct 17 09:17 LINUXLIBC6/TextBiList.io
-rw-r--r-- 1 danielb danielb     77 Oct 17 09:17 LINUXLIBC6/TextBiList.m3
-rw-r--r-- 1 danielb danielb  33056 Oct 17 09:17 LINUXLIBC6/TextBiList.mo
-rw-r--r-- 1 danielb danielb 159308 Oct 17 09:17 LINUXLIBC6/libbilist.a
-rw-r--r-- 1 danielb danielb   4592 Oct 17 09:17 LINUXLIBC6/libbilist.m3x
lrwxrwxrwx 1 danielb danielb     14 Oct 17 09:17 LINUXLIBC6/libbilist.so -> libbilist.so.5
-rwxr-xr-x 1 danielb danielb 141021 Oct 17 09:17 LINUXLIBC6/libbilist.so.5 

ls -al /usr/local/cm3-cvs4/pkg/bilist/*

/usr/local/cm3-cvs4/pkg/bilist/LINUXLIBC6:
total 372
drwxr-xr-x 2 root root   4096 Oct 17 09:18 .
drwxr-xr-x 4 root root   4096 Oct 17 09:18 ..
-rw-r--r-- 1 root root    867 Oct 17 09:17 .M3EXPORTS
-rw-r--r-- 1 root root  15654 Oct 17 09:17 .M3WEB
-rw-r--r-- 1 root root     80 Oct 17 09:17 AtomBiList.i3
-rw-r--r-- 1 root root     77 Oct 17 09:17 AtomBiList.m3
-rw-r--r-- 1 root root     81 Oct 17 09:17 IntBiList.i3
-rw-r--r-- 1 root root     78 Oct 17 09:17 IntBiList.m3
-rw-r--r-- 1 root root     80 Oct 17 09:17 RefBiList.i3
-rw-r--r-- 1 root root     77 Oct 17 09:17 RefBiList.m3
-rw-r--r-- 1 root root     80 Oct 17 09:17 TextBiList.i3
-rw-r--r-- 1 root root     77 Oct 17 09:17 TextBiList.m3
-rw-r--r-- 1 root root 159308 Oct 17 09:17 libbilist.a
-rw-r--r-- 1 root root   4592 Oct 17 09:17 libbilist.m3x
lrwxrwxrwx 1 root root     14 Oct 17 09:18 libbilist.so -> libbilist.so.5
-rwxr-xr-x 1 root root 141021 Oct 17 09:17 libbilist.so.5

/usr/local/cm3-cvs4/pkg/bilist/src:
total 28
drwxr-xr-x 2 root root 4096 Oct 17 09:18 .
drwxr-xr-x 4 root root 4096 Oct 17 09:18 ..
-rw------- 1 root root 1982 Sep 23  2003 BiList.ig
-rw------- 1 root root 8381 Oct 17  2003 BiList.mg
-rw------- 1 root root  488 Sep 23  2003 bilist.tmpl
danielb at danielb-desktop:~/code/m3/datastruct/datastruct/list$ 




       
---------------------------------

Sé un Mejor Amante del Cine
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20071017/d18c17b6/attachment-0001.html>


More information about the M3devel mailing list