1835249 Members
2379 Online
110078 Solutions
New Discussion

Re: Problem with ls!

 
Paula J Frazer-Campbell
Honored Contributor

Re: Problem with ls!

Hi

Try this:-

1. Create a new user the same as root and try that user.

2. Do all the users use the same .profile?

3. When did this start? What has been changged?

Paula

If you can spell SysAdmin then you is one - anon
Rory R Hammond
Trusted Contributor

Re: Problem with ls!

Massimo

I can recreate this sort of thing by
creating a function
ls()
{
echo ""
}

Is it possible that ls is aliased in something like the /etc/profile?

Rory
There are a 100 ways to do things and 97 of them are right
Tim Sanko
Trusted Contributor

Re: Problem with ls!

I have also seen flakiness of all sorts in the past.

Try unmounting the drive, and fscking the filesystem, then remount, and then see. If this is a mirrored drive use solstice to unmirror, and then try again.

Tim
Timothy P. Jackson
Valued Contributor

Re: Problem with ls!

Here is a shot in the dark.

I ran into a problem that made no sense at all....where I could not do a ls from a normal user login. Come to find out that someone over wrote the shell comand. Are the normal users using a different shell than root is?

Tim
A. Clay Stephenson
Acclaimed Contributor

Re: Problem with ls!

My best guess is that the permissions of the mountpoint are very restrictive; possibly even 000. Umount the filesystem and then do an ls -l on the mountpoint. You probably need to chmod 755 (or something similar) and then remount the filesystem.

If it ain't broke, I can fix that.