[PyKDE] x bit cleared when eric saves

Detlev Offenbach detlev at die-offenbachs.de
Mon Nov 15 21:18:47 GMT 2004


Hi,

you have the option "Create backup file upon save" enabled. This causes the 
original file to be renamed to ...~ and a new file generated with the 
original name. This file doesn't get the execute bit set automatically.

Detlev

Am Sonntag, 14. November 2004 22:04 schrieb Dave S:
> Im getting back in my Python saddle, and started to code again,
>
> I am sure that this is not a bug in eric but its confusing me.  I have
> several python scripts in a sub directory. All executable.
>
> bash-2.05b$ ls -al
> total 16
> drwxr-xr-x  2 dave users 4096 Nov 14 20:55 .
> drwxr-xr-x  7 dave users 4096 Nov 14 20:22 ..
> -rwxr-xr-x  1 dave users    0 Nov 14 20:20 archive_read.py
> -rwxr-xr-x  1 dave users 3399 Nov 13 23:17 ftsed.py
> -rwxr-xr-x  1 dave users 2510 Nov 14 20:48 html_strip.py
> -rwxr-xr-x  1 dave users    0 Nov 14 20:20 valid_day.py
>
> I edit my script with eric, in this case html_strip.py, save it & try
> and execute it from xterm, but my html_strip.py has had its execute
> attribute cleared.
>
> bash-2.05b$ ls -al
> total 20
> drwxr-xr-x  2 dave users 4096 Nov 14 20:56 .
> drwxr-xr-x  7 dave users 4096 Nov 14 20:22 ..
> -rwxr-xr-x  1 dave users    0 Nov 14 20:20 archive_read.py
> -rwxr-xr-x  1 dave users 3399 Nov 13 23:17 ftsed.py
> -rw-r--r--  1 dave users 2512 Nov 14 20:56 html_strip.py
> -rwxr-xr-x  1 dave users 2510 Nov 14 20:48 html_strip.py~
> -rwxr-xr-x  1 dave users    0 Nov 14 20:20 valid_day.py
> bash-2.05b$
>
> I have to chmod u+x to be able to execute it every time, this is
> frustrating.
> html_strip.py~ keeps its execute attribute but I guess this is eric
> internals.
>
> oh yes, eric 3.5
>
> Any ideas
>
> Cheers
> Dave
>
>
>
>
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the PyQt mailing list