티스토리 뷰
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
- Rcity 9번
- 맨탈훈련
- 주소DB만들기
- 쉘 스크립트 기초
- grootsecuriry
- Rcityboan.com
- podman
- 리눅스 명령어
- rhcsa8 기출문제
- 라쿤시티
- PODman기초
- 파이썬기초
- Rcity1번
- rhcsa8덤프
- rhcsa8
- Rcity CTF
- 리눅스 환경변수 지정
- RCity operation 1
- 리눅스 쉘 스크립트
- 리눅스
- rhcsa8 시험문제
- rhcsa8 덤프
- gzip
- Rcity
- CTF
- Grootsecurity
- 리눅스본딩
- 7-zip
- grootboan
- 파이썬실습
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함