On Mon, 14 Mar 2005 23:40:32 +0000, Wayne Stallwood ALUGlist@digimatic.plus.com wrote:
What I didn't understand is that the read only attribute when used from within Windows to a samba share adjusts the file permissions (on the Linux end) to emulate the read only behaviour in windows. So you can have a folder set up that you think you have rwx permissions for as a given user, but if one of the files you copy into it from within Windows has the read only file attribute set then you will not be able to modify that file (from within either Windows or non root Linux, because it will be set to r_x) until you reset the permissions (from within Linux) or uncheck the read only file attribute (from within Windows)
Ah, well, at least vi warns you about trying to edit read only files, and it does let you write to the file (how? not sure of all conditions) if you force it with ":w!"
rm also warns you about write protected files, but can be forced too.
Are there many other permissions permissive applications?
Tim.