#File wont execute as owner
1 messages · Page 1 of 1 (latest)
sudo chmod u=rwx,g=rwx,o=rwx ~/wsgi.py
if this doesnt work then idk what to do :V
it must work xD
could it be because the parent is owner by someone else?
im not sure :/ maybe
sudo chown $USER:$USER -R . would this work? XD
and it worked
@sterile echo parent dir problem o.O
how do i add a perm, is it just +x +r?
instead of reseting it
the easiest way is right click the file or folder in file manager. then go to Properties, > permissions tab
if you have a desktop environment anyway.
yh would do but ^
i just use chmod +x ./run.sh to make files executable :V
no DE, just shell?
i got the DE but in trying out the shell
k
i hate DE >:[
for everyone tho?
not sure what u mean xD
adding +x as Hey mentioned will mark it executable for all grouplets (owner, group, and world)
you can confirm using ls -l
so if i wanted to add the permssion to just the group to have execute
chmod g=+x ~/wtf.lua
then u gotta mess with the number system 774
👍
or that
number system is beyond my comprehension :V
im the other way around
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.
grouplet 1 is the owner perm's: if set to 7, that means owner can read(4),write(2), and execute(1).
your shell is very weird :V add some colors
it happens sometimes
ye idk if i will remember that xD
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)
w=+x is world right?
@potent hatch
what the hell is world? owo
theres: user, group, others
I agree!
lol
o for "others"
is threer a simple way?
the public
its o=+x to add execute for everyone?
nixifying owo adding zsh customization,
switching ls to eza, etc ,etc
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
i see gotccha
i think last time i set perms with gui was many years ago 🤔
I'll only insist on using GUI to prevent going insane, personally.
in xfce file manager (thunar)
disagree, gone insane from using gui
they sould add Others label for the last one, looks slightly confusing
I very much agree. in the case for nemo
lol