This happens on Ubuntu almost each time I add a new device: Check that your are in plugdev group $ id uid=1000(alex) gid=1000(alex) groups=1000(alex),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),116(lpadmin),126(sambashare),127(kvm),129(libvirt),134(chrome-remote-desktop) If not (i.e. plugdev not displayed), add it: $ sudo usermod -aG plugdev alex If you get 'insufficient permissions for device: user in plugdev group; are your udev rules wrong' when trying to debug, you'll need to add your device: First i used lsusb to find my vendor id (here I guess google) $ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub ... Bus 001 Device 025: ID 18d1:4ee7 Google Inc. .. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub .. Bus 001 Device 020: ID 05e0:2106 Symbol Technologies USB2.1 Hub As suggested in https://developer.android.com/studio/run/device.html the solution was to sudo gedit /etc/udev/rules.d/51-android.rules Add th...
As I was facing this again trying to create amp pages for my main site www.tekartik.com , here is a concrete example for my changes Adding the proper DNS redirection in my domain provider (OVH in my case) www.tekartik.com. CNAME c.storage.googleapis.com. This was first giving the error: <Error> <Code>AccessDenied</Code> <Message>Access denied.</Message> <Details>Anonymous callers do not have storage.objects.list access to bucket www.tekartik.com.</Details> </Error> the solution was to configure my bucket as a website configuration : gsutil web set -m index.html -e 404.html gs://www.tekartik.com And to make all files I add public by default and not worry about ACL anymore, I can use gsutil defacl ch -u AllUsers:R gs://www.tekartik.com To make previous imported files public, I can use gsutil -m acl -r set public-read gs://www.tekartik.com
I have a simple lubuntu server where I setup a ssh server. While it is sufficient to access a driver/folder from another linux machine using sftp, it is a pain from Windows & Mac, so unfortunately, samba is still needed here. For simplicity I needed only one samba user that I could map to a single user on my lubuntu machine Following the various tutorial I ended up doing this with simple commands Install samba $ sudo apt-get install samba Add myuser to the samba $ sudo smbpasswd -a myuser Export the drive I needed (no guest user) $ sudo vi /etc/samba/smb.conf to add the following export (no real option needed here) [files] path = /media/music/files writeable = yes save and Restart samba $ sudo service smbd restart