 鲜花( 0)  鸡蛋( 0)
|
权限这个问题一直困扰着杰色,我试过多种方式解压,但是同样存在这种情况,和技术人员也谈过这个问题,但还是不行,非得我们一个一个传文件(当然对于一些程序不存在这个问题,比如UCHome,我也不知道为什么)。
& o# G8 n& W5 [( w! }$ K3 r8 h6 F7 r9 y; D: \! B9 u: N8 ?% w1 \: j
使用过iPage空间自带解压功能的朋友们可能深有体会,好辛苦把一个几百兆的ZIP打包文件传上去,可一使用了解压功能后发现或多或少有点问题,例如不能安装,无法识别文件等等。
! H2 e F2 U/ c6 f- g2 {. \6 G/ O
7 c$ }1 Q& y9 @对于这种情况,我们只能等解压好后通过FTP将文件夹权限设置成755,对于文件可以设置成755或者644,只有这样才能够正常安装和使用(烦躁啊,一直烦躁着)。
z/ G, j8 S$ m% I8 G6 W0 g4 [7 z
若朋友您的安装程序小或者文件个数少,建立你使用FTP直接传,不要打包解压,这样就避免了设置755权限,麻烦事可以少很多。
4 h/ d6 y: G8 y) ]$ x1 F- }5 T& C9 Z4 L9 M2 x3 b4 N
下面我附上和技术人员在Live Chat上的交谈记录:8 f# n, ~9 [1 }4 U
6 L% z8 |8 v& O1 e" R. ~+ HILoveHost.Com: I have another question,why do we always have to set the permissions to run the program?9 v' e* l3 d, |, X2 K
Harriet Anderson: To run PHP scripts, the folder permissions should be 755.* G$ m1 e; s) A3 A! v4 O9 l
ILoveHost.Com: yes,when I use”Archive Gateway” to unzip document,i have to set the permissions,it’s so perplexed.; U* r; Y, q1 u# S I
Harriet Anderson: Oh. Okay.0 {$ O3 O! e4 R6 g: O, M
Harriet Anderson: Can you please let me know the permission that you have set?
6 {) ~9 O1 O* r, U; C2 l& TILoveHost.Com: set 755
& P$ Y( J2 Q9 g; ^9 fHarriet Anderson: Okay.% o$ s' k# X- S: t" y' Z
ILoveHost.Com: i have to set the permissions 755 one by one.6 u" w4 M$ R4 {: P2 W
Harriet Anderson: Yes, the default folder permission is 755.
1 P! u0 ?* q6 A' bILoveHost.Com: When i use the hosting feeling slowly,can you help me to change the servers?/ l; s; o. m- Z
Harriet Anderson: Sorry for the typo* The default permission of the folder is 755.
: d0 b% W6 W. ^3 g6 P& p: VILoveHost.Com: Set the permission 755 only folder,not all of file?
' s( w) x9 u$ D- _5 ?. q* _Harriet Anderson: You can set the file permissions to 755 or 644.
( ~( b; l6 }+ O+ W" o& x5 CILoveHost.Com: OK$ v; w, m& i" W2 i6 k& u$ R6 Z/ l( ~6 p
原文地址:美国主机评测网 http://www.ilovehost.com/?p=151 |
|