Hello,
I am trying to delete a "doc" folder on my computer but have
been unable to do so.How do I delete it?
Some output below should give an indication of what I have tried.
peter@FLYQB8M9RETO9JA05LY0A3QPQB6OXGXZ0QOC0QN9:~/.cache$ ls -l
ls: cannot access 'doc': Permission denied
total 236
drw------- 2 root root 4096 Jan 17 23:32 dconf
d????????? ? ? ? ? ? doc
drw-r--r-- 3 peter peter 4096 Dec 31 18:53 flatpak
drw-r--r-- 2 peter peter 12288 Jan 2 10:53 fontconfig
drw-rw-r-- 2 peter peter 4096 Jan 8 21:23 gstreamer-1.0
drw------- 3 peter peter 4096 Dec 31 18:53 mate
drw-rw-r-- 3 peter peter 4096 Jan 1 21:25 matplotlib
drw-r--r-- 7 peter peter 4096 Jan 17 16:59 mesa_shader_cache
drw-rw-r-- 3 peter peter 4096 Dec 31 20:02 mintinstall
drw------- 2 peter peter 4096 Dec 31 18:53 obexd
drw------- 4 peter peter 4096 Jan 1 00:33 pip
-rw-rw-r-- 1 peter peter 165196 Jan 3 08:52
qt_compose_cache_little_endian_fede3597f8724a62b7726a319d60a6bc
drw-r--r-- 2 peter peter 4096 Jan 2 22:08 qtshadercache
drw------- 3 peter peter 4096 Dec 31 18:54 thumbnails
drwx------ 3 peter peter 4096 Dec 31 20:08 thunderbird
drwxrwxr-x 2 peter peter 4096 Dec 31 20:12 wine
drwx------ 3 peter peter 4096 Jan 2 00:40 xreader
drwx------ 3 peter peter 4096 Jan 7 22:09 yelp
peter@FLYQB8M9RETO9JA05LY0A3QPQB6OXGXZ0QOC0QN9:~/.cache$ sudo ls -l
total 236
drw------- 2 root root 4096 Jan 17 23:32 dconf
dr-x------ 2 root root 0 Jan 1 1970 doc
drw-r--r-- 3 peter peter 4096 Dec 31 18:53 flatpak
drw-r--r-- 2 peter peter 12288 Jan 2 10:53 fontconfig
drw-rw-r-- 2 peter peter 4096 Jan 8 21:23 gstreamer-1.0
drw------- 3 peter peter 4096 Dec 31 18:53 mate
drw-rw-r-- 3 peter peter 4096 Jan 1 21:25 matplotlib
drw-r--r-- 7 peter peter 4096 Jan 17 16:59 mesa_shader_cache
drw-rw-r-- 3 peter peter 4096 Dec 31 20:02 mintinstall
drw------- 2 peter peter 4096 Dec 31 18:53 obexd
drw------- 4 peter peter 4096 Jan 1 00:33 pip
-rw-rw-r-- 1 peter peter 165196 Jan 3 08:52
qt_compose_cache_little_endian_fede3597f8724a62b7726a319d60a6bc
drw-r--r-- 2 peter peter 4096 Jan 2 22:08 qtshadercache
drw------- 3 peter peter 4096 Dec 31 18:54 thumbnails
drwx------ 3 peter peter 4096 Dec 31 20:08 thunderbird
drwxrwxr-x 2 peter peter 4096 Dec 31 20:12 wine
drwx------ 3 peter peter 4096 Jan 2 00:40 xreader
drwx------ 3 peter peter 4096 Jan 7 22:09 yelp
peter@FLYQB8M9RETO9JA05LY0A3QPQB6OXGXZ0QOC0QN9:~/.cache$ sudo ls -l doc
total 0
dr-x------ 2 root root 0 Jan 1 1970 by-app
peter@FLYQB8M9RETO9JA05LY0A3QPQB6OXGXZ0QOC0QN9:~/.cache$ sudo ls -l
doc/by-app
total 0
peter@FLYQB8M9RETO9JA05LY0A3QPQB6OXGXZ0QOC0QN9:~/.cache$ sudo rm doc
rm: cannot remove 'doc': Is a directory
peter@FLYQB8M9RETO9JA05LY0A3QPQB6OXGXZ0QOC0QN9:~/.cache$ sudo rm -r doc
rm: cannot remove 'doc/by-app': Function not implemented
peter@FLYQB8M9RETO9JA05LY0A3QPQB6OXGXZ0QOC0QN9:~/.cache$ sudo rmdir doc
rmdir: failed to remove 'doc': Device or resource busy
peter@FLYQB8M9RETO9JA05LY0A3QPQB6OXGXZ0QOC0QN9:~/.cache$ lsof -N
lsof: WARNING: can't stat() fuse file system /home/peter/.cache/doc
Output information may be incomplete.
peter@FLYQB8M9RETO9JA05LY0A3QPQB6OXGXZ0QOC0QN9:~/.cache$ sudo rmdir -p doc
[sudo] password for peter:
rmdir: failed to remove 'doc': Device or resource busy
peter@FLYQB8M9RETO9JA05LY0A3QPQB6OXGXZ0QOC0QN9:~/.cache$ man rmdir
peter@FLYQB8M9RETO9JA05LY0A3QPQB6OXGXZ0QOC0QN9:~/.cache$ sudo rmdir -p
doc/by-app
rmdir: failed to remove 'doc/by-app': Function not implemented
peter@FLYQB8M9RETO9JA05LY0A3QPQB6OXGXZ0QOC0QN9:~/.cache$
Thanks for your very helpful answer Trent.Yes, finalrd is a shell script
as you suggested which is why objdump didn't disassemble it.I thought
that hexdump or objdump would have directly shown that finalrd is a
shell script.
[Re-CC'ing the list because I don't think this is secret or private.]
Bruce Campbell wrote:
> On 24/2/20 11:25 am, Trent W. Buck wrote:
>> "Before you try any traditional vendor shit, see if the modern "driverless" approach works" etc.
> Thanks for input Trent, have gone through "driverless" approach with help from user on Mint Forum.
>
> From your post tried changing
> <-o sides=two-sided-long-edge> to
> <-o duplex=duplexnotumble>
> [but it] still prints out 2 single sided sheets.
I found the support page here:
https://support.hp.com/us-en/product/samsung-clx-6260-color-laser-multifunc…
It looks like most or all 6260 models do at least *have* duplex print hardware.
i.e. it's NOT simply that you're trying to print two-sided on a single-sided printer.
I am too lazy to read the full manual.
I would try poking around in the menus in case e.g. duplex module is
turned off for some stupid reason.
Good luck!
Cannot print double- sided in LM 19.3- Cinnamon using Master PDF Editor
nor scan both sides of document with the same app or using gscan2pdf.
Able to do both in Windows 10.
Have tried doing same through USB connection as per a post I found
online but this made no difference. I am mainly wanting to print double
sided & after searching online scanning double sided would see more
problematic.
A experienced user on the Mint Forum has tried many ways to solve
problem but to no avail.
The Samsung “Universal Linux Driver “(ULD) is installed.
This is frustrating as I have virtually moved from Win 10 to LM & this
seems to be the last stumbling block to doing so.
Any input on this would be greatly appreciated- Bruce
--
*Bruce Campbell*
PO Box 45
LOCH SPORT VIC 3851
(03) 90130156
_Mob: 0427 347 012_
n 19/12/19 10:48 am, Piers Rowan via luv-beginners wrote:
>
> On 19/12/19 9:43 am, Piers Rowan wrote:
>>
>>> Very likely they are and have been.I have strong evidence of this
>>> such as the following -
>>>
>>> - computer slow during startup,shutdown and general operation
>>> compared to just after a fresh install
>>>
>>> ,I can tell because the fastest computer I normally use is a dual
>>> core and have found these run quicker than hacked
>>>
>>> quad and 6 core computers for many /most applications when dual core
>>> not hacked.
>>
>>
>> How old it the computer? If you have dust in CPU fan then it will
>> overheat and throttle the CPU so it doesn't overheat. (I just
>> re-lifed a PC yesterdau for this reason).
>>
My computers are 10-20 years old and not overheating except for maybe 1
or 2 out of 20-30 computers.
>>
>>>
>>> - After visiting dodgy websites that create dozens of connections to
>>> residential computers with Firefox,
>>
>>
>> Multiple connections are standard fare for advert laden sites.
>>
>>>
>>> software updates no longer work and a change of password stops linux
>>> Mint from starting up at all.
>>
>>
>> That is strange.
>>
>>
>>>
>>> A check shows almost every file has had its permissions changed.
>>>
>>> - When apparently hacked ,some of my data (such as old important
>>> looking photos) has mysteriously gone missing.
>>>
>>> - Firefox stops working with many websites when apparently hacked
>>> and slows down dramatically.
>>>
>>> - excessive hard drive activity after I visit some websites,like a
>>> search is going on.
>>>
>>>
>>> - Once I found the "find" command running on one of my computers
>>> using the command htop.It was taking a large chunk of CPU usage.I
>>> never started the "find" command and it was running constantly.
>>>
>>>
>> OK I'm guessing the HDD could be the issue - bad sectors would cause
>> this behavior.
>>
>> Is it an old disk or a new SSD?
>>
>> I'm getting mostly the same thing on multiple computers (more than
>> 10),they do have old hard (disk) drives.(5-15 years old) The above
>> trouble has 90% gone after using my custom software to "stop the
>> hacking".It's an interesting suggestion and although I very much
>> doubt it is the cause, I can't definitively say that it's not.So I'll
>> make a point of checking my hard drives.
Thanks.
> Thanks
>
_______________________________________________
luv-beginners mailing list
luv-beginners(a)luv.asn.au
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-beginners
On 19/12/19 9:43 am, Piers Rowan wrote:
>
>> Very likely they are and have been.I have strong evidence of this
>> such as the following -
>>
>> - computer slow during startup,shutdown and general operation
>> compared to just after a fresh install
>>
>> ,I can tell because the fastest computer I normally use is a dual
>> core and have found these run quicker than hacked
>>
>> quad and 6 core computers for many /most applications when dual core
>> not hacked.
>
>
> How old it the computer? If you have dust in CPU fan then it will
> overheat and throttle the CPU so it doesn't overheat. (I just re-lifed
> a PC yesterdau for this reason).
>
>
>>
>> - After visiting dodgy websites that create dozens of connections to
>> residential computers with Firefox,
>
>
> Multiple connections are standard fare for advert laden sites.
>
>>
>> software updates no longer work and a change of password stops linux
>> Mint from starting up at all.
>
>
> That is strange.
>
>
>>
>> A check shows almost every file has had its permissions changed.
>>
>> - When apparently hacked ,some of my data (such as old important
>> looking photos) has mysteriously gone missing.
>>
>> - Firefox stops working with many websites when apparently hacked and
>> slows down dramatically.
>>
>> - excessive hard drive activity after I visit some websites,like a
>> search is going on.
>>
>>
>> - Once I found the "find" command running on one of my computers
>> using the command htop.It was taking a large chunk of CPU usage.I
>> never started the "find" command and it was running constantly.
>>
>>
> OK I'm guessing the HDD could be the issue - bad sectors would cause
> this behavior.
>
> Is it an old disk or a new SSD?
>
>
> Thanks
>
Hello,
I'm still having major problems with computer security of
Linux Mint 19 MATE.I believe that with default settings ,this version of
linux is unusable as it gets hacked in a few minutes by bots,mainly via
firefox.
I have not found any security measures to prevent this and have had to
write custom software to stop the hacking or mostly stop it.
I've found that the previously mentioned "firehol" firewall program
doesn't stop the hacking,it maybe delayed it by a few days at first.The
same goes for ufw,but maybe I'm not using it correctly.The default
apparmor profile for firefox simply does nothing or close to nothing to
protect the computer.I've written my own firefox apparmor profile which
has worked reasonably well for weeks/months but is still not complete
.I've also written my own active firewall program that blocks
connections from all residential computers (which are probably mostly
hacked and used as bots to hack other computers) and rented servers.This
combination of programs as well
as a few others not written by me ,like snort and fail2ban have mostly
stopped the hacking but not completely.I haven't had to reinstall linux
for a month or so on any of my machines.Unfortunately,recently, I've
discovered that snort and fail2ban have been
disabled on many of my machines and that the logviewer seems to not be
working properly.So my questions are
- what is the command to run the linux mint logviewer? (I normally run
it from the menu)
- is it normal for the linux mint logviewer to automatically switch
viewing logs after a few seconds? (I strongly suspect not)
regards Peter
Hello,
This is a follow up email in the hope that someone as confused
as me might find it useful.
I have solved my computer security issues for now using the following
script.
-----------------------------------------------------------------------------------------------
#!/bin/sh
sudo apt install -y apparmor
sudo apt install -y apparmor-profiles
sudo apt install -y apparmor-profiles-extra
sudo apt install -y apparmor-utils
sudo aa-enforce /etc/apparmor.d/*
fireholpath="/usr/sbin/firehol"
sudo apt remove -y ufw
sudo apt install -y firehol
sudo crontab -u root -l > temp.txt
if grep 'firehol' temp.txt;
then
echo "no need to update crontab"
else
echo "updating crontab"
echo "@reboot $fireholpath start" >> temp.txt
sudo crontab -u root temp.txt
fi
sudo firehol start
---------------------------------------------------------------------------------------------
I don't know how smart the above script is , but it works for me.I found
that the default firewall with linux mint (ufw) was not working
effectively.At least with the default settings it comes with.My
computers were getting hacked through using firefox with attackers
gaining root access in about 20 minutes no matter how strong the
password was.In such times, changing the hostname and password helped
things temporarily.
Enjoy your linux.
regards Peter