Konsole에는 이 프로필을 /home/aravindakrishnan/.local/share/konsole/Profile 2.profile에 저장할 권한이 없습니다.

Konsole에는 이 프로필을 /home/aravindakrishnan/.local/share/konsole/Profile 2.profile에 저장할 권한이 없습니다.

저는 데비안에서 KDE Neon을 사용하고 있습니다. 프로필을 변경하려고 하면 다음과 같이 표시됩니다.Konsole에는 이 프로필을 /home/username/.local/share/Konsole/Profile 2.profile에 저장할 권한이 없습니다.:

오류 스크린샷

ls -l /home/aravindakrishnan/.local/share/konsole/Profile*

-rw------- 1 mongodb mongodb 1645 May  5 18:56 '/home/aravindakrishnan/.local/share/konsole/Profil

ls -ld  /home/aravindakrishnan/.local/share/konsole/ /home/aravindakrishnan/.local/share/ /home/aravindakrishnan/.local/

drwxrwxr-x  5 mongodb mongodb 4096 May  5 19:15 /home/aravindakrishnan/.local/
drwxrwxr-x 37 mongodb mongodb 4096 Jun 28 11:14 /home/aravindakrishnan/.local/share/
drwxrwxr-x  2 mongodb mongodb 4096 May  5 18:56 /home/aravindakrishnan/.lo

답변1

문제는 당신이 쓰려고 하는 파일이 다른 사용자의 소유라는 것입니다: mongodb. MongoDB 사용자로 로그인하여 어떤 이유로 GUI 애플리케이션을 실행 중인 것 같습니다. 해결 방법은 소유권을 다시 다음으로 변경하는 것입니다.당신의사용자:

sudo chown -R aravindakrishnan:aravindakrishnan /home/aravindakrishnan/.local

또한 집에 있는 다른 디렉터리와 파일도 살펴봐야 하며, 모두 사용자가 소유해야 하므로 다음을 실행하고 싶을 수도 있습니다.

sudo chown -R aravindakrishnan:aravindakrishnan ~/

답변2

내 경우에는 .profile 파일이 위치했습니다./usr/share/konsole

그래서 나는 그랬다.

cd /usr/share/konsole && sudo chmod -R a+rwX *

그게 다야. 하지만 모든 사용자가 사용할 수 있습니다.

관련 정보