fedora-users October 2011 archive
Main Archive Page > Month Archives  > fedora-users archives
fedora-users: OT: Changing MSDOS attributes from Linux?

OT: Changing MSDOS attributes from Linux?

From: Michael D. Setzer II <mikes_at_nospam>
Date: Thu Oct 06 2011 - 02:29:41 GMT
To: users@lists.fedoraproject.org

In the past days, we have a virus going around that readonly and
hidden attributes on files on students flashes in other labs.
They send the students to me for help, and I can kill the virus from
linux and remove the lnk files it puts on the flash, but linux sees all
the files fine, but in Windows, the files are still hidden.

I then have to open the file in Windows, and go to DOS and use
the attrib command to clear things.
attrib -r -h -s /S /D

Is there a Linux command that can change the DOS attributes on
flash devices with FAT and NTFS filesystems? mattrib does not
seem to work?

Thanks.

+----------------------------------------------------------+
  Michael D. Setzer II - Computer Science Instructor
  Guam Community College Computer Center
  mailto:mikes@kuentos.guam.net
  mailto:msetzerii@gmail.com
  http://www.guam.net/home/mikes
  Guam - Where America's Day Begins
  G4L Disk Imaging Project maintainer
  http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned: 19,471
Processing time: 32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

BOINC@HOME CREDITS
SETI 11286819.773693 | EINSTEIN 6657791.399851
ROSETTA 3738829.581515 | ABC 8496799.382981

-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines