No permissions to run any user scripts or executables on an XFS partition - not a chmod issue

I cannot run binaries or executables on an XFS partition.

I can run the same binary with the same permissions on the BTRFS partition.

Same issue described here: no permissions to run any user scripts or executables

“I checked the mount parameters and the partition I use for dev wasn’t mounted with user_xattr.”

How do I mount an XFS filesystem with “user_xattr”?

Is there something else that could cause this problem?

A lot of story telling, but without any computer facts posted. :frowning:

By mentioning it in the options field of the /etc/fstab entry.

How do you mount it now? When it is not configured in /etc/fstab and you mount with alls specifications using the mount command, then use the -o flag.

Both rather basic.

cat etc/fstab

/dev/sdb1 /BLOCKCHAINS ext4 user,data=ordered 0

The user option may be the issue? Sets noexec.

user - Permit any user to mount the filesystem. This automatically implies noexec, nosuid,nodev unless overridden.

But you did see that sdb1 is an ext4 partition and no xfs? So you don‘t even have an entry in fstab for your xfs partition…(or you have truncated the terminal output…).

I was having other issues with XFS and VirtualBox so I reformatted the partition to EXT4 which helped with Virtualbox but did not solve the noexec issue.

Fixed it by specifying exec in fstab: /dev/sdb1 /BLOCKCHAINS ext4 user,exec,data=ordered

The noexec problem was not related to XFS but was caused by the user parm in fstab which sets noexec on as default.

You should describe your issues completely and also clearly state that you changed your complete setup midway whilst others tried to help you. It is no fun when informations are missing and changing without notice…

1 Like

Where do you see this?

I am now completely lost. Do you change everything during posting your question, are others clairvoyant, or do I have to consult a brain doctor???

In the terminal output…

1 Like

Sorry, I missed that completely. Most probably because:

  • it isn’t about an xfs filesystem (as the OP defined his problem);
  • it isn’t posted as computer output, no ‘fixed formatted text’ used;
  • it is untrue, it is not the complete and unabridged output of the command shown: cat /etc/fstab.

I think I go for another job where less mind-reading is required.

4 Likes