 鲜花( 0)  鸡蛋( 0)
|
权限这个问题一直困扰着杰色,我试过多种方式解压,但是同样存在这种情况,和技术人员也谈过这个问题,但还是不行,非得我们一个一个传文件(当然对于一些程序不存在这个问题,比如UCHome,我也不知道为什么)。
! ?7 d; l( H* C& i( Q4 t+ p6 ]1 P# e9 j* U0 }- Q; H! i2 p
使用过iPage空间自带解压功能的朋友们可能深有体会,好辛苦把一个几百兆的ZIP打包文件传上去,可一使用了解压功能后发现或多或少有点问题,例如不能安装,无法识别文件等等。) x7 d$ [5 z1 R* C0 V6 `
7 b! j5 N- B+ j) }; L9 U, _8 n9 b& M对于这种情况,我们只能等解压好后通过FTP将文件夹权限设置成755,对于文件可以设置成755或者644,只有这样才能够正常安装和使用(烦躁啊,一直烦躁着)。
* v( B9 i1 c6 r6 c2 v5 n, Y' `8 A' B/ m
若朋友您的安装程序小或者文件个数少,建立你使用FTP直接传,不要打包解压,这样就避免了设置755权限,麻烦事可以少很多。# T4 s$ @# ]- S" ~0 M6 k. I9 T9 `( @. q
- N5 v# @# v9 y, }1 y) L H9 ^下面我附上和技术人员在Live Chat上的交谈记录:
, }# b. J7 S$ g* y @1 a2 Z
5 y+ \( k+ m) \/ zILoveHost.Com: I have another question,why do we always have to set the permissions to run the program?3 ?- @0 ?9 i( Q1 R. P' D
Harriet Anderson: To run PHP scripts, the folder permissions should be 755.6 U# S+ b& k; i( i
ILoveHost.Com: yes,when I use”Archive Gateway” to unzip document,i have to set the permissions,it’s so perplexed.
4 t/ }7 d9 w" b' b. AHarriet Anderson: Oh. Okay.0 C4 P. d4 Z" ?& X. u0 w# W+ P
Harriet Anderson: Can you please let me know the permission that you have set?
0 e7 L6 ~, y( W* [0 eILoveHost.Com: set 7557 ]4 Q+ H% F" |" N! p# A; {) e
Harriet Anderson: Okay.
d0 Z3 Q6 y% X( {0 IILoveHost.Com: i have to set the permissions 755 one by one.* c' G5 O4 l7 ]: d
Harriet Anderson: Yes, the default folder permission is 755.0 ~3 F# ^% l* e1 h9 I. E0 C
ILoveHost.Com: When i use the hosting feeling slowly,can you help me to change the servers?
% ?5 Y* i G) W+ ]9 J9 k3 [Harriet Anderson: Sorry for the typo* The default permission of the folder is 755.
" W$ ^( ]3 u0 o) S: Q2 o; x. L! _ILoveHost.Com: Set the permission 755 only folder,not all of file?
0 s" {/ y# _' I2 PHarriet Anderson: You can set the file permissions to 755 or 644.( Q8 F- M# T1 ~& ?8 l
ILoveHost.Com: OK# h9 b! `9 i4 U' m' y, w: T. J( q
原文地址:美国主机评测网 http://www.ilovehost.com/?p=151 |
|