티스토리 뷰
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
반응형
댓글
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- rhcsa8
- Rcity 9번
- 리눅스 환경변수 지정
- rhcsa8 기출문제
- podman
- Rcity CTF
- Grootsecurity
- PODman기초
- rhcsa8덤프
- rhcsa8 덤프
- 리눅스
- 파이썬기초
- 라쿤시티
- CTF
- rhcsa8 시험문제
- grootboan
- RCity operation 1
- 리눅스 쉘 스크립트
- Rcity
- gzip
- 맨탈훈련
- 리눅스본딩
- grootsecuriry
- 쉘 스크립트 기초
- 주소DB만들기
- 리눅스 명령어
- Rcityboan.com
- 7-zip
- 파이썬실습
- Rcity1번
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
글 보관함