You are not logged in.

#1 2009-11-07 11:24:58

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

(Solved) Cannot change program permissions to executable

This is pretty silly, but I can't change the permission of a .sh file. I've tried chmod a+x , or ticking it from the properties. But it ticks and immediately unticks. The file belongs to me and the user group.

Last edited by zephyrus17 (2009-11-07 12:29:17)

Offline

#2 2009-11-07 12:07:58

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: (Solved) Cannot change program permissions to executable

Where is the file located? And what are the mount options used on that partion? And what filesystem is it?

Last edited by Mr.Elendig (2009-11-07 12:08:12)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2009-11-07 12:19:35

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Re: (Solved) Cannot change program permissions to executable

Location: ~/Scripts/

here's the fstab:

/dev/sda2 /media/Data ntfs-3g users,uid=1000,gid=100,fmask=0113,dmask=0002  0 0

Offline

#4 2009-11-07 12:23:25

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: (Solved) Cannot change program permissions to executable

users implies noexec. Add exec after it, or stop using it. (you probably don't need it anyway, unless you are mounting/umounting it as your user all the time)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2009-11-07 12:25:19

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Re: (Solved) Cannot change program permissions to executable

Ahhh.. So that's where it was. Thank you!

Offline

Board footer

Powered by FluxBB