나는 Xubuntu 16.10을 가지고 있고 Windows 10으로 이중 부팅합니다. 보조 SSD 드라이브가 있고 Windows와 Linux를 모두 사용할 수 있도록 OS에 구애받지 않는 파일 시스템을 선택하고 싶었고 몇 가지 조사를 한 후에 시도해 보기로 결정했습니다. UDF.
/etc/fstab에 다음 항목을 추가했습니다.
/dev/sda2 /mnt/e_drive udf defaults,uid=1000,rw 0 0
다음과 같이 마운트된 것 같습니다.
adam@BC-LINPC-02:/$ mount |grep e_drive
/dev/sda2 on /mnt/e_drive type udf (rw,relatime,uid=1000,utf8)
새 파일을 추가할 수 있고 새 파일을 삭제할 수도 있는 것 같습니다.
adam@BC-LINPC-02:/mnt/e_drive/src/project_test$ echo "hello world" > some_new_file.txt
adam@BC-LINPC-02:/mnt/e_drive/src/project_test$ ls -lah some_new_file.txt
-rw-rw-r-- 1 adam adam 12 Jan 6 03:14 some_new_file.txt
adam@BC-LINPC-02:/mnt/e_drive/src/project_test$ rm -fr some_new_file.txt
그러나 기존 파일이나 디렉터리는 삭제할 수 없는 것 같습니다.
adam@BC-LINPC-02:/mnt/e_drive/src/project_test$ sudo rm -fr dist.7z
rm: cannot remove 'dist.7z': Operation not permitted
adam@BC-LINPC-02:/mnt/e_drive/src/project_test$ ls -lah dist.7z
-rwxrwxrwx 1 adam nogroup 788K Dec 29 05:07 dist.7z
이 일을 하기 위해 제가 할 수 있는 일이 있나요? 내가 뭔가 잘못하고 있는 걸까요?
감사해요
업데이트:
George의 의견에 대한 응답으로 chown도 작동하지 않는다고 언급했어야 했습니다.
adam@BC-LINPC-02:/mnt/e_drive/src/project_test$ sudo chown -Rv adam:adam .tmp
[sudo] password for adam:
chown: changing ownership of '.tmp/templateCache.js': Operation not permitted
failed to change ownership of '.tmp/templateCache.js' from adam:nogroup to adam:adam
chown: changing ownership of '.tmp/concat/scripts/scripts.js': Operation not permitted
failed to change ownership of '.tmp/concat/scripts/scripts.js' from adam:nogroup to adam:adam
chown: changing ownership of '.tmp/concat/scripts/vendor.js': Operation not permitted
failed to change ownership of '.tmp/concat/scripts/vendor.js' from adam:nogroup to adam:adam
chown: changing ownership of '.tmp/concat/scripts': Operation not permitted
failed to change ownership of '.tmp/concat/scripts' from adam:nogroup to adam:adam
chown: changing ownership of '.tmp/concat': Operation not permitted
failed to change ownership of '.tmp/concat' from adam:nogroup to adam:adam
chown: changing ownership of '.tmp/scripts/app.d.ts': Operation not permitted
failed to change ownership of '.tmp/scripts/app.d.ts' from adam:nogroup to adam:adam
... (every file in that recursive tree) ...