Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debian package directory /usr/src/gve-1.3.4 missing owner execute permissions #44

Open
MKrupauskas opened this issue Dec 22, 2023 · 0 comments

Comments

@MKrupauskas
Copy link

MKrupauskas commented Dec 22, 2023

The /usr/src/gve-1.3.4 directory in the debian package is missing execution permissions for the owner. The current permissions for it are drw-r-xr-x. Please update the owner permissions for that directory to include execute permissions.

For context some of our automation is failing when unpacking the gve debian package because of this as it traverses the path of the package and extracts it, sets the file permissions to the ones specified in the package (drw-r-xr-x), and then fails to write further files under that directory.

$ wget https://github.com/GoogleCloudPlatform/compute-virtual-ethernet-linux/releases/download/v1.3.4/gve-dkms_1.3.4_all.deb
...
$ mkdir gve

$ dpkg --extract gve-dkms_1.3.4_all.deb gve

$ ls -l gve/usr/src 
total 4
drw-r-xr-x 2 mykolas user 4096 Nov 17 19:30 gve-1.3.4

$ touch gve/usr/src/gve-1.3.4/test
touch: cannot touch 'gve/usr/src/gve-1.3.4/test': Permission denied

To fix we need to do this:

$ sudo chmod u+x gve/usr/src/gve-1.3.4     

$ ls -l gve/usr/src                   
total 4
drwxr-xrwx 2 mykolas user 4096 Nov 17 19:30 gve-1.3.4

$ touch gve/usr/src/gve-1.3.4/test    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant