← Back to team overview

lubuntu-desktop team mailing list archive

Re: text files bug

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/21/2011 07:23 PM, Jean-Pierre Vidal Piesset wrote:

> A text file copied and then pasted from a device to another (i did it
> with my usb key to my hdd and viceversa) is marked as an executable
> file ...

Try it with the usb key formatted as ext2 or ext3 and I think the issue
will no longer be there.

Try it in Ubuntu (as opposed to Lubuntu) with a FAT formatted USB key,
and I expect it *will* still happen.

> I think that this is a pcmanfm problem, but i really don't know. I'm
> using pcmanfm 0.9.7 on 10.04.

Unlikely.  Test that by using a Ubuntu LiveCD and nautilus to copy the
files around; I am fairly sure it will do the same thing.

> I've tested it in my three lubuntu machines, all did the same. I've
> tried it before and after the lxde/ppa update.

Probable Cause: NTFS and FAT filesystems do not have a per-file
executable flag, so files on them cannot be marked executable or
non-executable in a clear and consistent manner.  Linux does its best
when dealing with these filesystems, but will not be "perfect" in
maintaing Unix file permissions unless you use a more suitable filesystem.

Jonathan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1kwIUACgkQUGfT4+mKBLJ3VACeMJ6NcOnYr+KtjevF0Al7ZPx2
fk0An2Xy45HWmLyLXZh6U0NUQHq2vyrn
=Jf8D
-----END PGP SIGNATURE-----



References