Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Something vaguely like this happened to me a while ago, when copying files off a USB stick that I'd loaded up in Windows. I think it had something to do with files belonging to "special" Windows folders such as "My Pictures". If I remember rightly, applying an fmask to the mount solved the problem. You can do this in CIFS by using the options dir_mode and file_mode. It's not an ideal solution but it should work.
I have the same problem. It only occurs with JPG files that are automatically rotated to portrait mode by the Canon CameraWindow program. Renaming the files (under XP) does not help, but copying them to a new name and then renaming them back to the original name removes the problem. There is no visible evidence of strange protection bits under XP, at least none I can see with the ATTRIB program.
The problem is you do not have write permission to NTFS files/folders.
These NTFS permissions are set easily if you use a Windows Server.
On WinXP pro/home use the same NTFS permission as on Window Server.
To set these permissions on WinXP home, first you have to uncheck Simple File Sharing (in Folder Options in Control Panel or menu Tools/Folder Options when you browse in Windows Explorer, select View tab and in Advanced Settings list, you can see it if you scroll to the end).
After that, you can right click on folder which you like to change permission, select Properties and Security tab. Click or Add user who have permission to change your file, then check on prefer permissions.
If you use WinXP Home, you can start Windows in safe mode (use F8 key - then select Safe Mode) logon as Administrator.
Remember this Security tab appears only on NTFS volume.