• We did not send an email asking for donations - please read this post.

Can anyone explain this odd behavior from the "find" command?



SlowCoder

Gold Member
Gold Supporter
Joined
May 2, 2022
Messages
456
Reaction score
316
Credits
3,611
(I did this in my Ubuntu VM, hence the pic)
Screenshot from 2022-07-07 21-08-28.png

As you can see, I ran from my home directory, and got expected results.
 
OP
CrazedNerd

CrazedNerd

Well-Known Member
Joined
Mar 31, 2021
Messages
837
Reaction score
335
Credits
7,137
i've now tried becoming the superuser and recreating the same first steps with my home folder...and weirdly enough, i'm getting the same lack of output. I think there's some bug in Ubuntu, or just an incompatibility of the kernel with my particular hardware depending on how you look at it, with how bash reads files from the home folder...even though i've had success with cron, i recall it doing some weird stuff with it not backing up a particular file i wanted it to back up even though i double/triple checked that i was doing it all correctly. I have 44MB of updates available, i'll just let this thread die out unless someone has anything interesting to ad, ill edit this post after a system restart to see if i'm getting the same problem.

EDIT: all the updates are just virtual box upgrades...
 
OP
CrazedNerd

CrazedNerd

Well-Known Member
Joined
Mar 31, 2021
Messages
837
Reaction score
335
Credits
7,137
i've now tried becoming the superuser and recreating the same first steps with my home folder...and weirdly enough, i'm getting the same lack of output. I think there's some bug in Ubuntu, or just an incompatibility of the kernel with my particular hardware depending on how you look at it, with how bash reads files from the home folder...even though i've had success with cron, i recall it doing some weird stuff with it not backing up a particular file i wanted it to back up even though i double/triple checked that i was doing it all correctly. I have 44MB of updates available, i'll just let this thread die out unless someone has anything interesting to ad, ill edit this post after a system restart to see if i'm getting the same problem.

EDIT: all the updates are just virtual box upgrades...
I was referring to how I've been able to continually back up my templates and coding notes with "crontab -e", but somehow it won't work with the .bash_aliases file...I tried absolute and relative pathnames. Oh well, I'm fine with just letting this whole go, I think that problem and the one highlighted in this thread are connected though.
 

JasKinasis

Well-Known Member
Joined
Apr 25, 2017
Messages
1,572
Reaction score
2,237
Credits
11,629
heh.. i'm just waiting for @JasKinasis to notice it and let us know what the problem is/was on why you guys don't see what you'd expect :)
I’ve been insanely busy recently, haven’t been online too much. Between drumming in two bands, plus work and family commitments, I’ve barely had time to stop.
On holiday ATM, unfortunately I’m nowhere near my laptop, so can’t investigate right now.
But from looking at the previous posts, I can’t see any reason for find to be failing. if files exist that have the specified permissions it should be finding them….
 
OP
CrazedNerd

CrazedNerd

Well-Known Member
Joined
Mar 31, 2021
Messages
837
Reaction score
335
Credits
7,137
I’ve been insanely busy recently, haven’t been online too much. Between drumming in two bands, plus work and family commitments, I’ve barely had time to stop.
On holiday ATM, unfortunately I’m nowhere near my laptop, so can’t investigate right now.
But from looking at the previous posts, I can’t see any reason for find to be failing. if files exist that have the specified permissions it should be finding them….
Actually, this is correct...what i thought were 611 permissions were 644 permissions, and find works fine. My mistake.
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
7,841
Reaction score
6,673
Credits
29,084
Good outcome, and good input :)

Nerd, if you could go to #1 and edit to include

[SOLVED]

at the beginning, that would be great.

Wiz
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Latest posts

Top