Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
Linux的安全设置,有时权限太宽松还不行……
deepin Talks
1275
views ·
2
replies ·
To
floor
Go
xliang9550
deepin
2014-09-11 07:12
Author
今天给实验室重装软件,设置的chmod -R 755权限,运行的时候报错“具有全局访问权限”,后来重新设成chmod -R 750才能正常运行。
再问一下除了tar以外,哪些类型的归档文件(压缩包)可以保存权限属性。我试过7z好像不行,不知zip怎样。
Reply
Like 0
Favorite
View the author
All Replies
Bluek404
deepin
2014-09-12 07:10
#1
压缩的话你得看这个算法第一个支持的平台是什么
一般都会支持比较好的
Reply
Like 0
View the author
xliang9550
deepin
2014-09-13 02:42
#2
我觉得主要不在压缩算法,而是封装格式(容器)。
比如,在Linux下面,最常用的容器是tar,它可以配合不同的压缩算法,比如gzip、bzip2乃至xz。
同样,zip也是封装格式,采用的压缩算法可以是经典的deflate,也可以是现在流行的lzma(在Windows下默认扩展名是zipx)。
类似地,多媒体文件的封装格式所对应的压缩算法的组合就更为复杂。
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Deepin 25.0.1 installation no desktop, Thinkpad T480
Popular Events
More
再问一下除了tar以外,哪些类型的归档文件(压缩包)可以保存权限属性。我试过7z好像不行,不知zip怎样。