Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm worried about my Windows apps modifying the files in Ubuntu, as there is software in Windows that can see and can modify files on the Linux partition. Can files or applications run normally in Ubuntu after modifying? If so, how can I watch the files for changes in Ubuntu?

share|improve this question
    
Please specify what do you mean by modifying? –  Frantique Nov 16 '12 at 11:24
    
Are you afraid that an update in windows opens your ubuntu partition and changes files there? Can you show where you got that suspicion? –  Nanne Nov 16 '12 at 11:44

3 Answers 3

You can use auditd or inotify to monitor file changes.

share|improve this answer

Altrough you question is ambigous, I will give you a method to monitor your files.

If you want to see the list of files modified you can use the

find / -type f -mtime -1

for example, in this case those modified in the last 1 day.

share|improve this answer
    
This will assume the editor of the file honours to change the modification timestamp on the file. You can circumvent that and you won't notice. –  gertvdijk Nov 16 '12 at 11:31

In general, yes, files on Ubuntu will be fine if they're modified in a way they're intended to be, even though it's from Windows. For example, editing an image with Photoshop.

However, there are a bunch of little exceptions, and the only way to find out for sure is to experiment:

  • The safety of your Linux partition will depend on the quality of the Windows filesystem driver: will it correctly use the journaling? Adjust the timestamps appropriately? Will it lose data, or is it rock solid? Etc. Personally, I'd look into exactly who made the Windows software which will be used to mount the Linux partitions.

  • Some file types are platform independent (e.g. png), but some are not (e.g. text). If you edit a Linux text file in Wordpad, you may find that every line looks odd because line endings are different in the two systems.

  • There are other odd exceptions such as Linux filenames always being case sensitive, while this is not the case for all Windows filesystems. And so small little oddities can creep up.

Most of these issues aren't tragic and can be easily corrected or worked around. But they're things to keep in mind.

My advice: don't go through the hassle of multi-boot situations. Just get a second computer (a cheap one if necessary) to run the other OS on. Or, boot another OS in a virtual machine.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.