保存文件时出错

保存文件时出错

我使用 Geany 在我的 bin 目录中编辑我的 bash 脚本。

当我试图拯救他们时,我得到了

Error saving file. Operation not permitted.

File on disk may be truncated.

如果我使用“另存为”,我可以保存它们吗?

我试过

andy7_~/bin$ sudo chown -R andy:  /home/andy/bin/
chown: changing ownership of '/home/andy/bin/Seamonkey_Startup_Time.sh': Operation not permitted
chown: changing ownership of '/home/andy/bin/Find_File.sh': Operation not permitted
chown: changing ownership of '/home/andy/bin/Relax_Music.sh': Operation not permitted
andy7_~/bin$ ll
total 376
drwxrwxr-x  2 andy andy  4096 Jul 23 14:16 ./
drwxr-xr-x 36 andy andy  4096 Jul 23 14:12 ../
-rwxrwxr-x  1 andy root    64 Jan 22 22:19 30_VOL.sh*
-rwxrwxrwx  1 andy root    59 Dec 22  2017 4kYouTube2_Mp3.sh*
-rwxr-xr-x  1 andy root    92 Jan 22 22:23 50_Percent_VOL.sh*
-rwxrwxr-x  1 andy andy    92 Jul 14 12:41 70_Percent_VOL.sh*
-rwxrwxrwx  1 andy root  1767 May 15  2017 arrange_dt.py*
-rwxrwxr-x  1 andy andy  2451 Jul 20 15:57 Backup_18.04_AMD.sh*
-rwxrwxrwx  1 andy root  2412 Jul 13 01:46 Backup_AMD.sh*
-rwxrwxr-x  1 andy andy   117 Jul 13 18:32 Bin_Dir.sh*
-rwxrwxrwx  1 andy root    40 Jul 19 13:14 Blank.sh*
-rwxrwxr-x  1 andy andy    44 Jul 13 15:42 boot.sh*
-rwxrwxr-x  1 andy root   709 Jul 17 11:04 Browser_Startup_Time.sh*

相关内容