Is it possible to read a file you only have executable permissions to on Linux through Bash?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I was wondering if it was possible to somehow get the contents of a file which you do not have read access to. I first attempted trying to get around the permissions using the inode number of the file, but I was unsuccessful. My teacher made a file which he said he locked up well, but that there were a few ways of getting to its contents. Getting into the file has nothing to do with our assignment, but I was curious as to how this could be done if it could be done. I did a bit of research, and the only post I found relating to this was to grab the inode number of the file, but after doing that, there was not too much more information regarding it. Any savvy bash/Linux users have a solution to do this?
Thanks!
permissions executable inode
New contributor
add a comment |Â
up vote
0
down vote
favorite
I was wondering if it was possible to somehow get the contents of a file which you do not have read access to. I first attempted trying to get around the permissions using the inode number of the file, but I was unsuccessful. My teacher made a file which he said he locked up well, but that there were a few ways of getting to its contents. Getting into the file has nothing to do with our assignment, but I was curious as to how this could be done if it could be done. I did a bit of research, and the only post I found relating to this was to grab the inode number of the file, but after doing that, there was not too much more information regarding it. Any savvy bash/Linux users have a solution to do this?
Thanks!
permissions executable inode
New contributor
You can't even execute a file you don't have read permissions on, even if you have execute permissions, unless the person who set it up tried really hard
â jeremysprofile
1 min ago
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I was wondering if it was possible to somehow get the contents of a file which you do not have read access to. I first attempted trying to get around the permissions using the inode number of the file, but I was unsuccessful. My teacher made a file which he said he locked up well, but that there were a few ways of getting to its contents. Getting into the file has nothing to do with our assignment, but I was curious as to how this could be done if it could be done. I did a bit of research, and the only post I found relating to this was to grab the inode number of the file, but after doing that, there was not too much more information regarding it. Any savvy bash/Linux users have a solution to do this?
Thanks!
permissions executable inode
New contributor
I was wondering if it was possible to somehow get the contents of a file which you do not have read access to. I first attempted trying to get around the permissions using the inode number of the file, but I was unsuccessful. My teacher made a file which he said he locked up well, but that there were a few ways of getting to its contents. Getting into the file has nothing to do with our assignment, but I was curious as to how this could be done if it could be done. I did a bit of research, and the only post I found relating to this was to grab the inode number of the file, but after doing that, there was not too much more information regarding it. Any savvy bash/Linux users have a solution to do this?
Thanks!
permissions executable inode
permissions executable inode
New contributor
New contributor
New contributor
asked 5 mins ago
user3657449
101
101
New contributor
New contributor
You can't even execute a file you don't have read permissions on, even if you have execute permissions, unless the person who set it up tried really hard
â jeremysprofile
1 min ago
add a comment |Â
You can't even execute a file you don't have read permissions on, even if you have execute permissions, unless the person who set it up tried really hard
â jeremysprofile
1 min ago
You can't even execute a file you don't have read permissions on, even if you have execute permissions, unless the person who set it up tried really hard
â jeremysprofile
1 min ago
You can't even execute a file you don't have read permissions on, even if you have execute permissions, unless the person who set it up tried really hard
â jeremysprofile
1 min ago
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
user3657449 is a new contributor. Be nice, and check out our Code of Conduct.
user3657449 is a new contributor. Be nice, and check out our Code of Conduct.
user3657449 is a new contributor. Be nice, and check out our Code of Conduct.
user3657449 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f479475%2fis-it-possible-to-read-a-file-you-only-have-executable-permissions-to-on-linux-t%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
You can't even execute a file you don't have read permissions on, even if you have execute permissions, unless the person who set it up tried really hard
â jeremysprofile
1 min ago