他们做了什么“权限33279”意思? [英] what the heck does "permissions 33279" mean?

查看:126
本文介绍了他们做了什么“权限33279”意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想让用户有能力从简单的界面编辑文件,所以

我创建一个表单和一个名为fileUpdate的PHP脚本。对于错误检查,它确实是合理的,并打印出一些错误。它使用

fileperms()来获取文件的权限,并在任何错误消息中包含

信息。今天我收到以下错误

消息。我已经使用SmartFtp进入并将测试文件的'

权限设置为777,但在此错误消息中我被告知

权限真的是33279.那是什么意思?


=========================== =========

错误:在fileUpdate()中,我们想打开文件

''ppArrangementsAdmin / editimageInfoForm.php''所以我们可以编辑它,但我们

无法打开它。它的权限设置为''33279''

I want to give users the power to edit files from an easy interface, so
I create a form and a PHP script called "fileUpdate". It does a
reasonable about of error checking and prints out some errors. It uses
fileperms() to get the permissions of the file, and it includes that
info in any error message. Today I''m getting the following error
message. I''ve used SmartFtp to go in and set the test file''s
permissions to 777, but in this error message I''m being told that
permissions are really 33279. What the heck does that mean?

====================================
Error: In fileUpdate(), we wanted to open the file
''ppArrangementsAdmin/editimageInfoForm.php'' so we could edit it, but we
were not able to open it. It''s permissions were set to ''33279''

推荐答案

lk ****** @ geocities.com 写道:
...它使用
fileperms()来获取权限该文件,它包含任何错误消息中的信息......
......我被告知
权限真的是33279.这到底意味着什么?
... It uses
fileperms() to get the permissions of the file, and it includes that
info in any error message...
... I''m being told that
permissions are really 33279. What the heck does that mean?




33279(十进制)= 100777(八进制)


我不知道1在那做什么。

也许你最好使用其中一个例子

http://www.php.net/fileperms

-

邮寄到我的来自:所有人都可以在 http://www.dodgeit 上阅读地址

== ** ## !! ------------------------------------------------ !! ## ** ==

TEXT-ONLY邮寄给整个回复:地址(我的姓名< my @ address>)

可以绕过我的垃圾邮件过滤器。如果有,我可以从另一个地址回复!



33279 (decimal) = 100777 (octal)

I have no idea what that 1 is doing there.
Maybe you would be better off using one of the examples at

http://www.php.net/fileperms

--
Mail to my "From:" address is readable by all at http://www.dodgeit.com/
== ** ## !! ------------------------------------------------ !! ## ** ==
TEXT-ONLY mail to the whole "Reply-To:" address ("My Name" <my@address>)
may bypass my spam filter. If it does, I may reply from another address!


>> ...它使用
>> ... It uses
fileperms()来获取文件的权限,并在任何错误消息中包含
信息...
......我被告知
权限真的是33279.这是什么意思?
fileperms() to get the permissions of the file, and it includes that
info in any error message...
... I''m being told that
permissions are really 33279. What the heck does that mean?



33279(十进制)= 100777(八进制)

我不知道1在那里做了什么。



33279 (decimal) = 100777 (octal)

I have no idea what that 1 is doing there.




文件权限的高位,你无法改变
带chmod的
,通常表示文件的类型(常规文件,

目录,套接字,符号链接,命名管道等)。


Gordon L. Burditt



The upper bits of the file permissions, which you cannot change
with chmod, typically indicate the type of the file (regular file,
directory, socket, symlink, named pipe, etc. ).

Gordon L. Burditt


如何询问RedHat Linux盒子它的权限是什么意思?没有

等等,也许这不是问题。文件错误吗?我的FTP

客户端说权限只是777.但PHP无法更改

文件。

How do I ask a RedHat Linux box what the hell its permissions mean? No
wait, maybe that is not the problem. Is fileperms ever wrong? My FTP
client says the permissions are simply 777. But PHP cannot change the
file.


这篇关于他们做了什么“权限33279”意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆