Ticket #9947

File uploading permission
오픈 날짜: 2007-02-14 16:20 마지막 업데이트: 2007-02-16 16:49

Reporter:
소유자:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None

Details

Refer this topic.

http://www.xugj.org/modules/QandA/index.php?topic_id=118

My patch should be ...

$prev_mask = @umask( 0022 ) ;
$ret = move_uploaded_file($this->_mTmpFileName,$dest);
@umask( $prev_mask ) ;
@chmod( $dest , 0644 ) ;
return $ret ;

Ticket History (3/3 Histories)

2007-02-16 14:28 Updated by: minahito
  • 소유자 Update from (None) to minahito
  • Resolution Update from None to Accepted
2007-02-16 15:09 Updated by: minahito
  • Resolution Update from Accepted to Fixed
댓글 올리기
Logged In: YES
user_id=8353

I took your patch and commit it. Thank you very much!
New code needs to confirm whether we have fixed the trouble.
2007-02-16 16:49 Updated by: minahito
  • Ticket Close date is changed to 2007-02-16 16:49
  • Status Update from Open to Closed
댓글 올리기
Logged In: YES
user_id=8353

Sorry, toplan alread confirmed bugfix. Let's close this
item! Thanks.

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login