Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> -bash .... Permission denied, Trouble executing files new domain files
joaorobvieira
 Posted: Jun 24 2012, 12:34 PM
Quote Post


SLF Newbie


Group: Members
Posts: 6
Member No.: 1617
Joined: 14-June 12









Hi all,

I created file (named tete) with some bash commands and change its type to 'trusted_1_t'.

I successfully loaded a module to the default policy granting the permissions:

allow unconfined_t trust_1_t : file { exec open write create unlink ....(etc) };

However when I execute this file from the shell, I get the following:

-bash: /home/joao/tete: Permission denied
-bash: /home/joao/tete: Success

But when I deactivate the enforcing mode it manages to exec the file without any problem.

Any suggestions ?
PM
^
redman
 Posted: Jun 24 2012, 03:39 PM
Quote Post


Retired SLF Administrator
********

Group: Admins
Posts: 1276
Member No.: 2
Joined: 8-April 11









Please, do not double post questions!
This question was also posted in another thread (that posting has been removed)...

--------------------
"Sometimes the best helping hand you can give is a good, firm push."
PM
^
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll