Web Hosting Talk







View Full Version : Permission Denied


WoodShedd
04-25-2002, 12:11 AM
I just recently got a new system so I am in the process of getting used to it.

while untarring an archive:


$ gunzip -c sawmill6.3.5_x86_freebsd.tar.gz | tar xf -
tar: Could not create file sawmill/README : Permission denied
tar: Could not create file sawmill/LICENSE : Permission denied
tar: Could not create file sawmill/Extras/ldapauth.pl : Permission denied
tar: Could not create file sawmill/sawmill6.3.5 : Permission denied


I have root access, yet permission is denied. Most likely I'm missing something obvious. The question is... what is it?

=THanks

dot.K
04-25-2002, 03:19 AM
chmod the directory where u are tryin' to unzip the packet ?

priyadi
04-25-2002, 07:02 AM
If you have root access, then try gaining root access first by doing a 'su'. You executed the 'gunzip' from a non root account, hence the '$' sign in front of your command. It should be '#' if you are executing it from root.

Tim Greer
04-25-2002, 07:17 AM
Perhaps he typed su, and typed in the wrong root password and thought he was root? Heh.

WoodShedd
04-25-2002, 05:49 PM
That was it Tim. These things happen late at night:blush: