Hy guys,
can somebody give me ls -l dev/disk result?
I have changed permission wrongly!
sorry for bad thread!
Thanks
Hy guys,
can somebody give me ls -l dev/disk result?
I have changed permission wrongly!
sorry for bad thread!
Thanks
Hi
Did you mean something like;
ls -la /dev/sda
brw-rw---- 1 root disk 8, 0 2009-02-27 03:57 /dev/sda
–
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (i586) Kernel 2.6.27.15-2-default
up 1:30, 2 users, load average: 0.27, 0.34, 0.28
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.35
thanks…
but i think that I performed
something most dangerous…
I typed
chmod -R ugo-w /dev/disk
so recoursively I changed also the next folders :’(
What should i do to recovery forders and sublfofers originally state??
Plase help me!!
mine is like this
total 0
drwxr-xr-x 2 root root 520 2009-2-27 11:05 by-id
drwxr-xr-x 2 root root 100 2009-2-27 11:04 by-label
drwxr-xr-x 2 root root 220 2009-2-27 11:05 by-path
drwxr-xr-x 2 root root 160 2009-2-27 11:04 by-uuid
didn’t you back up your system
are you able to login to your system
if so try to compare my post and edit the things you want…
any way i’m not a geek…
just trying to help like a little drop in a ocean
We need to know three things before we can give you better advice.
That’s ok… so
1.I have just one linux partition and it is on usb HD
its filesystem is ext3 then I have ntfs partition on same usb HD,
after that I have internal HD with Win Vista on (I must not touch it anyway)
2.mount point is default (so /media)
drwxrwxrwx 1 paolo root 4096 4 feb 14:25 disk
drwxr-xr-x 2 root root 4096 27 feb 17:17 dvd
-rw-r--r-- 1 root root 83 28 feb 12:00 .hal-mtab
-rw------- 1 root root 0 28 feb 12:00 .hal-mtab-lock
thank you for your interesting…
It looks like /media/disk is NTFS because it is drwxrwxrwx, just a guess. It looks like /media/dvd is ext3 because it is drwxr-xr-x, another guess. I think there’s a chance they were not damaged, so let’s check. Do these commands now and post the results:
drwxrwxrwx 1 paolo root 0 4 feb 00:07 $RECYCLE.BIN
drwxrwxrwx 1 paolo root 0 4 feb 14:25 System Volume Information
dvd folder is emply bcause it was created by myself
There was no damage done. You cannot chmod or chown an NTFS disk. An NTFS disk ignores chmod and chown.
wow thanks!!
As you changed /dev/disk, you should just make sure, that the four directories by-id, by-label, by-path and by-uuid are root.root 755. Everything inside of these folders are symbolic links to /dev/sdXY partitions, which are created by the Udev demon at boot time.
So are you telling me that I should type
“chmod -R 755 /dev/disk”
as root, isn’ it?
Right!
You may just settle for having a look into /dev/disk. But, as I tend to be cynical about everything unchecked, I would do chmod.
And, afterwards, start midnight commander and check, if everything is well done. :shame: