l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2008 Jan 04 09:51

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Access change, possible virus problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] Access change, possible virus problem

Last week my Ubuntu 7.10 system started denying me the right to create or delete directories in a separate data partition created when we setup my dual-boot (WinXP2) system at an installfest last October. I'd had no trouble doing this before last week. I can create and delete files within the directories, though.

Here's a typical ls -l for a folder within the partition:
drwxrwx--- 8 root plugdev 8192 2007-10-06 18:58 Clients

Here's the same for the partition itself, named /media/Data/mydata:
steve@SteveW:~$ ls -l /media/Data
total 40
-rwxrwx--- 1 root plugdev 8192 1980-01-01 00:00 fsck0000.rec
-rwxrwx--- 1 root plugdev 8192 1980-01-01 00:00 fsck0001.rec
dr-xr-x--- 42 root plugdev 8192 2007-10-06 23:58 mydata
drwxrwx--- 2 root plugdev 8192 2007-10-06 22:38 Recycled
-rwxrwx--- 1 root plugdev 8192 2007-12-30 00:29 vsnap.idx

Here's the same for all drives:
steve@SteveW:~$ ls -l /media
total 52
lrwxrwxrwx 1 root root 6 2007-10-06 07:12 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 2007-10-06 07:12 cdrom0
drwxrwx--- 5 root plugdev 8192 1969-12-31 16:00 Data
drwx------ 7 steve root 32768 1969-12-31 16:00 EXTERNAL
drwxrwx--- 1 root plugdev 8192 2007-12-29 16:45 sda2

And here's the same for a folder in my home dir:
drwxr-xr-x 2 steve steve 4096 2007-12-01 17:56 Desktop

(EXTERNAL is an external USB HD, and sda2 is the Windows XP partition.)

One suspicious event occurred when I tried to copy data from one of my kid's CDs to a flash drive. Turns out the CD had multiple viruses on it. Ubuntu crashed several times just copying the files, while other times the flash drive would refuse to accept any more files although there was plenty of room on it, and it would unmount itself. I later booted into Windows and scanned everything for viruses. It only found them on the CD, not on either the Windows or data partition, and not on the flash drive. (Of course, it couldn't see the Linux partition.)

Anyway, I don't know what changed regarding permissions or ownership, whether something got corrupted or a virus somehow became activated. (Can't see how the latter could have happened since all I did was copy.) Should I scan for viruses on the Linux system? (Any recommendations for doing that? I've got no scanner installed yet.)

In any case, how can I fix the problem? Change permissions or ownership? Seems like the data partition, which I alone use, should have the same ownership as my home directory. I could use the chown command on everything in the partition. While that seems extreme, it would be more secure than giving permission to all users in the partition. Wish I knew all the ownerships and permissions before the corruption. I have system backups made with the default settings of sbackup, but this backs up only the Linux system info and essentials. I also have backups of the data partition made with Norton Ghost, which is Windows/DOS software.

Any advice would be appreciated.

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!