You are not logged in.

#1 2010-04-13 20:28:02

neodarkness
Member
Registered: 2009-09-13
Posts: 31

(SOLVED) zsh permission denied

Hi, I have a weird problem.
I have zsh as my default shell and when I try using mount I get

mount /dev/cdrom
zsh: permission denied: /dev/cdrom

If I run bash and then the same command, it works... (btw, I'm root)

Any ideas on what the problem might be?
(I think I don't recall any problem as that in my previous install...)

Cheers

Last edited by neodarkness (2010-04-13 22:03:42)

Offline

#2 2010-04-13 20:43:42

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: (SOLVED) zsh permission denied

Wait, are you root when doing it with only bash? Or both bash and zsh? If you're not given permission by /etc/fstab, then you're not gonna be able to mount it unless you're root.

Offline

#3 2010-04-13 20:58:27

neodarkness
Member
Registered: 2009-09-13
Posts: 31

Re: (SOLVED) zsh permission denied

I'm root both times.
I also tried
mount /dev/cdrom /media/cd
(cd exists), but that didnt work either as root on zsh

Offline

#4 2010-04-13 21:31:11

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: (SOLVED) zsh permission denied

neodarkness wrote:

I'm root both times.
I also tried
mount /dev/cdrom /media/cd
(cd exists), but that didnt work either as root on zsh

Try with:

# mount -t iso9660 /dev/cdrom /media/cd/

Offline

#5 2010-04-13 22:02:30

neodarkness
Member
Registered: 2009-09-13
Posts: 31

Re: (SOLVED) zsh permission denied

LOL...
Am I not stupid? xD

look what I had on my zshrc

alias mount=""

xD

Thanks guys

Offline

Board footer

Powered by FluxBB