 鲜花( 0)  鸡蛋( 0)
|
权限这个问题一直困扰着杰色,我试过多种方式解压,但是同样存在这种情况,和技术人员也谈过这个问题,但还是不行,非得我们一个一个传文件(当然对于一些程序不存在这个问题,比如UCHome,我也不知道为什么)。
% a- S8 w) p" t0 P; [$ r' i5 r. X# y+ J# w* |& l4 T' d) D
使用过iPage空间自带解压功能的朋友们可能深有体会,好辛苦把一个几百兆的ZIP打包文件传上去,可一使用了解压功能后发现或多或少有点问题,例如不能安装,无法识别文件等等。
$ z M& g! T8 P: Q3 J6 E: @6 ^; W9 }/ ]6 s# u
对于这种情况,我们只能等解压好后通过FTP将文件夹权限设置成755,对于文件可以设置成755或者644,只有这样才能够正常安装和使用(烦躁啊,一直烦躁着)。0 p6 }* w5 Q& R3 s. b) u
7 s" e& U( @% {2 w9 t/ R/ i8 n6 q
若朋友您的安装程序小或者文件个数少,建立你使用FTP直接传,不要打包解压,这样就避免了设置755权限,麻烦事可以少很多。4 ?$ o/ d) K; r) |7 l* H
8 {7 u! o6 p# G! k5 T( A下面我附上和技术人员在Live Chat上的交谈记录:
2 ^4 E# D# n% D, B* s% m( i6 `% i$ a5 P& G& S% m& h
ILoveHost.Com: I have another question,why do we always have to set the permissions to run the program?3 c, e1 j$ K9 E) v
Harriet Anderson: To run PHP scripts, the folder permissions should be 755.
/ y) j! o" @' ~* y) I. E; L/ S, `ILoveHost.Com: yes,when I use”Archive Gateway” to unzip document,i have to set the permissions,it’s so perplexed.
^7 J, a8 M( G3 j3 [- ZHarriet Anderson: Oh. Okay.
( S; j" Q/ C/ W- T: I& J( d AHarriet Anderson: Can you please let me know the permission that you have set?
( Q5 S. }* x; n" N5 NILoveHost.Com: set 755
! P4 D% ~2 j, \3 {Harriet Anderson: Okay.
! ~8 V; v- q+ W vILoveHost.Com: i have to set the permissions 755 one by one.. w( ?) Z- u9 [, a9 ^6 j2 ^# n2 z
Harriet Anderson: Yes, the default folder permission is 755.4 z; \. u) ?! m& J5 s
ILoveHost.Com: When i use the hosting feeling slowly,can you help me to change the servers?1 ?* y4 g' {; r, ~( X# z
Harriet Anderson: Sorry for the typo* The default permission of the folder is 755.3 z6 ^' {0 w0 T7 S
ILoveHost.Com: Set the permission 755 only folder,not all of file?
/ a1 D9 l G; Z. ], d6 U9 EHarriet Anderson: You can set the file permissions to 755 or 644.3 U7 T7 F* @* Y' f
ILoveHost.Com: OK% [* O K2 N" x7 w, T1 X9 D
原文地址:美国主机评测网 http://www.ilovehost.com/?p=151 |
|