miladmovie
Active Member
دستور یا کدی هست که بشه chmod فایل رو از اون گرفت ؟
<%
$file = "blah blah blah" ;
clearstatcache() ;
$status = stat($file) ;
print decoct($status['mode']) ;
%>
if (!chmod(file_name,0777))
die('Aborting cause <B>'.$filename.'</B> could not be set to CHMOD 0777');
و شما هم مثل همیشه جواب همه چی رو داریmazoolagh گفت:سوالي كه شما بپرسي معلومه خيلي اساسيه
هم اينكه قابلي نداشت - هم متشكر از اينكه لطف كردي روي سرور لينوكس هم امتحان كرديmiladmovie گفت:ممنون روی لینوکس هم درست کار کرد
پراموند این موضوع در مورد سطح دسترسی به فایل ها است که بیشتر توی لینوکس معنی می ده (http://www.comptechdoc.org/os/linux...x_ugfilesp.html)
01000000 temporary file
02000000 compressed file
04000000 sparse file
4000 Hidden file (setuid bit)
2000 System file (setgid bit)
1000 Archive bit (sticky bit)
0400 Individual read
0200 Individual write
0100 Individual execute (or list directory)
0040 Group read
0020 Group write
0010 Group execute
0004 Other read
0002 Other write
0001 Other execute
ady_constantine گفت:ببخشید دیر پاسخ دادم :
اینم تفسیرش در ویندوز
کد:01000000 temporary file 02000000 compressed file 04000000 sparse file 4000 Hidden file (setuid bit) 2000 System file (setgid bit) 1000 Archive bit (sticky bit) 0400 Individual read 0200 Individual write 0100 Individual execute (or list directory) 0040 Group read 0020 Group write 0010 Group execute 0004 Other read 0002 Other write 0001 Other execute