1 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
2 |
DENIED
|
moderate
|
Proxies\__CG__\App\Entity\Entry {#1803
+user: Proxies\__CG__\App\Entity\User {#1952 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1799 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2356 …}
+slug: "Non-root-user-that-suddenly-has-elevated-privileges-in-a-specific"
+title: "Non-root user that (suddenly) has elevated privileges in a specific command (only). [Have I been hacked?]"
+url: null
+body: """
Title. Long,short story: creating or editing files with `nano` as my non-root user gives (the file) elevated privileges, like I have ran it w/ `sudo` or as root. And the (only) “security hole” that I can think of is a nextdns docker container running as root. That aside, its very “overkill” security-wise (cap_drop=ALL, non-root image, security_opt=no_new_privileges, etc.).\n
\n
It’s like someone tried to hack me but gave up halfway. Am I right or wrong to assume this? Just curious.\n
\n
Thanks in advance.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 28
+favouriteCount: 41
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1700701501 {#1397
date: 2023-11-23 02:05:01.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2476 …}
+votes: Doctrine\ORM\PersistentCollection {#2449 …}
+reports: Doctrine\ORM\PersistentCollection {#2475 …}
+favourites: Doctrine\ORM\PersistentCollection {#1547 …}
+notifications: Doctrine\ORM\PersistentCollection {#1502 …}
+badges: Doctrine\ORM\PersistentCollection {#1543 …}
+children: [
App\Entity\EntryComment {#1769
+user: Proxies\__CG__\App\Entity\User {#1922 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1803 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1799 …}
+image: null
+parent: null
+root: null
+body: """
The directory you are creating your files in likely is set to immutable or append only.\n
\n
lsattr -d /path/to/directory\n
\n
if you see i or a, then that's the issue.\n
\n
You can remove them with \n
sudo chattr -i /path/to/dir #removes immutable \n
sudo chattr -a /path/to/dir #removes append only\n
\n
Same goes for files but if it happens to all files in a directory, then that is probably it.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1700617195 {#2390
date: 2023-11-22 02:39:55.0 +01:00
}
+ip: null
+tags: [
"removes"
]
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1794 …}
+nested: Doctrine\ORM\PersistentCollection {#1831 …}
+votes: Doctrine\ORM\PersistentCollection {#1931 …}
+reports: Doctrine\ORM\PersistentCollection {#1865 …}
+favourites: Doctrine\ORM\PersistentCollection {#1925 …}
+notifications: Doctrine\ORM\PersistentCollection {#1961 …}
-id: 149322
-bodyTs: "'/path/to/dir':39,45 '/path/to/directory':19 'append':15,47 'chattr':37,43 'creat':5 'd':18 'directori':2,62 'file':7,52,59 'goe':50 'happen':56 'immut':13,41 'issu':30 'like':9 'lsattr':17 'probabl':66 'remov':33,40,46 'see':22 'set':11 'sudo':36,42"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://kbin.social/m/linux@lemmy.ml/t/645793/-/comment/3703818"
+editedAt: DateTimeImmutable @1701080650 {#63
date: 2023-11-27 11:24:10.0 +01:00
}
+createdAt: DateTimeImmutable @1700617195 {#64
date: 2023-11-22 02:39:55.0 +01:00
}
+"title": 149322
}
]
-id: 15233
-titleTs: "'command':13 'elev':8 'hack':18 'non':2 'non-root':1 'privileg':9 'root':3 'specif':12 'sudden':6 'user':4"
-bodyTs: "'advanc':95 'asid':51 'assum':89 'cap':58 'contain':46 'creat':5 'curious':92 'docker':45 'drop':59 'edit':7 'elev':20 'etc':70 'file':8,19 'gave':80 'give':17 'hack':77 'halfway':82 'hole':36 'imag':64 'like':22,73 'long':2 'nano':10 'new':68 'nextdn':44 'non':14,62 'non-root':13,61 'opt':66 'overkil':54 'privileg':21,69 'ran':25 'right':85 'root':15,31,49,63 'run':47 'secur':35,56,65 'security-wis':55 'short':3 'someon':74 'stori':4 'sudo':28 'thank':93 'think':40 'titl':1 'tri':75 'user':16 'w':27 'wise':57 'wrong':87"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1700690925
+visibility: "visible "
+apId: "https://lemmy.world/post/8579713"
+editedAt: null
+createdAt: DateTimeImmutable @1700604525 {#1938
date: 2023-11-21 23:08:45.0 +01:00
}
+__isInitialized__: true
…2
} |
|
Show voter details
|
3 |
DENIED
|
edit
|
Proxies\__CG__\App\Entity\Entry {#1803
+user: Proxies\__CG__\App\Entity\User {#1952 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1799 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2356 …}
+slug: "Non-root-user-that-suddenly-has-elevated-privileges-in-a-specific"
+title: "Non-root user that (suddenly) has elevated privileges in a specific command (only). [Have I been hacked?]"
+url: null
+body: """
Title. Long,short story: creating or editing files with `nano` as my non-root user gives (the file) elevated privileges, like I have ran it w/ `sudo` or as root. And the (only) “security hole” that I can think of is a nextdns docker container running as root. That aside, its very “overkill” security-wise (cap_drop=ALL, non-root image, security_opt=no_new_privileges, etc.).\n
\n
It’s like someone tried to hack me but gave up halfway. Am I right or wrong to assume this? Just curious.\n
\n
Thanks in advance.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 28
+favouriteCount: 41
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1700701501 {#1397
date: 2023-11-23 02:05:01.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2476 …}
+votes: Doctrine\ORM\PersistentCollection {#2449 …}
+reports: Doctrine\ORM\PersistentCollection {#2475 …}
+favourites: Doctrine\ORM\PersistentCollection {#1547 …}
+notifications: Doctrine\ORM\PersistentCollection {#1502 …}
+badges: Doctrine\ORM\PersistentCollection {#1543 …}
+children: [
App\Entity\EntryComment {#1769
+user: Proxies\__CG__\App\Entity\User {#1922 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1803 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1799 …}
+image: null
+parent: null
+root: null
+body: """
The directory you are creating your files in likely is set to immutable or append only.\n
\n
lsattr -d /path/to/directory\n
\n
if you see i or a, then that's the issue.\n
\n
You can remove them with \n
sudo chattr -i /path/to/dir #removes immutable \n
sudo chattr -a /path/to/dir #removes append only\n
\n
Same goes for files but if it happens to all files in a directory, then that is probably it.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1700617195 {#2390
date: 2023-11-22 02:39:55.0 +01:00
}
+ip: null
+tags: [
"removes"
]
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1794 …}
+nested: Doctrine\ORM\PersistentCollection {#1831 …}
+votes: Doctrine\ORM\PersistentCollection {#1931 …}
+reports: Doctrine\ORM\PersistentCollection {#1865 …}
+favourites: Doctrine\ORM\PersistentCollection {#1925 …}
+notifications: Doctrine\ORM\PersistentCollection {#1961 …}
-id: 149322
-bodyTs: "'/path/to/dir':39,45 '/path/to/directory':19 'append':15,47 'chattr':37,43 'creat':5 'd':18 'directori':2,62 'file':7,52,59 'goe':50 'happen':56 'immut':13,41 'issu':30 'like':9 'lsattr':17 'probabl':66 'remov':33,40,46 'see':22 'set':11 'sudo':36,42"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://kbin.social/m/linux@lemmy.ml/t/645793/-/comment/3703818"
+editedAt: DateTimeImmutable @1701080650 {#63
date: 2023-11-27 11:24:10.0 +01:00
}
+createdAt: DateTimeImmutable @1700617195 {#64
date: 2023-11-22 02:39:55.0 +01:00
}
+"title": 149322
}
]
-id: 15233
-titleTs: "'command':13 'elev':8 'hack':18 'non':2 'non-root':1 'privileg':9 'root':3 'specif':12 'sudden':6 'user':4"
-bodyTs: "'advanc':95 'asid':51 'assum':89 'cap':58 'contain':46 'creat':5 'curious':92 'docker':45 'drop':59 'edit':7 'elev':20 'etc':70 'file':8,19 'gave':80 'give':17 'hack':77 'halfway':82 'hole':36 'imag':64 'like':22,73 'long':2 'nano':10 'new':68 'nextdn':44 'non':14,62 'non-root':13,61 'opt':66 'overkil':54 'privileg':21,69 'ran':25 'right':85 'root':15,31,49,63 'run':47 'secur':35,56,65 'security-wis':55 'short':3 'someon':74 'stori':4 'sudo':28 'thank':93 'think':40 'titl':1 'tri':75 'user':16 'w':27 'wise':57 'wrong':87"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1700690925
+visibility: "visible "
+apId: "https://lemmy.world/post/8579713"
+editedAt: null
+createdAt: DateTimeImmutable @1700604525 {#1938
date: 2023-11-21 23:08:45.0 +01:00
}
+__isInitialized__: true
…2
} |
|
Show voter details
|
4 |
DENIED
|
moderate
|
Proxies\__CG__\App\Entity\Entry {#1803
+user: Proxies\__CG__\App\Entity\User {#1952 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1799 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2356 …}
+slug: "Non-root-user-that-suddenly-has-elevated-privileges-in-a-specific"
+title: "Non-root user that (suddenly) has elevated privileges in a specific command (only). [Have I been hacked?]"
+url: null
+body: """
Title. Long,short story: creating or editing files with `nano` as my non-root user gives (the file) elevated privileges, like I have ran it w/ `sudo` or as root. And the (only) “security hole” that I can think of is a nextdns docker container running as root. That aside, its very “overkill” security-wise (cap_drop=ALL, non-root image, security_opt=no_new_privileges, etc.).\n
\n
It’s like someone tried to hack me but gave up halfway. Am I right or wrong to assume this? Just curious.\n
\n
Thanks in advance.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 28
+favouriteCount: 41
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1700701501 {#1397
date: 2023-11-23 02:05:01.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2476 …}
+votes: Doctrine\ORM\PersistentCollection {#2449 …}
+reports: Doctrine\ORM\PersistentCollection {#2475 …}
+favourites: Doctrine\ORM\PersistentCollection {#1547 …}
+notifications: Doctrine\ORM\PersistentCollection {#1502 …}
+badges: Doctrine\ORM\PersistentCollection {#1543 …}
+children: [
App\Entity\EntryComment {#1769
+user: Proxies\__CG__\App\Entity\User {#1922 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1803 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1799 …}
+image: null
+parent: null
+root: null
+body: """
The directory you are creating your files in likely is set to immutable or append only.\n
\n
lsattr -d /path/to/directory\n
\n
if you see i or a, then that's the issue.\n
\n
You can remove them with \n
sudo chattr -i /path/to/dir #removes immutable \n
sudo chattr -a /path/to/dir #removes append only\n
\n
Same goes for files but if it happens to all files in a directory, then that is probably it.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1700617195 {#2390
date: 2023-11-22 02:39:55.0 +01:00
}
+ip: null
+tags: [
"removes"
]
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1794 …}
+nested: Doctrine\ORM\PersistentCollection {#1831 …}
+votes: Doctrine\ORM\PersistentCollection {#1931 …}
+reports: Doctrine\ORM\PersistentCollection {#1865 …}
+favourites: Doctrine\ORM\PersistentCollection {#1925 …}
+notifications: Doctrine\ORM\PersistentCollection {#1961 …}
-id: 149322
-bodyTs: "'/path/to/dir':39,45 '/path/to/directory':19 'append':15,47 'chattr':37,43 'creat':5 'd':18 'directori':2,62 'file':7,52,59 'goe':50 'happen':56 'immut':13,41 'issu':30 'like':9 'lsattr':17 'probabl':66 'remov':33,40,46 'see':22 'set':11 'sudo':36,42"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://kbin.social/m/linux@lemmy.ml/t/645793/-/comment/3703818"
+editedAt: DateTimeImmutable @1701080650 {#63
date: 2023-11-27 11:24:10.0 +01:00
}
+createdAt: DateTimeImmutable @1700617195 {#64
date: 2023-11-22 02:39:55.0 +01:00
}
+"title": 149322
}
]
-id: 15233
-titleTs: "'command':13 'elev':8 'hack':18 'non':2 'non-root':1 'privileg':9 'root':3 'specif':12 'sudden':6 'user':4"
-bodyTs: "'advanc':95 'asid':51 'assum':89 'cap':58 'contain':46 'creat':5 'curious':92 'docker':45 'drop':59 'edit':7 'elev':20 'etc':70 'file':8,19 'gave':80 'give':17 'hack':77 'halfway':82 'hole':36 'imag':64 'like':22,73 'long':2 'nano':10 'new':68 'nextdn':44 'non':14,62 'non-root':13,61 'opt':66 'overkil':54 'privileg':21,69 'ran':25 'right':85 'root':15,31,49,63 'run':47 'secur':35,56,65 'security-wis':55 'short':3 'someon':74 'stori':4 'sudo':28 'thank':93 'think':40 'titl':1 'tri':75 'user':16 'w':27 'wise':57 'wrong':87"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1700690925
+visibility: "visible "
+apId: "https://lemmy.world/post/8579713"
+editedAt: null
+createdAt: DateTimeImmutable @1700604525 {#1938
date: 2023-11-21 23:08:45.0 +01:00
}
+__isInitialized__: true
…2
} |
|
Show voter details
|
5 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
6 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1769
+user: Proxies\__CG__\App\Entity\User {#1922 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1803
+user: Proxies\__CG__\App\Entity\User {#1952 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1799 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2356 …}
+slug: "Non-root-user-that-suddenly-has-elevated-privileges-in-a-specific"
+title: "Non-root user that (suddenly) has elevated privileges in a specific command (only). [Have I been hacked?]"
+url: null
+body: """
Title. Long,short story: creating or editing files with `nano` as my non-root user gives (the file) elevated privileges, like I have ran it w/ `sudo` or as root. And the (only) “security hole” that I can think of is a nextdns docker container running as root. That aside, its very “overkill” security-wise (cap_drop=ALL, non-root image, security_opt=no_new_privileges, etc.).\n
\n
It’s like someone tried to hack me but gave up halfway. Am I right or wrong to assume this? Just curious.\n
\n
Thanks in advance.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 28
+favouriteCount: 41
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1700701501 {#1397
date: 2023-11-23 02:05:01.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2476 …}
+votes: Doctrine\ORM\PersistentCollection {#2449 …}
+reports: Doctrine\ORM\PersistentCollection {#2475 …}
+favourites: Doctrine\ORM\PersistentCollection {#1547 …}
+notifications: Doctrine\ORM\PersistentCollection {#1502 …}
+badges: Doctrine\ORM\PersistentCollection {#1543 …}
+children: [
App\Entity\EntryComment {#1769}
]
-id: 15233
-titleTs: "'command':13 'elev':8 'hack':18 'non':2 'non-root':1 'privileg':9 'root':3 'specif':12 'sudden':6 'user':4"
-bodyTs: "'advanc':95 'asid':51 'assum':89 'cap':58 'contain':46 'creat':5 'curious':92 'docker':45 'drop':59 'edit':7 'elev':20 'etc':70 'file':8,19 'gave':80 'give':17 'hack':77 'halfway':82 'hole':36 'imag':64 'like':22,73 'long':2 'nano':10 'new':68 'nextdn':44 'non':14,62 'non-root':13,61 'opt':66 'overkil':54 'privileg':21,69 'ran':25 'right':85 'root':15,31,49,63 'run':47 'secur':35,56,65 'security-wis':55 'short':3 'someon':74 'stori':4 'sudo':28 'thank':93 'think':40 'titl':1 'tri':75 'user':16 'w':27 'wise':57 'wrong':87"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1700690925
+visibility: "visible "
+apId: "https://lemmy.world/post/8579713"
+editedAt: null
+createdAt: DateTimeImmutable @1700604525 {#1938
date: 2023-11-21 23:08:45.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1799 …}
+image: null
+parent: null
+root: null
+body: """
The directory you are creating your files in likely is set to immutable or append only.\n
\n
lsattr -d /path/to/directory\n
\n
if you see i or a, then that's the issue.\n
\n
You can remove them with \n
sudo chattr -i /path/to/dir #removes immutable \n
sudo chattr -a /path/to/dir #removes append only\n
\n
Same goes for files but if it happens to all files in a directory, then that is probably it.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1700617195 {#2390
date: 2023-11-22 02:39:55.0 +01:00
}
+ip: null
+tags: [
"removes"
]
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1794 …}
+nested: Doctrine\ORM\PersistentCollection {#1831 …}
+votes: Doctrine\ORM\PersistentCollection {#1931 …}
+reports: Doctrine\ORM\PersistentCollection {#1865 …}
+favourites: Doctrine\ORM\PersistentCollection {#1925 …}
+notifications: Doctrine\ORM\PersistentCollection {#1961 …}
-id: 149322
-bodyTs: "'/path/to/dir':39,45 '/path/to/directory':19 'append':15,47 'chattr':37,43 'creat':5 'd':18 'directori':2,62 'file':7,52,59 'goe':50 'happen':56 'immut':13,41 'issu':30 'like':9 'lsattr':17 'probabl':66 'remov':33,40,46 'see':22 'set':11 'sudo':36,42"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://kbin.social/m/linux@lemmy.ml/t/645793/-/comment/3703818"
+editedAt: DateTimeImmutable @1701080650 {#63
date: 2023-11-27 11:24:10.0 +01:00
}
+createdAt: DateTimeImmutable @1700617195 {#64
date: 2023-11-22 02:39:55.0 +01:00
}
+"title": 149322
} |
|
Show voter details
|
7 |
DENIED
|
edit
|
App\Entity\EntryComment {#1769
+user: Proxies\__CG__\App\Entity\User {#1922 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1803
+user: Proxies\__CG__\App\Entity\User {#1952 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1799 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2356 …}
+slug: "Non-root-user-that-suddenly-has-elevated-privileges-in-a-specific"
+title: "Non-root user that (suddenly) has elevated privileges in a specific command (only). [Have I been hacked?]"
+url: null
+body: """
Title. Long,short story: creating or editing files with `nano` as my non-root user gives (the file) elevated privileges, like I have ran it w/ `sudo` or as root. And the (only) “security hole” that I can think of is a nextdns docker container running as root. That aside, its very “overkill” security-wise (cap_drop=ALL, non-root image, security_opt=no_new_privileges, etc.).\n
\n
It’s like someone tried to hack me but gave up halfway. Am I right or wrong to assume this? Just curious.\n
\n
Thanks in advance.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 28
+favouriteCount: 41
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1700701501 {#1397
date: 2023-11-23 02:05:01.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2476 …}
+votes: Doctrine\ORM\PersistentCollection {#2449 …}
+reports: Doctrine\ORM\PersistentCollection {#2475 …}
+favourites: Doctrine\ORM\PersistentCollection {#1547 …}
+notifications: Doctrine\ORM\PersistentCollection {#1502 …}
+badges: Doctrine\ORM\PersistentCollection {#1543 …}
+children: [
App\Entity\EntryComment {#1769}
]
-id: 15233
-titleTs: "'command':13 'elev':8 'hack':18 'non':2 'non-root':1 'privileg':9 'root':3 'specif':12 'sudden':6 'user':4"
-bodyTs: "'advanc':95 'asid':51 'assum':89 'cap':58 'contain':46 'creat':5 'curious':92 'docker':45 'drop':59 'edit':7 'elev':20 'etc':70 'file':8,19 'gave':80 'give':17 'hack':77 'halfway':82 'hole':36 'imag':64 'like':22,73 'long':2 'nano':10 'new':68 'nextdn':44 'non':14,62 'non-root':13,61 'opt':66 'overkil':54 'privileg':21,69 'ran':25 'right':85 'root':15,31,49,63 'run':47 'secur':35,56,65 'security-wis':55 'short':3 'someon':74 'stori':4 'sudo':28 'thank':93 'think':40 'titl':1 'tri':75 'user':16 'w':27 'wise':57 'wrong':87"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1700690925
+visibility: "visible "
+apId: "https://lemmy.world/post/8579713"
+editedAt: null
+createdAt: DateTimeImmutable @1700604525 {#1938
date: 2023-11-21 23:08:45.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1799 …}
+image: null
+parent: null
+root: null
+body: """
The directory you are creating your files in likely is set to immutable or append only.\n
\n
lsattr -d /path/to/directory\n
\n
if you see i or a, then that's the issue.\n
\n
You can remove them with \n
sudo chattr -i /path/to/dir #removes immutable \n
sudo chattr -a /path/to/dir #removes append only\n
\n
Same goes for files but if it happens to all files in a directory, then that is probably it.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1700617195 {#2390
date: 2023-11-22 02:39:55.0 +01:00
}
+ip: null
+tags: [
"removes"
]
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1794 …}
+nested: Doctrine\ORM\PersistentCollection {#1831 …}
+votes: Doctrine\ORM\PersistentCollection {#1931 …}
+reports: Doctrine\ORM\PersistentCollection {#1865 …}
+favourites: Doctrine\ORM\PersistentCollection {#1925 …}
+notifications: Doctrine\ORM\PersistentCollection {#1961 …}
-id: 149322
-bodyTs: "'/path/to/dir':39,45 '/path/to/directory':19 'append':15,47 'chattr':37,43 'creat':5 'd':18 'directori':2,62 'file':7,52,59 'goe':50 'happen':56 'immut':13,41 'issu':30 'like':9 'lsattr':17 'probabl':66 'remov':33,40,46 'see':22 'set':11 'sudo':36,42"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://kbin.social/m/linux@lemmy.ml/t/645793/-/comment/3703818"
+editedAt: DateTimeImmutable @1701080650 {#63
date: 2023-11-27 11:24:10.0 +01:00
}
+createdAt: DateTimeImmutable @1700617195 {#64
date: 2023-11-22 02:39:55.0 +01:00
}
+"title": 149322
} |
|
Show voter details
|
8 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1769
+user: Proxies\__CG__\App\Entity\User {#1922 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1803
+user: Proxies\__CG__\App\Entity\User {#1952 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1799 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2356 …}
+slug: "Non-root-user-that-suddenly-has-elevated-privileges-in-a-specific"
+title: "Non-root user that (suddenly) has elevated privileges in a specific command (only). [Have I been hacked?]"
+url: null
+body: """
Title. Long,short story: creating or editing files with `nano` as my non-root user gives (the file) elevated privileges, like I have ran it w/ `sudo` or as root. And the (only) “security hole” that I can think of is a nextdns docker container running as root. That aside, its very “overkill” security-wise (cap_drop=ALL, non-root image, security_opt=no_new_privileges, etc.).\n
\n
It’s like someone tried to hack me but gave up halfway. Am I right or wrong to assume this? Just curious.\n
\n
Thanks in advance.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 28
+favouriteCount: 41
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1700701501 {#1397
date: 2023-11-23 02:05:01.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2476 …}
+votes: Doctrine\ORM\PersistentCollection {#2449 …}
+reports: Doctrine\ORM\PersistentCollection {#2475 …}
+favourites: Doctrine\ORM\PersistentCollection {#1547 …}
+notifications: Doctrine\ORM\PersistentCollection {#1502 …}
+badges: Doctrine\ORM\PersistentCollection {#1543 …}
+children: [
App\Entity\EntryComment {#1769}
]
-id: 15233
-titleTs: "'command':13 'elev':8 'hack':18 'non':2 'non-root':1 'privileg':9 'root':3 'specif':12 'sudden':6 'user':4"
-bodyTs: "'advanc':95 'asid':51 'assum':89 'cap':58 'contain':46 'creat':5 'curious':92 'docker':45 'drop':59 'edit':7 'elev':20 'etc':70 'file':8,19 'gave':80 'give':17 'hack':77 'halfway':82 'hole':36 'imag':64 'like':22,73 'long':2 'nano':10 'new':68 'nextdn':44 'non':14,62 'non-root':13,61 'opt':66 'overkil':54 'privileg':21,69 'ran':25 'right':85 'root':15,31,49,63 'run':47 'secur':35,56,65 'security-wis':55 'short':3 'someon':74 'stori':4 'sudo':28 'thank':93 'think':40 'titl':1 'tri':75 'user':16 'w':27 'wise':57 'wrong':87"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1700690925
+visibility: "visible "
+apId: "https://lemmy.world/post/8579713"
+editedAt: null
+createdAt: DateTimeImmutable @1700604525 {#1938
date: 2023-11-21 23:08:45.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1799 …}
+image: null
+parent: null
+root: null
+body: """
The directory you are creating your files in likely is set to immutable or append only.\n
\n
lsattr -d /path/to/directory\n
\n
if you see i or a, then that's the issue.\n
\n
You can remove them with \n
sudo chattr -i /path/to/dir #removes immutable \n
sudo chattr -a /path/to/dir #removes append only\n
\n
Same goes for files but if it happens to all files in a directory, then that is probably it.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1700617195 {#2390
date: 2023-11-22 02:39:55.0 +01:00
}
+ip: null
+tags: [
"removes"
]
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1794 …}
+nested: Doctrine\ORM\PersistentCollection {#1831 …}
+votes: Doctrine\ORM\PersistentCollection {#1931 …}
+reports: Doctrine\ORM\PersistentCollection {#1865 …}
+favourites: Doctrine\ORM\PersistentCollection {#1925 …}
+notifications: Doctrine\ORM\PersistentCollection {#1961 …}
-id: 149322
-bodyTs: "'/path/to/dir':39,45 '/path/to/directory':19 'append':15,47 'chattr':37,43 'creat':5 'd':18 'directori':2,62 'file':7,52,59 'goe':50 'happen':56 'immut':13,41 'issu':30 'like':9 'lsattr':17 'probabl':66 'remov':33,40,46 'see':22 'set':11 'sudo':36,42"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://kbin.social/m/linux@lemmy.ml/t/645793/-/comment/3703818"
+editedAt: DateTimeImmutable @1701080650 {#63
date: 2023-11-27 11:24:10.0 +01:00
}
+createdAt: DateTimeImmutable @1700617195 {#64
date: 2023-11-22 02:39:55.0 +01:00
}
+"title": 149322
} |
|
Show voter details
|