Execute permissions NFS

Status
Not open for further replies.

el_pedriyo

Explorer
Joined
Jun 24, 2018
Messages
65
Hello,

I am currently having some trouble when trying to execute a .sh in my VM which is located in my freenas dataset mounted with NFS. My dataset has UNIX permission type with 777 permissions with the root user set, and the sharing NFS has the maproot also with the root user. This is the output of my VM:

root@services:/mnt/media# ls -ln
total 254
-rwxrwxrwx 1 0 0 314 nov 2 21:13 plex_scan

As you can see the file has execute permissions, but when I try to execute it with root it doesn't allow me.

Any idea on why?

Kind regards,

Pedro
 

droeders

Contributor
Joined
Mar 21, 2016
Messages
179
If you show us the terminal output when you try to execute the script, we might be able to help you.

Also, please post the contents of the plex_scan file in code tags.
 

fracai

Guru
Joined
Aug 22, 2012
Messages
1,212
The NFS share is probably mounted with "noexec" as one of the options. What system are you mounting it to? What command or configuration did you use to do that?
 
Status
Not open for further replies.
Top