LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-14-2004, 11:30 PM   #1
spaceagedevice
LQ Newbie
 
Registered: Apr 2004
Posts: 8

Rep: Reputation: 0
Angry FIle permissions changed after power surge..HELP!!


I'm running SUSE 9.0 update to KDE 3.2.2 , I recently had a power surge at my house and now when I access /windows/D drive and try to delete files it says I cannot delete or change permissions. I am logged in as root when attempting this. I have no idea how to fix this. It seems all folders on /windows/D drive cannot be deleted or changed permissions!
 
Old 06-15-2004, 01:58 AM   #2
Qucho
Member
 
Registered: Mar 2004
Location: Colorado, US
Distribution: Debian "Sarge"
Posts: 228

Rep: Reputation: 30
Is not about the user but about the permission on the drive. If the drive is mounted as read-only it shall be so :P
Is your drive been mounted at boot time? If so what is the content of your /etc/fstab file ?
 
Old 06-15-2004, 02:22 AM   #3
Qucho
Member
 
Registered: Mar 2004
Location: Colorado, US
Distribution: Debian "Sarge"
Posts: 228

Rep: Reputation: 30
Just occurred to me... Might your DOS partitions got corrupted?
You might want to run:
~#: dosfsck /dev/hda
Replace 'hda' for the corresponding HHD.
 
Old 06-15-2004, 07:20 PM   #4
spaceagedevice
LQ Newbie
 
Registered: Apr 2004
Posts: 8

Original Poster
Rep: Reputation: 0
trying to get it to work still

weird thing is files I have been trying to delete somehow get deleted over time. What do I do now?
dosfsck 2.10, 22 Sep 2003, FAT32, LFN
There are differences between boot sector and its backup.
Differences: (offsetriginal/backup)
71:20/00, 72:20/00, 73:20/00, 74:20/00, 75:20/00, 76:20/00, 77:20/00
, 78:20/00, 79:20/00, 80:20/00, 81:20/00
1) Copy original to backup
2) Copy backup to original
3) No action
?

?what should I do??
 
Old 06-15-2004, 07:26 PM   #5
spaceagedevice
LQ Newbie
 
Registered: Apr 2004
Posts: 8

Original Poster
Rep: Reputation: 0
fstab

/dev/hda2 / reiserfs acl,user_xattr 1 1
/dev/hdb1 /windows/C vfat users,gid=users,umask=0002,iocharset=utf8 0 0
/dev/hde1 /windows/D vfat users,gid=users,umask=0002,iocharset=utf8 0 0
/dev/hda1 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/cdrecorder /media/cdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/dvd /media/dvd subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0

dunno what to do... still learning myself after 2 years.
 
Old 06-16-2004, 04:45 AM   #6
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Re: FIle permissions changed after power surge..HELP!!

Quote:
Originally posted by spaceagedevice
now when I access /windows/D drive and try to delete files it says I cannot delete or change permissions. I am logged in as root when attempting this. I have no idea how to fix this. It seems all folders on /windows/D drive cannot be deleted or changed permissions!
Seems to me that the first thing we want to know is what are the actual permissions on the files in question.

Who actually owns them? What permissions do they now have? Look at them in a file manager and see.

Also, do these files operate properly under Windows? You may need to run ScanDisk or something to fix this error on the Windows side first.

Hope this helps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PC network changed after power outage Trio3b Linux - Networking 0 11-29-2005 02:19 AM
DISCUSSION: Laptop crashes when power source is changed fix bufo333 LinuxAnswers Discussion 1 02-06-2005 11:21 AM
file permissions cant be changed! shishimo Fedora 1 12-04-2004 10:23 AM
DISCUSSION: Howto stop your laptop from crashing when power source is changed. bufo333 LinuxAnswers Discussion 1 07-24-2004 03:11 PM
Something Changed File Permissions anthony114 Linux - Security 2 08-12-2003 08:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration