Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
> bash: Permission Denied, Probably a stupid problem
post Oct 29 2006, 02:44 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 29-October 06
Member No.: 7,606

Probably a stupid problem, but I just started using linux yesterday since i found out that windows sucks, and im having a problem.

[root@MSHOME Desktop]# ./jre-1_5_0_09-linux-i586-rpm.bin
bash: ./jre-1_5_0_09-linux-i586-rpm.bin: Permission denied

As you can see, I'm logged in as root, so it shouldn't be a permission problem, right?
Go to the top of the page
+Quote Post
Start new topic
post Oct 29 2006, 07:03 PM
Post #2

Its GNU/

Group: Support Specialist
Posts: 1,807
Joined: 23-January 03
Member No.: 360

The file's executable bits still need to be set regardless of user.
see man pages for chmod for details

chmod 777 jre-1_5_0_09-linux-i586-rpm.bin
sets rwx permissions for all users.

To see permissions
ls -l jre-1_5_0_09-linux-i586-rpm.bin
Go to the top of the page
+Quote Post
post Dec 7 2007, 04:01 AM
Post #3

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 7-December 07
Member No.: 13,184

I can personally see how permissions can be troubling to Windoze users entering the Linux community, check out this piece of work:

rich@rich-desktop:/etc$ whoami
rich@rich-desktop:/etc$ groups rich
rich : rich adm dialout cdrom floppy audio dip video plugdev scanner lpadmin admin netdev powerdev ejabberd
rich@rich-desktop:/etc$ ls -alF | grep ej*
drwxrwx--- 2 ejabberd ejabberd 4096 2007-12-06 20:39 ejabberd/
rich@rich-desktop:/etc$ cd ejabberd
bash: cd: ejabberd: Permission denied

I am 'rich'; 'rich' is a member of ejabberd; ejabberd folder is owned by user ejabberd of group ejabberd. folder can be read/wrote or executed by a member of ejabberd
So logically 'rich' should have access to the folder called 'ejabberd'. Ah Contrar, bash says No! Where's that baseball bat? bash needs a bashing.

Of course, permissions are not solely a problem of Linux. I found the perfect blog to post to on here called "permissions". I clicked on post, and got this message.

"The error returned was: Sorry, you do not have permission to reply to that topic"

IMHO If I was just curious about Ubuntu/Linux but was still OK with Windoze,.......not only would Windoze (viruses and all) look better (as MS would have you think) ...but asking for help on here would appear just as flawed.

Go to the top of the page
+Quote Post

Posts in this topic

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 21st July 2018 - 02:51 AM