02-15-2019, 04:10 PM
(This post was last modified: 02-15-2019, 04:23 PM by firenice03.)
[member=411]bitsnpcs[/member]
I was playing with the du command in my terminal and could replicate a permissions error - although not the same file as you...
using 'du -sh /home' or 'du -sh /home/*'
What did yield the results without error was 'du -sh ~'
May be worth a try in your script... ??? ...
- Also I'd be curious to the top 14 lines of your script - looks like a nice piece of coding
Hope it helps!!!
*** Sorry ~ shows your home directory only.. Missed the need for "others/all users" got caught up playing LOL ****
***2nd Edit - Although your error is in your own home, perhaps permissions are pooched on your files? See this link ***
https://askubuntu.com/questions/863042/p...nd-command
To make your user owner of the files in your home directory
Good Luck
I was playing with the du command in my terminal and could replicate a permissions error - although not the same file as you...
using 'du -sh /home' or 'du -sh /home/*'
What did yield the results without error was 'du -sh ~'
Code:
du -sh ~
May be worth a try in your script... ??? ...
- Also I'd be curious to the top 14 lines of your script - looks like a nice piece of coding

Hope it helps!!!
*** Sorry ~ shows your home directory only.. Missed the need for "others/all users" got caught up playing LOL ****
***2nd Edit - Although your error is in your own home, perhaps permissions are pooched on your files? See this link ***
https://askubuntu.com/questions/863042/p...nd-command
To make your user owner of the files in your home directory
Good Luck
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2