geditor 이미지업로드에서 data디렉토리의 707퍼미션 변경이라는 메세지. 정보
geditor 이미지업로드에서 data디렉토리의 707퍼미션 변경이라는 메세지.본문
geditor에서 이미지를 업로드시 "data 디렉토리의 퍼미션을 707로 변경해주세요" 라는 메세지가 뜹니다.
chmod -R 707 data 그리고
chown -R nobody.nobody data 해서 모두 nobody에 707퍼미션을 주었습니다.
그런데 geditor/upload.php 파일에서
71line인 if (!is_writable($path))에서 문제를 일으키네요...ㅡ_ㅡ
그래서 혹시나 cheditor를 사용해 보니 cheditor는 문제 없이 data디렉토리에 이미지 업로드를 하구요.
거참 분명히 707퍼미션을 주었는데 뭐가 문제 일까요....ㅜ_ㅜ
아래는 퍼미션 변경된 부분입니다...
고수님들의 많은 조언 부탁드립니다...ㅠ_ㅠ
chmod -R 707 data 그리고
chown -R nobody.nobody data 해서 모두 nobody에 707퍼미션을 주었습니다.
그런데 geditor/upload.php 파일에서
71line인 if (!is_writable($path))에서 문제를 일으키네요...ㅡ_ㅡ
그래서 혹시나 cheditor를 사용해 보니 cheditor는 문제 없이 data디렉토리에 이미지 업로드를 하구요.
거참 분명히 707퍼미션을 주었는데 뭐가 문제 일까요....ㅜ_ㅜ
아래는 퍼미션 변경된 부분입니다...
고수님들의 많은 조언 부탁드립니다...ㅠ_ㅠ

댓글 전체

퍼미션을 777 로 주고 해보세요.
퍼미션을 777로 주어도 마찬가지네요...ㅜ_ㅜ
nobody에 707퍼미션인데...
if (!is_writable($path)) 에서 걸리는 건지...ㅡ_ㅡa
nobody에 707퍼미션인데...
if (!is_writable($path)) 에서 걸리는 건지...ㅡ_ㅡa
계정에 대한 권한을 주어야 할 것 같은대요
chown subsite.subsite geditor
chmod 755 geditor 또는 chmod 707 geditor
chown subsite.subsite geditor
chmod 755 geditor 또는 chmod 707 geditor
답변 감사드립니다...
말씀하신대로
chown subsite.subsite geditor
chmod 755 geditor 또는 chmod 707 geditor
해주였지만 여전히 같은 메세지가 뜨네요...ㅜ_ㅜ
if (!is_writable($path)) 를 통과 못하는듯 합니다...
말씀하신대로
chown subsite.subsite geditor
chmod 755 geditor 또는 chmod 707 geditor
해주였지만 여전히 같은 메세지가 뜨네요...ㅜ_ㅜ
if (!is_writable($path)) 를 통과 못하는듯 합니다...
혹시 geditor/upload.php파일에서
8번째줄에 보면
$path = "$g4[path]/data/$g4[geditor]"; 이렇게 되어 있는대
다르게 되어 있나요??
그누보드가 cheditor는 config에서 패스를 지정해서
아마 정상적으로 될텐데 예전 버진일 경우에는 없어서
config에서 설정을 해주어야 할 것입니다.
config.php에서 geditor 패스설정이 되어 있는지 확인해 보세요.
다음은 그누보드 최신버전의 config.php에 있는 14~21번째줄 내용입니다.
$g4['editor'] = "cheditor";
$g4['editor_path'] = $g4['path'] . "/" . $g4['editor'];
$g4['cheditor4'] = "cheditor4";
$g4['cheditor4_path'] = $g4['path'] . "/" . $g4['cheditor4'];
$g4['geditor'] = "geditor";
$g4['geditor_path'] = $g4['path'] . "/" . $g4['geditor'];
8번째줄에 보면
$path = "$g4[path]/data/$g4[geditor]"; 이렇게 되어 있는대
다르게 되어 있나요??
그누보드가 cheditor는 config에서 패스를 지정해서
아마 정상적으로 될텐데 예전 버진일 경우에는 없어서
config에서 설정을 해주어야 할 것입니다.
config.php에서 geditor 패스설정이 되어 있는지 확인해 보세요.
다음은 그누보드 최신버전의 config.php에 있는 14~21번째줄 내용입니다.
$g4['editor'] = "cheditor";
$g4['editor_path'] = $g4['path'] . "/" . $g4['editor'];
$g4['cheditor4'] = "cheditor4";
$g4['cheditor4_path'] = $g4['path'] . "/" . $g4['cheditor4'];
$g4['geditor'] = "geditor";
$g4['geditor_path'] = $g4['path'] . "/" . $g4['geditor'];
답변 감사합니다...
$path = "$g4[path]/data/$g4[geditor]"; 이 부분이 틀리네요...
제가 예전 버변을 쓰고 있었네요....^ ^
감사합니다...
덕분에 수정을 할수 있었습니다...
$path = "$g4[path]/data/$g4[geditor]"; 이 부분이 틀리네요...
제가 예전 버변을 쓰고 있었네요....^ ^
감사합니다...
덕분에 수정을 할수 있었습니다...