티스토리 뷰

728x90
반응형

umask 부분에 주석이 처리 되어 있어서 업로드 권한이 없었다 
삽질했다.
폴더 권한 만 주구장창 바꿔보고...
왜안올라가나 하고 터미널 프로그램만 조지고 있었다
나의 사라진 1시간.....


Root 로그인 방법은
 /etc/ftpuser
파일을 열어 
#root 부에 #을 삭제 하고 저장
vsftpd 를 재시작 해주면 된다.
$systemctl restart vsftpd

UMASK 란?

파일을 생성할때 기본적인 권한을 설정 하는 것! (이라고 알고 있자)

참고 ..
root@space-zoo-server:/var/www/html/images# umask
0022
root@space-zoo-server:/var/www/html/images# umask --help
umask: umask [-p] [-S] [모드]
    Display or set file mode mask.

    Sets the user file-creation mask to MODE.  If MODE is omitted, prints
    the current value of the mask.

    If MODE begins with a digit, it is interpreted as an octal number;
    otherwise it is a symbolic mode string like that accepted by chmod(1).

    Options:
      -p        if MODE is omitted, output in a form that may be reused as input
      -S        makes the output symbolic; otherwise an octal number is output

    Exit Status:
    Returns success unless MODE is invalid or an invalid option is given.
root@space-zoo-server:/var/www/html/images#

난 022다

 

728x90
반응형
댓글