[CMake] Desktop icon not safe (missing +x ) on cmake deb file

Gonzalo Garramuño ggarra13 at gmail.com
Sun Mar 19 15:41:30 EDT 2017



El 19/03/2017 a las 15:13, Gonzalo Garramuño escribió:
> Hi,
>
> I had a program which I compile with cmake.  This program was on an 
> NTFS partition with permissions: defaults.  This meant all files were 
> owned by root with 777 permissions.   This worked fine but it was not 
> secure and created problems with the postrm/posinst scripts.
>
> Recently I tried changing my fstab to mount the partition with user 
> and permissions,like:
>
> UUID=98222A3D222A20AC  /media/gga/Datos ntfs-3g 
> auto,users,permissions,exec 0 0
>
> Now, when I package my application into a deb file, it works.  I get:
>
> -rw-r--r-- 1 gga gga 24M mar 19 14:55 mrViewer-v3.5.4-Linux-64.deb
>
I figured it out.  For reference, I had to change the fstab file to:

UUID=98222A3D222A20AC  /media/gga/Datos ntfs-3g 
auto,users,permissions,exec,uid=1000,gid=1000,umask=022 0 0

-- 
Gonzalo Garramuño



More information about the CMake mailing list