Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
permission denied, even as root?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Spanik
l33t
l33t


Joined: 12 Dec 2003
Posts: 963
Location: Belgium

PostPosted: Sat May 25, 2019 12:40 pm    Post subject: permission denied, even as root? Reply with quote

I wanted to put back my Eagle cad application so I got out the eagle-lin-6.5.0.run file that I have already a long time (and the licence I bought). But it din't want to run. OK, opened a terminal, "su root" and tried to run it. All I got was permission denied. How can that be?

Rebooted the pc, went into a terminal and logged in as root. Same result: "permission denied".

Now the file is in /mnt/data/eagle/application/eagle-v6 and that lot is with ownership of my normal user, the file is set as executable. I even tried changing with "chmod 777" to make sure but I always get "permission denied".
_________________
Expert in non-working solutions
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat May 25, 2019 12:42 pm    Post subject: Reply with quote

Perhaps the filesystem is mounted with noexec option.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Spanik
l33t
l33t


Joined: 12 Dec 2003
Posts: 963
Location: Belgium

PostPosted: Sat May 25, 2019 1:30 pm    Post subject: Reply with quote

It is mount at start with:
Code:
UUID=72be5ad8-5040-4a90-b89e-3bc934e71728   /mnt/data   xfs user    0 0

_________________
Expert in non-working solutions
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sat May 25, 2019 1:39 pm    Post subject: Reply with quote

Then it's doing exactly what you asked it to.
man 8 mount wrote:
Code:
       user   Allow an ordinary user to mount the filesystem.  The name of the
              mounting user is written to the mtab file  (or  to  the  private
              libmount  file  in /run/mount on systems without a regular mtab)
              so that this same user can unmount the filesystem  again.   This
              option  implies  the  options  noexec, nosuid, and nodev (unless
              overridden  by  subsequent  options,  as  in  the  option   line
              user,exec,dev,suid).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum