#File wont execute as owner

1 messages · Page 1 of 1 (latest)

feral shell
#

the parent dir is owner by a differnt user

potent hatch
#

if this doesnt work then idk what to do :V

#

it must work xD

feral shell
#

could it be because the parent is owner by someone else?

potent hatch
feral shell
#

OO

#

i change the parent dir to runner

potent hatch
feral shell
#

and it worked

potent hatch
#

i dont understand linux :V

feral shell
#

this is the permission structure

#

idk why that doesnt work

potent hatch
#

@sterile echo parent dir problem o.O

feral shell
#

instead of reseting it

sterile echo
#

if you have a desktop environment anyway.

potent hatch
sterile echo
#

no DE, just shell?

feral shell
sterile echo
#

k

potent hatch
#

i hate DE >:[

feral shell
potent hatch
sterile echo
#

adding +x as Hey mentioned will mark it executable for all grouplets (owner, group, and world)

potent hatch
#

ah owo

#

i never knew :V

sterile echo
#

you can confirm using ls -l

feral shell
potent hatch
sterile echo
#

then u gotta mess with the number system 774

feral shell
sterile echo
#

or that

potent hatch
#

number system is beyond my comprehension :V

feral shell
sterile echo
#

grouplet 1 (4,2,1) ; grouplet 2 (4,2,1) ; grouplet 3 (4,2,1)

#

4 2 and 1 are place holders.

#

and that's their maximum values.

feral shell
#

this is what caused the issue.

#

the world exectuion was changed

sterile echo
#

grouplet 1 is the owner perm's: if set to 7, that means owner can read(4),write(2), and execute(1).

potent hatch
feral shell
potent hatch
sterile echo
#

if set to 777, (all three grouplets are maxed out to 7 ) that means owner,group,and world can do EVERYTHING (read,write,and execute the file)

feral shell
#

w=+x is world right?

sterile echo
#

idk

#

probably

feral shell
potent hatch
#

theres: user, group, others

feral shell
#

o someone said world earlier

#

so its o=+x

sterile echo
potent hatch
#

lol

sterile echo
#

o for "others"

feral shell
feral shell
sterile echo
feral shell
#

its o=+x to add execute for everyone?

potent hatch
sterile echo
#

see the third grouplet in my pic? this is a folder properties , not a file's . and i underlined that in 'folder acces' create and delete is set. that means all public can add to , delete , or read that folder and its contents

potent hatch
# sterile echo

i think last time i set perms with gui was many years ago 🤔

sterile echo
#

I'll only insist on using GUI to prevent going insane, personally.

#

in xfce file manager (thunar)

feral shell
potent hatch
# sterile echo

they sould add Others label for the last one, looks slightly confusing

sterile echo
potent hatch
#

lol

sterile echo
#

to me personally, it seems like a shocking omission to not label that third grouplet properly - and expect any user to just know what that does

#

at least Thunar got it right.

potent hatch
#

maybe i should do a pr 🤔

#

would help padding my resume xD