View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008120 | mantisbt | installation | public | 2007-07-03 00:29 | 2007-10-04 01:40 |
Reporter | kho | Assigned To | vboctor | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | CentOS | OS Version | 4.5 |
Product Version | 1.0.8 | ||||
Target Version | 1.0.9 | Fixed in Version | 1.1.0a4 | ||
Summary | 0008120: all the files and directories has permission 777 in mantis-1.0.8.tar.gz | ||||
Description | I have downloaded mantis-1.0.8.tar.gz and after expanding it, all the files and directories have permission 777. I think this started on mantis-1.0.7.tar.gz and could be a security risk. The way I expanded the archive is "zcat mantis-1.0.8.tar.gz | tar xf -" | ||||
Tags | No tags attached. | ||||
Victor, could you look into this? Paul |
|
I verified that 1.0.6 had proper permissions on (almost) all files. Fedora users are not affected as the permissions are fixed during package build, but that's something we should fix for 1.0.9. |
|
I do the packaging in Windows, what do I have to do to make sure that when the archive is expanded it comes out as 644 and 755. I used 7zip to create the last two archives, can it be the cause? Before that I used to use Total Commander (I think). |
|
I don't know how to use the Windows tools to do the job. What you can do to check the results, is to install MSYS from: http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=82721&release_id=158803 and using a command like: tar tvzf mantisbt-1.0.8.tar.gz once installed MSYS, you could also choose to create packages there with something like: tar cvzf mantisbt-1.0.8.tar.gz mantisbt-1.0.8 |
|
You should avoid creating TAR archives on Windows, since this doesn't support Unix file permissions. However there may be the possibility to use the command line option "--mode" of GTAR, which you could also use on Windows. But it would be better to create the archives on a native Unix environment. If I shall help you with this - I have access to a Linux account. |
|
Would tar within cygwin help? I tried it out and it seems to keep the mode set to a sane setting. |
|
to DGtlRift: Yes, I believe that is a viable alternative in Windows, mush like the MSYS solution |
|
Did you guys get a chance to try the permissions on 1.1.0a4? I've used Total Commander, which I used to use for older release. The reason I stopped using it was that it was generating tar files that some extractors were complaining about. |
|
Yes, the new archive attributes look reasonable - there are no execute bits set, so you might also use your Total Commander version again. |
|