I am trying this
apiVersion: v1
kind: Secret
metadata:
name: stsadmin-keystores
labels:
tier: backend
app: stsadmin-keystores
namespace: {{ .Values.namespace }}
type: Opaque
data: {{ (.Files.Glob "secrets/*.jks").AsSecrets | indent 2 }}
and this works and I get the below on my pod
ls -lrt
--rw-r--r-- 1 root root 34822 Jul 11 05:49 truststore.jks
-rw-r--r-- 1 root root 5928 Jul 11 05:49 sts_client.jks
-rw-r--r-- 1 root root 5923 Jul 11 05:49 sp_client.jks
-rw-r--r-- 1 root root 5927 Jul 11 05:49 mb_client.jks
-rw-r--r-- 1 root root 5927 Jul 11 05:49 ch_client.jks
But when I am trying to get the secrets directory path from the values
apiVersion: v1
kind: Secret
metadata:
name: stsadmin-keystores
labels:
tier: backend
app: stsadmin-keystores
namespace: {{ .Values.namespace }}
type: Opaque
data:
{{- $path :=printf "%q/*.jks" .Values.secretSelector }}
{{ (.Files.Glob $path ).AsSecrets | indent 2 }}
the .jks files are copied as directories
ls -lrt
total 4
drwxrwxrwt 2 root root 40 Jul 11 04:38 mb_client.jks
drwxrwxrwt 2 root root 40 Jul 11 04:38 sp_client.jks
drwxrwxrwt 2 root root 40 Jul 11 04:38 sts_client.jks
drwxrwxrwt 2 root root 40 Jul 11 04:38 truststore.jks
drwxrwxrwt 7 root root 160 Jul 11 04:38 ch_client.jks
Can somebody help - where I am going wrong. I have spent days trying to fix this
Related
I'm trying to mount a volume as root.
I am using aws-efs-csi-driver v1.3.0 on Kubernetes 1.17 in EKS and trying to use Dynamic Provisioning.
My issue is that no matter how I try to specify the UID/GID, it still creates it with a dynamically allocated UID and GID.
Here are my resources:
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: test-sc
provisioner: efs.csi.aws.com
parameters:
provisioningMode: efs-ap
fileSystemId: fs-ddd8b9e9
directoryPerms: "775"
uid: "0"
gid: "0"
reclaimPolicy: Retain
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: test-pvc
spec:
accessModes:
- ReadWriteOnce
storageClassName: test-sc
resources:
requests:
storage: 50Gi
---
kind: Deployment
apiVersion: apps/v1
metadata:
name: test
labels:
app: test
spec:
strategy:
type: Recreate
selector:
matchLabels:
app: test
replicas: 1
template:
metadata:
name: test
labels:
app: test
spec:
containers:
- name: test
image: ubuntu:latest
command: [ "/bin/sh" ]
args: [ "-c", "while true; do echo $(date -u) >> /example/out.txt; sleep 5; done" ]
imagePullPolicy: Always
volumeMounts:
- name: test-data
mountPath: /data
securityContext:
runAsUser: 0
runAsGroup: 0
fsGroup: 0
volumes:
- name: test-data
persistentVolumeClaim:
claimName: test-pvc
My issue is that I want the data directory to have the root:root permissions, and not the dynamically allocated permissions (50004:50004 in this case)
❯ kubectl exec -it test-9588c455c-qqdw6 -- bash
root#test-9588c455c-qqdw6:/# ls -las
total 4
0 drwxr-xr-x 1 root root 29 Oct 15 09:44 .
0 drwxr-xr-x 1 root root 29 Oct 15 09:44 ..
0 -rwxr-xr-x 1 root root 0 Oct 15 09:44 .dockerenv
0 lrwxrwxrwx 1 root root 7 Sep 21 16:48 bin -> usr/bin
0 drwxr-xr-x 2 root root 6 Apr 15 2020 boot
4 drwxrwxr-x 2 50004 50004 6144 Oct 15 09:44 data
0 drwxr-xr-x 5 root root 360 Oct 15 09:44 dev
0 drwxr-xr-x 1 root root 66 Oct 15 09:44 etc
0 drwxr-xr-x 2 root root 6 Apr 15 2020 home
0 lrwxrwxrwx 1 root root 7 Sep 21 16:48 lib -> usr/lib
0 lrwxrwxrwx 1 root root 9 Sep 21 16:48 lib32 -> usr/lib32
0 lrwxrwxrwx 1 root root 9 Sep 21 16:48 lib64 -> usr/lib64
0 lrwxrwxrwx 1 root root 10 Sep 21 16:48 libx32 -> usr/libx32
0 drwxr-xr-x 2 root root 6 Sep 21 16:48 media
0 drwxr-xr-x 2 root root 6 Sep 21 16:48 mnt
0 drwxr-xr-x 2 root root 6 Sep 21 16:48 opt
0 dr-xr-xr-x 415 root root 0 Oct 15 09:44 proc
0 drwx------ 2 root root 37 Sep 21 17:00 root
0 drwxr-xr-x 1 root root 21 Oct 15 09:44 run
0 lrwxrwxrwx 1 root root 8 Sep 21 16:48 sbin -> usr/sbin
0 drwxr-xr-x 2 root root 6 Sep 21 16:48 srv
0 dr-xr-xr-x 13 root root 0 Jun 11 09:16 sys
0 drwxrwxrwt 2 root root 6 Sep 21 17:00 tmp
0 drwxr-xr-x 13 root root 145 Sep 21 16:48 usr
0 drwxr-xr-x 11 root root 139 Sep 21 17:00 var
root#test-9588c455c-qqdw6:/# exit
Indeed annoying... in short, the UID/GID we specified will be ignored. Please take a look here. If your workload requires same UID/GID as the mounted volume, a workaround is add code to runas the same UID/GID as the mounted volume in entrypoint script.
I am using configmaps to populate configuration of few services. One container though is having a weird behavior. Several directories are created upon instanciation and then new ones every 2 minutes:
0 drwxr-xr-x 4 root root 90 Feb 15 14:45 ..2982_15_02_14_45_49.335148891
0 drwxr-xr-x 4 root root 90 Feb 15 14:45 ..2982_15_02_14_45_52.091968736
0 drwxr-xr-x 4 root root 90 Feb 15 14:45 ..2982_15_02_14_45_53.797898431
0 drwxr-xr-x 4 root root 90 Feb 15 14:45 ..2982_15_02_14_45_54.421758226
0 drwxr-xr-x 4 root root 90 Feb 15 14:45 ..2982_15_02_14_45_56.209637705
0 drwxr-xr-x 4 root root 90 Feb 15 14:46 ..2982_15_02_14_46_00.970889748
0 drwxr-xr-x 4 root root 90 Feb 15 14:46 ..2982_15_02_14_46_08.301261923
[..]
0 drwxr-xr-x 4 root root 90 Feb 15 15:22 ..2982_15_02_15_22_01.877596759
0 drwxr-xr-x 4 root root 90 Feb 15 15:24 ..2982_15_02_15_24_01.626300874
0 drwxr-xr-x 4 root root 90 Feb 15 15:26 ..2982_15_02_15_26_01.042779297
0 drwxr-xr-x 4 root root 90 Feb 15 15:28 ..2982_15_02_15_28_01.708510604
0 drwxr-xr-x 4 root root 90 Feb 15 15:30 ..2982_15_02_15_30_01.032055163
0 drwxr-xr-x 4 root root 90 Feb 15 15:32 ..2982_15_02_15_32_01.089879198
0 drwxr-xr-x 4 root root 90 Feb 15 15:34 ..2982_15_02_15_34_02.798668133
0 lrwxrwxrwx 1 root root 31 Feb 15 15:34 ..data -> ..2982_15_02_15_34_02.798668133
4 drwxr-xr-x 2 root root 4096 Feb 15 14:45 apps.d
4 drwxr-xr-x 2 root root 4096 Feb 15 14:45 conf.d
0 lrwxrwxrwx 1 root root 21 Feb 15 14:45 fastcgi-params -> ..data/fastcgi-params
0 lrwxrwxrwx 1 root root 20 Feb 15 14:45 frontend.conf -> ..data/frontend.conf
0 lrwxrwxrwx 1 root root 17 Feb 15 14:45 nginx.conf -> ..data/nginx.conf
0 drwxrwxrwt 3 root root 120 Feb 15 14:45 ssl
YAML looks like this:
volumeMounts:
[..]
- name: default-nginx-config
mountPath: /etc/nginx
- name: default-nginx-slash-srv
mountPath: /srv
volumes:
[..]
- name: default-nginx-config
configMap:
name: web-frontend-default
items:
- key: fastcgi-params
path: fastcgi-params
- key: frontend.conf
path: frontend.conf
- key: nginx.conf
path: nginx.conf
- key: internal.conf
path: conf.d/internal.conf
- key: common-static-app.conf
path: conf.d/common-static-app.conf
- key: common-backends.conf
path: conf.d/common-backends.conf
- key: common-dynamic-app.conf
path: conf.d/common-dynamic-app.conf
- key: 00-generic.conf
path: apps.d/00-generic.conf
- key: default.conf
path: apps.d/default.conf
- name: default-nginx-slash-srv
configMap:
name: web-frontend-default
items:
- key: probe.html
path: probe.html
Any hint will be, of course, much appreciated :-)
Thank you
Well fixed :-)
Problem was two volumes mounted in the same target directory. k8s doesn't seem to like it.
Thank you Eric!
I was also having issues with two files being accessed before they were fully mounted. The workaround was making my ENTRYPOINT a bash script that simply moved them from the mount directory in the root level, to the actual file location they were being used, then calling the program binary.
How do I read from these sensors? I just found their location, but the folder appears to contain softlinks to another location. My goal is to monitor the gyroscope.
$ ls /sys/bus/iio/devices/iio:device*
lrwxrwxrwx 1 root root 0 Jan 31 23:18 /sys/bus/iio/devices/iio:device0 -> ../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:0483:91D1.0018/HID-SENSOR-200073.1.auto/iio:device0
lrwxrwxrwx 1 root root 0 Jan 31 23:18 /sys/bus/iio/devices/iio:device1 -> ../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:0483:91D1.0018/HID-SENSOR-200076.2.auto/iio:device1
lrwxrwxrwx 1 root root 0 Jan 31 23:18 /sys/bus/iio/devices/iio:device2 -> ../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:0483:91D1.0018/HID-SENSOR-200083.3.auto/iio:device2
lrwxrwxrwx 1 root root 0 Jan 31 23:18 /sys/bus/iio/devices/iio:device3 -> ../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:0483:91D1.0018/HID-SENSOR-200086.4.auto/iio:device3
lrwxrwxrwx 1 root root 0 Jan 31 23:18 /sys/bus/iio/devices/iio:device4 -> ../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:0483:91D1.0018/HID-SENSOR-20008a.5.auto/iio:device4
lrwxrwxrwx 1 root root 0 Jan 31 23:18 /sys/bus/iio/devices/iio:device5 -> ../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:0483:91D1.0018/HID-SENSOR-200041.6.auto/iio:device5
Using cat:
$ cat /sys/bus/iio/devices/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:0483:91D1.0018/HID-SENSOR-200073.1.auto/iio:device0
Here is a nice presentation on IIO subsystem.
I have the string value that has
. I want replace this with \n. and when I convert it to html format after each line comes to another line. But this not work.
$StdOut = 'total 40
drwxr-xr-x 3 root root 4096 Jun 16 14:55 .
drwxr-xr-x 5 root root 4096 Jun 16 14:54 ..
-rw------- 1 root root 0 Jun 16 14:55 cimserver_start.lock
srwxrwxrwx 1 root root 0
Jun 16 14:55 cim.socket
drwxr-xr-x 2 root root 4096 Jun 16 17:58 localauth
-rw------- 1 root root 6 Jun 16 14:55 scx-cimd.pid
'
$CResult = $StdOut -replace "
", "\n"
After using Convert-html I have the text like this :
'total 40\ndrwxr-xr-x 3 root root 4096 Jun 16 14:55 .\ndrwxr-xr-x 5 root root 4096 Jun 16 14:54 ..\n-rw------- 1 root root 0 Jun 16 14:55 cimserver_start.lock\nsrwxrwxrwx 1 root root 0 Jun 16 14:55
cim.socket\ndrwxr-xr-x 2 root root 4096 Jun 16 17:58 localauth\n-rw------- 1 root root 6 Jun 16 14:55 scx-cimd.pid\n
'
How can I do this?
The approach Mathias mentions works fine for newlines. But if you have (or could have) other entity refs then I would use the HtmlDecode method e.g.
Add-Assembly System.Web
[System.Web.HttpUtility]::HtmlDecode($StdOut)
Outputs:
total 40
drwxr-xr-x 3 root root 4096 Jun 16 14:55 .
drwxr-xr-x 5 root root 4096 Jun 16 14:54 ..
-rw------- 1 root root 0 Jun 16 14:55 cimserver_start.lock
srwxrwxrwx 1 root root 0
PS C:\WINDOWS\system32> Add-Assembly System.Web
Add-Assembly : The term 'Add-Assembly' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling of
the name, or if
a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Add-Assembly System.Web
+ ~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Add-Assembly:String) [],
CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Try this
$null = [Reflection.Assembly]::LoadWithPartialName('System.Web')
[System.Web.HttpUtility]::HtmlDecode($StdOut)
Gives me
total 40
drwxr-xr-x 3 root root 4096 Jun 16 14:55 .
drwxr-xr-x 5 root root 4096 Jun 16 14:54 ..
-rw------- 1 root root 0 Jun 16 14:55 cimserver_start.lock
srwxrwxrwx 1 root root 0
My Meteor application keeps crashing with this message when I type mrt (mrt should start the Meteor application):
Unexpected mongo exit code 45. Restarting.
Unexpected mongo exit code 45. Restarting.
Unexpected mongo exit code 45. Restarting.
Can't start mongod
MongoDB cannot open or obtain a lock on a file
Doing it with sudo mrt, it works.
I got to this error after fixing other erros. I fixed the errors I got before by typing:
sudo chmod -R 777 ./
Before, I had other errors. But now I do not know what it could be as there shouldn't be differences between root and my user in that directory.
For Non-Meteor users: Meteor has a little mongodb in its .meteor directory.
What could be the reason?
This is the requested output from ls -Rl .meteor/ | grep root executed as a normal user :
drwxrwxrwx 4 root root 4096 Jan 3 19:59 local
-rwxrwxrwx 1 root root 220 Jan 3 11:51 packages
-rwxrwxrwx 1 root root 8 Dec 29 12:35 release
drwxrwxrwx 4 root root 4096 Jan 3 19:59 build
drwxrwxrwx 2 vagrant root 4096 Dec 29 12:39 db
-rwxrwxrwx 1 root root 151 Jan 3 19:59 main.js
drwxrwxrwx 5 root root 4096 Jan 3 19:59 programs
-rwxrwxrwx 1 root root 650 Jan 3 19:59 README
drwxrwxrwx 2 root root 4096 Jan 3 19:59 server
-rwxrwxrwx 1 root root 459 Jan 3 19:59 star.json
drwxrwxrwx 4 root root 4096 Jan 3 19:59 client
drwxrwxrwx 4 root root 4096 Jan 3 19:59 ctl
drwxrwxrwx 5 root root 4096 Jan 3 19:59 server
drwxrwxrwx 3 root root 4096 Jan 3 19:59 app
-rwxrwxrwx 1 root root 5836 Jan 3 19:59 app.html
drwxrwxrwx 2 root root 4096 Jan 3 19:59 packages
-rwxrwxrwx 1 root root 16184 Jan 3 19:59 program.json
drwxrwxrwx 3 root root 4096 Jan 3 19:59 app
drwxrwxrwx 3 root root 4096 Jan 3 19:59 lib
-rwxrwxrwx 1 root root 1429 Jan 3 19:59 main.css
-rwxrwxrwx 1 root root 4153 Jan 3 19:59 main.js
-rwxrwxrwx 1 root root 395 Jan 3 19:59 template.main.js
-rwxrwxrwx 1 root root 337 Jan 3 19:59 template.templates.js
drwxrwxrwx 3 root root 4096 Jan 3 19:59 highlight.js
-rwxrwxrwx 1 root root 17848 Jan 3 19:59 highlight.pack.js
drwxrwxrwx 2 root root 4096 Jan 3 19:59 styles
-rwxrwxrwx 1 root root 2552 Jan 3 19:59 default.css
-rwxrwxrwx 1 root root 1557 Jan 3 19:59 application-configuration.js
-rwxrwxrwx 1 root root 131 Jan 3 19:59 application-configuration.js.map
-rwxrwxrwx 1 root root 10296 Jan 3 19:59 autoupdate.js
-rwxrwxrwx 1 root root 4344 Jan 3 19:59 autoupdate.js.map
-rwxrwxrwx 1 root root 30962 Jan 3 19:59 check.js
-rwxrwxrwx 1 root root 13769 Jan 3 19:59 check.js.map
-rwxrwxrwx 1 root root 34115 Jan 3 19:59 deps.js
-rwxrwxrwx 1 root root 12796 Jan 3 19:59 deps.js.map
-rwxrwxrwx 1 root root 59298 Jan 3 19:59 domutils.js
-rwxrwxrwx 1 root root 25408 Jan 3 19:59 domutils.js.map
-rwxrwxrwx 1 root root 67567 Jan 3 19:59 ejson.js
-rwxrwxrwx 1 root root 21692 Jan 3 19:59 ejson.js.map
-rwxrwxrwx 1 root root 1562 Jan 3 19:59 follower-livedata.js
-rwxrwxrwx 1 root root 125 Jan 3 19:59 follower-livedata.js.map
-rwxrwxrwx 1 root root 48406 Jan 3 19:59 geojson-utils.js
-rwxrwxrwx 1 root root 15990 Jan 3 19:59 geojson-utils.js.map
-rwxrwxrwx 1 root root 493 Jan 3 19:59 global-imports.js
-rwxrwxrwx 1 root root 37547 Jan 3 19:59 handlebars.js
-rwxrwxrwx 1 root root 16703 Jan 3 19:59 handlebars.js.map
-rwxrwxrwx 1 root root 1202072 Jan 3 19:59 jquery.js
-rwxrwxrwx 1 root root 366987 Jan 3 19:59 jquery.js.map
-rwxrwxrwx 1 root root 58410 Jan 3 19:59 json.js
-rwxrwxrwx 1 root root 21539 Jan 3 19:59 json.js.map
-rwxrwxrwx 1 root root 560614 Jan 3 19:59 livedata.js
-rwxrwxrwx 1 root root 189125 Jan 3 19:59 livedata.js.map
-rwxrwxrwx 1 root root 62132 Jan 3 19:59 liverange.js
-rwxrwxrwx 1 root root 29655 Jan 3 19:59 liverange.js.map
-rwxrwxrwx 1 root root 27875 Jan 3 19:59 logging.js
-rwxrwxrwx 1 root root 10321 Jan 3 19:59 logging.js.map
-rwxrwxrwx 1 root root 102074 Jan 3 19:59 marked.js
-rwxrwxrwx 1 root root 33820 Jan 3 19:59 marked.js.map
-rwxrwxrwx 1 root root 82210 Jan 3 19:59 meteor.js
-rwxrwxrwx 1 root root 26826 Jan 3 19:59 meteor.js.map
-rwxrwxrwx 1 root root 323368 Jan 3 19:59 minimongo.js
-rwxrwxrwx 1 root root 121486 Jan 3 19:59 minimongo.js.map
-rwxrwxrwx 1 root root 102219 Jan 3 19:59 mongo-livedata.js
-rwxrwxrwx 1 root root 39683 Jan 3 19:59 mongo-livedata.js.map
-rwxrwxrwx 1 root root 20462 Jan 3 19:59 ordered-dict.js
-rwxrwxrwx 1 root root 7503 Jan 3 19:59 ordered-dict.js.map
-rwxrwxrwx 1 root root 53364 Jan 3 19:59 page-js-ie-support.js
-rwxrwxrwx 1 root root 13636 Jan 3 19:59 page-js-ie-support.js.map
-rwxrwxrwx 1 root root 2558 Jan 3 19:59 preserve-inputs.js
-rwxrwxrwx 1 root root 471 Jan 3 19:59 preserve-inputs.js.map
-rwxrwxrwx 1 root root 21800 Jan 3 19:59 random.js
-rwxrwxrwx 1 root root 8299 Jan 3 19:59 random.js.map
-rwxrwxrwx 1 root root 13878 Jan 3 19:59 reactive-dict.js
-rwxrwxrwx 1 root root 5176 Jan 3 19:59 reactive-dict.js.map
-rwxrwxrwx 1 root root 19595 Jan 3 19:59 reload.js
-rwxrwxrwx 1 root root 7551 Jan 3 19:59 reload.js.map
-rwxrwxrwx 1 root root 44685 Jan 3 19:59 router.js
-rwxrwxrwx 1 root root 13728 Jan 3 19:59 router.js.map
-rwxrwxrwx 1 root root 3314 Jan 3 19:59 session.js
-rwxrwxrwx 1 root root 661 Jan 3 19:59 session.js.map
-rwxrwxrwx 1 root root 204184 Jan 3 19:59 spark.js
-rwxrwxrwx 1 root root 83409 Jan 3 19:59 spark.js.map
-rwxrwxrwx 1 root root 1466 Jan 3 19:59 spiderable.js
-rwxrwxrwx 1 root root 114 Jan 3 19:59 spiderable.js.map
-rwxrwxrwx 1 root root 1457 Jan 3 19:59 standard-app-packages.js
-rwxrwxrwx 1 root root 124 Jan 3 19:59 standard-app-packages.js.map
-rwxrwxrwx 1 root root 1356 Jan 3 19:59 startup.js
-rwxrwxrwx 1 root root 108 Jan 3 19:59 startup.js.map
-rwxrwxrwx 1 root root 24071 Jan 3 19:59 templating.js
-rwxrwxrwx 1 root root 9422 Jan 3 19:59 templating.js.map
-rwxrwxrwx 1 root root 147815 Jan 3 19:59 underscore.js
-rwxrwxrwx 1 root root 54556 Jan 3 19:59 underscore.js.map
-rwxrwxrwx 1 root root 59722 Jan 3 19:59 universal-events.js
-rwxrwxrwx 1 root root 28310 Jan 3 19:59 universal-events.js.map
-rwxrwxrwx 1 root root 1355 Jan 3 19:59 webapp.js
-rwxrwxrwx 1 root root 107 Jan 3 19:59 webapp.js.map
-rwxrwxrwx 1 root root 6411 Jan 3 19:59 boot.js
-rwxrwxrwx 1 root root 32 Jan 3 19:59 config.json
lrwxrwxrwx 1 root root 47 Jan 3 19:59 node_modules -> /root/.meteor/tools/09b63f1ed5/lib/node_modules
drwxrwxrwx 6 root root 4096 Jan 3 19:59 npm
drwxrwxrwx 2 root root 4096 Jan 3 19:59 packages
-rwxrwxrwx 1 root root 2603 Jan 3 19:59 program.json
-rwxrwxrwx 1 root root 2716 Jan 3 19:59 start.sh
drwxrwxrwx 3 root root 4096 Jan 3 19:59 ctl-helper
drwxrwxrwx 3 root root 4096 Jan 3 19:59 livedata
drwxrwxrwx 3 root root 4096 Jan 3 19:59 logging
drwxrwxrwx 3 root root 4096 Jan 3 19:59 mongo-livedata
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 61 Jan 3 19:59 node_modules -> /root/.meteor/packages/ctl-helper/d6214568fb/npm/node_modules
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 59 Jan 3 19:59 node_modules -> /root/.meteor/packages/livedata/f69d9149dd/npm/node_modules
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 58 Jan 3 19:59 node_modules -> /root/.meteor/packages/logging/04f04cd832/npm/node_modules
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 65 Jan 3 19:59 node_modules -> /root/.meteor/packages/mongo-livedata/133ed3e7a3/npm/node_modules
-rwxrwxrwx 1 root root 14673 Jan 3 19:59 application-configuration.js
-rwxrwxrwx 1 root root 5102 Jan 3 19:59 application-configuration.js.map
-rwxrwxrwx 1 root root 29768 Jan 3 19:59 check.js
-rwxrwxrwx 1 root root 13747 Jan 3 19:59 check.js.map
-rwxrwxrwx 1 root root 21450 Jan 3 19:59 ctl-helper.js
-rwxrwxrwx 1 root root 8410 Jan 3 19:59 ctl-helper.js.map
-rwxrwxrwx 1 root root 14131 Jan 3 19:59 ctl.js
-rwxrwxrwx 1 root root 5110 Jan 3 19:59 ctl.js.map
-rwxrwxrwx 1 root root 32921 Jan 3 19:59 deps.js
-rwxrwxrwx 1 root root 12774 Jan 3 19:59 deps.js.map
-rwxrwxrwx 1 root root 66343 Jan 3 19:59 ejson.js
-rwxrwxrwx 1 root root 21669 Jan 3 19:59 ejson.js.map
-rwxrwxrwx 1 root root 26264 Jan 3 19:59 follower-livedata.js
-rwxrwxrwx 1 root root 9274 Jan 3 19:59 follower-livedata.js.map
-rwxrwxrwx 1 root root 47212 Jan 3 19:59 geojson-utils.js
-rwxrwxrwx 1 root root 15968 Jan 3 19:59 geojson-utils.js.map
-rwxrwxrwx 1 root root 159 Jan 3 19:59 json.js
-rwxrwxrwx 1 root root 83 Jan 3 19:59 json.js.map
-rwxrwxrwx 1 root root 486950 Jan 3 19:59 livedata.js
-rwxrwxrwx 1 root root 159409 Jan 3 19:59 livedata.js.map
-rwxrwxrwx 1 root root 26681 Jan 3 19:59 logging.js
-rwxrwxrwx 1 root root 10299 Jan 3 19:59 logging.js.map
-rwxrwxrwx 1 root root 117915 Jan 3 19:59 meteor.js
-rwxrwxrwx 1 root root 38384 Jan 3 19:59 meteor.js.map
-rwxrwxrwx 1 root root 345015 Jan 3 19:59 minimongo.js
-rwxrwxrwx 1 root root 129871 Jan 3 19:59 minimongo.js.map
-rwxrwxrwx 1 root root 366752 Jan 3 19:59 mongo-livedata.js
-rwxrwxrwx 1 root root 143322 Jan 3 19:59 mongo-livedata.js.map
-rwxrwxrwx 1 root root 19268 Jan 3 19:59 ordered-dict.js
-rwxrwxrwx 1 root root 7481 Jan 3 19:59 ordered-dict.js.map
-rwxrwxrwx 1 root root 20606 Jan 3 19:59 random.js
-rwxrwxrwx 1 root root 8277 Jan 3 19:59 random.js.map
-rwxrwxrwx 1 root root 146621 Jan 3 19:59 underscore.js
-rwxrwxrwx 1 root root 54534 Jan 3 19:59 underscore.js.map
drwxrwxrwx 3 root root 4096 Jan 3 19:59 app
-rwxrwxrwx 1 root root 6411 Jan 3 19:59 boot.js
-rwxrwxrwx 1 root root 70 Jan 3 19:59 config.json
lrwxrwxrwx 1 root root 47 Jan 3 19:59 node_modules -> /root/.meteor/tools/09b63f1ed5/lib/node_modules
drwxrwxrwx 8 root root 4096 Jan 3 19:59 npm
drwxrwxrwx 2 root root 4096 Jan 3 19:59 packages
-rwxrwxrwx 1 root root 4508 Jan 3 19:59 program.json
-rwxrwxrwx 1 root root 2716 Jan 3 19:59 start.sh
drwxrwxrwx 3 root root 4096 Jan 3 19:59 app
drwxrwxrwx 3 root root 4096 Jan 3 19:59 lib
-rwxrwxrwx 1 root root 4153 Jan 3 19:59 main.js
drwxrwxrwx 2 root root 4096 Jan 3 19:59 highlight.js
-rwxrwxrwx 1 root root 17848 Jan 3 19:59 highlight.pack.js
drwxrwxrwx 3 root root 4096 Jan 3 19:59 handlebars
drwxrwxrwx 3 root root 4096 Jan 3 19:59 livedata
drwxrwxrwx 3 root root 4096 Jan 3 19:59 logging
drwxrwxrwx 3 root root 4096 Jan 3 19:59 mongo-livedata
drwxrwxrwx 3 root root 4096 Jan 3 19:59 router
drwxrwxrwx 3 root root 4096 Jan 3 19:59 webapp
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 61 Jan 3 19:59 node_modules -> /root/.meteor/packages/handlebars/0a8b732b9d/npm/node_modules
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 59 Jan 3 19:59 node_modules -> /root/.meteor/packages/livedata/f69d9149dd/npm/node_modules
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 58 Jan 3 19:59 node_modules -> /root/.meteor/packages/logging/04f04cd832/npm/node_modules
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 65 Jan 3 19:59 node_modules -> /root/.meteor/packages/mongo-livedata/133ed3e7a3/npm/node_modules
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 51 Jan 3 19:59 node_modules -> /var/www/tk/packages/router/.build/npm/node_modules
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 57 Jan 3 19:59 node_modules -> /root/.meteor/packages/webapp/06c8311d2d/npm/node_modules
-rwxrwxrwx 1 root root 14673 Jan 3 19:59 application-configuration.js
-rwxrwxrwx 1 root root 5102 Jan 3 19:59 application-configuration.js.map
-rwxrwxrwx 1 root root 8244 Jan 3 19:59 autoupdate.js
-rwxrwxrwx 1 root root 4008 Jan 3 19:59 autoupdate.js.map
-rwxrwxrwx 1 root root 29768 Jan 3 19:59 check.js
-rwxrwxrwx 1 root root 13747 Jan 3 19:59 check.js.map
-rwxrwxrwx 1 root root 32921 Jan 3 19:59 deps.js
-rwxrwxrwx 1 root root 12774 Jan 3 19:59 deps.js.map
-rwxrwxrwx 1 root root 66343 Jan 3 19:59 ejson.js
-rwxrwxrwx 1 root root 21669 Jan 3 19:59 ejson.js.map
-rwxrwxrwx 1 root root 26264 Jan 3 19:59 follower-livedata.js
-rwxrwxrwx 1 root root 9274 Jan 3 19:59 follower-livedata.js.map
-rwxrwxrwx 1 root root 47212 Jan 3 19:59 geojson-utils.js
-rwxrwxrwx 1 root root 15968 Jan 3 19:59 geojson-utils.js.map
-rwxrwxrwx 1 root root 588 Jan 3 19:59 global-imports.js
-rwxrwxrwx 1 root root 16964 Jan 3 19:59 handlebars.js
-rwxrwxrwx 1 root root 8220 Jan 3 19:59 handlebars.js.map
-rwxrwxrwx 1 root root 161 Jan 3 19:59 jquery.js
-rwxrwxrwx 1 root root 85 Jan 3 19:59 jquery.js.map
-rwxrwxrwx 1 root root 159 Jan 3 19:59 json.js
-rwxrwxrwx 1 root root 83 Jan 3 19:59 json.js.map
-rwxrwxrwx 1 root root 486950 Jan 3 19:59 livedata.js
-rwxrwxrwx 1 root root 159409 Jan 3 19:59 livedata.js.map
-rwxrwxrwx 1 root root 26681 Jan 3 19:59 logging.js
-rwxrwxrwx 1 root root 10299 Jan 3 19:59 logging.js.map
-rwxrwxrwx 1 root root 99884 Jan 3 19:59 marked.js
-rwxrwxrwx 1 root root 33617 Jan 3 19:59 marked.js.map
-rwxrwxrwx 1 root root 117915 Jan 3 19:59 meteor.js
-rwxrwxrwx 1 root root 38384 Jan 3 19:59 meteor.js.map
-rwxrwxrwx 1 root root 345015 Jan 3 19:59 minimongo.js
-rwxrwxrwx 1 root root 129871 Jan 3 19:59 minimongo.js.map
-rwxrwxrwx 1 root root 366752 Jan 3 19:59 mongo-livedata.js
-rwxrwxrwx 1 root root 143322 Jan 3 19:59 mongo-livedata.js.map
-rwxrwxrwx 1 root root 19268 Jan 3 19:59 ordered-dict.js
-rwxrwxrwx 1 root root 7481 Jan 3 19:59 ordered-dict.js.map
-rwxrwxrwx 1 root root 203 Jan 3 19:59 preserve-inputs.js
-rwxrwxrwx 1 root root 95 Jan 3 19:59 preserve-inputs.js.map
-rwxrwxrwx 1 root root 20606 Jan 3 19:59 random.js
-rwxrwxrwx 1 root root 8277 Jan 3 19:59 random.js.map
-rwxrwxrwx 1 root root 161 Jan 3 19:59 reload.js
-rwxrwxrwx 1 root root 85 Jan 3 19:59 reload.js.map
-rwxrwxrwx 1 root root 15797 Jan 3 19:59 routepolicy.js
-rwxrwxrwx 1 root root 5460 Jan 3 19:59 routepolicy.js.map
-rwxrwxrwx 1 root root 35844 Jan 3 19:59 router.js
-rwxrwxrwx 1 root root 10422 Jan 3 19:59 router.js.map
-rwxrwxrwx 1 root root 162 Jan 3 19:59 session.js
-rwxrwxrwx 1 root root 86 Jan 3 19:59 session.js.map
-rwxrwxrwx 1 root root 160 Jan 3 19:59 spark.js
-rwxrwxrwx 1 root root 84 Jan 3 19:59 spark.js.map
-rwxrwxrwx 1 root root 13828 Jan 3 19:59 spiderable.js
-rwxrwxrwx 1 root root 5456 Jan 3 19:59 spiderable.js.map
-rwxrwxrwx 1 root root 227 Jan 3 19:59 standard-app-packages.js
-rwxrwxrwx 1 root root 101 Jan 3 19:59 standard-app-packages.js.map
-rwxrwxrwx 1 root root 165 Jan 3 19:59 templating.js
-rwxrwxrwx 1 root root 89 Jan 3 19:59 templating.js.map
-rwxrwxrwx 1 root root 146621 Jan 3 19:59 underscore.js
-rwxrwxrwx 1 root root 54534 Jan 3 19:59 underscore.js.map
-rwxrwxrwx 1 root root 83198 Jan 3 19:59 webapp.js
-rwxrwxrwx 1 root root 30430 Jan 3 19:59 webapp.js.map
-rwxrwxrwx 1 root root 16777216 Jan 3 19:59 local.0
-rwxrwxrwx 1 root root 33554432 Dec 29 12:36 local.1
-rwxrwxrwx 1 root root 16777216 Jan 3 19:59 local.ns
-rwxrwxrwx 1 root root 4 Dec 29 12:36 METEOR-PORT
-rwxrwxrwx 1 root root 0 Jan 3 21:05 mongod.lock
And here as root:
drwxrwxrwx 4 root root 4096 Jan 3 19:59 local
-rwxrwxrwx 1 root root 220 Jan 3 11:51 packages
-rwxrwxrwx 1 root root 8 Dec 29 12:35 release
drwxrwxrwx 4 root root 4096 Jan 3 19:59 build
drwxrwxrwx 2 vagrant root 4096 Dec 29 12:39 db
-rwxrwxrwx 1 root root 151 Jan 3 19:59 main.js
drwxrwxrwx 5 root root 4096 Jan 3 19:59 programs
-rwxrwxrwx 1 root root 650 Jan 3 19:59 README
drwxrwxrwx 2 root root 4096 Jan 3 19:59 server
-rwxrwxrwx 1 root root 459 Jan 3 19:59 star.json
drwxrwxrwx 4 root root 4096 Jan 3 19:59 client
drwxrwxrwx 4 root root 4096 Jan 3 19:59 ctl
drwxrwxrwx 5 root root 4096 Jan 3 19:59 server
drwxrwxrwx 3 root root 4096 Jan 3 19:59 app
-rwxrwxrwx 1 root root 5836 Jan 3 19:59 app.html
drwxrwxrwx 2 root root 4096 Jan 3 19:59 packages
-rwxrwxrwx 1 root root 16184 Jan 3 19:59 program.json
drwxrwxrwx 3 root root 4096 Jan 3 19:59 app
drwxrwxrwx 3 root root 4096 Jan 3 19:59 lib
-rwxrwxrwx 1 root root 1429 Jan 3 19:59 main.css
-rwxrwxrwx 1 root root 4153 Jan 3 19:59 main.js
-rwxrwxrwx 1 root root 395 Jan 3 19:59 template.main.js
-rwxrwxrwx 1 root root 337 Jan 3 19:59 template.templates.js
drwxrwxrwx 3 root root 4096 Jan 3 19:59 highlight.js
-rwxrwxrwx 1 root root 17848 Jan 3 19:59 highlight.pack.js
drwxrwxrwx 2 root root 4096 Jan 3 19:59 styles
-rwxrwxrwx 1 root root 2552 Jan 3 19:59 default.css
-rwxrwxrwx 1 root root 1557 Jan 3 19:59 application-configuration.js
-rwxrwxrwx 1 root root 131 Jan 3 19:59 application-configuration.js.map
-rwxrwxrwx 1 root root 10296 Jan 3 19:59 autoupdate.js
-rwxrwxrwx 1 root root 4344 Jan 3 19:59 autoupdate.js.map
-rwxrwxrwx 1 root root 30962 Jan 3 19:59 check.js
-rwxrwxrwx 1 root root 13769 Jan 3 19:59 check.js.map
-rwxrwxrwx 1 root root 34115 Jan 3 19:59 deps.js
-rwxrwxrwx 1 root root 12796 Jan 3 19:59 deps.js.map
-rwxrwxrwx 1 root root 59298 Jan 3 19:59 domutils.js
-rwxrwxrwx 1 root root 25408 Jan 3 19:59 domutils.js.map
-rwxrwxrwx 1 root root 67567 Jan 3 19:59 ejson.js
-rwxrwxrwx 1 root root 21692 Jan 3 19:59 ejson.js.map
-rwxrwxrwx 1 root root 1562 Jan 3 19:59 follower-livedata.js
-rwxrwxrwx 1 root root 125 Jan 3 19:59 follower-livedata.js.map
-rwxrwxrwx 1 root root 48406 Jan 3 19:59 geojson-utils.js
-rwxrwxrwx 1 root root 15990 Jan 3 19:59 geojson-utils.js.map
-rwxrwxrwx 1 root root 493 Jan 3 19:59 global-imports.js
-rwxrwxrwx 1 root root 37547 Jan 3 19:59 handlebars.js
-rwxrwxrwx 1 root root 16703 Jan 3 19:59 handlebars.js.map
-rwxrwxrwx 1 root root 1202072 Jan 3 19:59 jquery.js
-rwxrwxrwx 1 root root 366987 Jan 3 19:59 jquery.js.map
-rwxrwxrwx 1 root root 58410 Jan 3 19:59 json.js
-rwxrwxrwx 1 root root 21539 Jan 3 19:59 json.js.map
-rwxrwxrwx 1 root root 560614 Jan 3 19:59 livedata.js
-rwxrwxrwx 1 root root 189125 Jan 3 19:59 livedata.js.map
-rwxrwxrwx 1 root root 62132 Jan 3 19:59 liverange.js
-rwxrwxrwx 1 root root 29655 Jan 3 19:59 liverange.js.map
-rwxrwxrwx 1 root root 27875 Jan 3 19:59 logging.js
-rwxrwxrwx 1 root root 10321 Jan 3 19:59 logging.js.map
-rwxrwxrwx 1 root root 102074 Jan 3 19:59 marked.js
-rwxrwxrwx 1 root root 33820 Jan 3 19:59 marked.js.map
-rwxrwxrwx 1 root root 82210 Jan 3 19:59 meteor.js
-rwxrwxrwx 1 root root 26826 Jan 3 19:59 meteor.js.map
-rwxrwxrwx 1 root root 323368 Jan 3 19:59 minimongo.js
-rwxrwxrwx 1 root root 121486 Jan 3 19:59 minimongo.js.map
-rwxrwxrwx 1 root root 102219 Jan 3 19:59 mongo-livedata.js
-rwxrwxrwx 1 root root 39683 Jan 3 19:59 mongo-livedata.js.map
-rwxrwxrwx 1 root root 20462 Jan 3 19:59 ordered-dict.js
-rwxrwxrwx 1 root root 7503 Jan 3 19:59 ordered-dict.js.map
-rwxrwxrwx 1 root root 53364 Jan 3 19:59 page-js-ie-support.js
-rwxrwxrwx 1 root root 13636 Jan 3 19:59 page-js-ie-support.js.map
-rwxrwxrwx 1 root root 2558 Jan 3 19:59 preserve-inputs.js
-rwxrwxrwx 1 root root 471 Jan 3 19:59 preserve-inputs.js.map
-rwxrwxrwx 1 root root 21800 Jan 3 19:59 random.js
-rwxrwxrwx 1 root root 8299 Jan 3 19:59 random.js.map
-rwxrwxrwx 1 root root 13878 Jan 3 19:59 reactive-dict.js
-rwxrwxrwx 1 root root 5176 Jan 3 19:59 reactive-dict.js.map
-rwxrwxrwx 1 root root 19595 Jan 3 19:59 reload.js
-rwxrwxrwx 1 root root 7551 Jan 3 19:59 reload.js.map
-rwxrwxrwx 1 root root 44685 Jan 3 19:59 router.js
-rwxrwxrwx 1 root root 13728 Jan 3 19:59 router.js.map
-rwxrwxrwx 1 root root 3314 Jan 3 19:59 session.js
-rwxrwxrwx 1 root root 661 Jan 3 19:59 session.js.map
-rwxrwxrwx 1 root root 204184 Jan 3 19:59 spark.js
-rwxrwxrwx 1 root root 83409 Jan 3 19:59 spark.js.map
-rwxrwxrwx 1 root root 1466 Jan 3 19:59 spiderable.js
-rwxrwxrwx 1 root root 114 Jan 3 19:59 spiderable.js.map
-rwxrwxrwx 1 root root 1457 Jan 3 19:59 standard-app-packages.js
-rwxrwxrwx 1 root root 124 Jan 3 19:59 standard-app-packages.js.map
-rwxrwxrwx 1 root root 1356 Jan 3 19:59 startup.js
-rwxrwxrwx 1 root root 108 Jan 3 19:59 startup.js.map
-rwxrwxrwx 1 root root 24071 Jan 3 19:59 templating.js
-rwxrwxrwx 1 root root 9422 Jan 3 19:59 templating.js.map
-rwxrwxrwx 1 root root 147815 Jan 3 19:59 underscore.js
-rwxrwxrwx 1 root root 54556 Jan 3 19:59 underscore.js.map
-rwxrwxrwx 1 root root 59722 Jan 3 19:59 universal-events.js
-rwxrwxrwx 1 root root 28310 Jan 3 19:59 universal-events.js.map
-rwxrwxrwx 1 root root 1355 Jan 3 19:59 webapp.js
-rwxrwxrwx 1 root root 107 Jan 3 19:59 webapp.js.map
-rwxrwxrwx 1 root root 6411 Jan 3 19:59 boot.js
-rwxrwxrwx 1 root root 32 Jan 3 19:59 config.json
lrwxrwxrwx 1 root root 47 Jan 3 19:59 node_modules -> /root/.meteor/tools/09b63f1ed5/lib/node_modules
drwxrwxrwx 6 root root 4096 Jan 3 19:59 npm
drwxrwxrwx 2 root root 4096 Jan 3 19:59 packages
-rwxrwxrwx 1 root root 2603 Jan 3 19:59 program.json
-rwxrwxrwx 1 root root 2716 Jan 3 19:59 start.sh
drwxrwxrwx 3 root root 4096 Jan 3 19:59 ctl-helper
drwxrwxrwx 3 root root 4096 Jan 3 19:59 livedata
drwxrwxrwx 3 root root 4096 Jan 3 19:59 logging
drwxrwxrwx 3 root root 4096 Jan 3 19:59 mongo-livedata
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 61 Jan 3 19:59 node_modules -> /root/.meteor/packages/ctl-helper/d6214568fb/npm/node_modules
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 59 Jan 3 19:59 node_modules -> /root/.meteor/packages/livedata/f69d9149dd/npm/node_modules
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 58 Jan 3 19:59 node_modules -> /root/.meteor/packages/logging/04f04cd832/npm/node_modules
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 65 Jan 3 19:59 node_modules -> /root/.meteor/packages/mongo-livedata/133ed3e7a3/npm/node_modules
-rwxrwxrwx 1 root root 14673 Jan 3 19:59 application-configuration.js
-rwxrwxrwx 1 root root 5102 Jan 3 19:59 application-configuration.js.map
-rwxrwxrwx 1 root root 29768 Jan 3 19:59 check.js
-rwxrwxrwx 1 root root 13747 Jan 3 19:59 check.js.map
-rwxrwxrwx 1 root root 21450 Jan 3 19:59 ctl-helper.js
-rwxrwxrwx 1 root root 8410 Jan 3 19:59 ctl-helper.js.map
-rwxrwxrwx 1 root root 14131 Jan 3 19:59 ctl.js
-rwxrwxrwx 1 root root 5110 Jan 3 19:59 ctl.js.map
-rwxrwxrwx 1 root root 32921 Jan 3 19:59 deps.js
-rwxrwxrwx 1 root root 12774 Jan 3 19:59 deps.js.map
-rwxrwxrwx 1 root root 66343 Jan 3 19:59 ejson.js
-rwxrwxrwx 1 root root 21669 Jan 3 19:59 ejson.js.map
-rwxrwxrwx 1 root root 26264 Jan 3 19:59 follower-livedata.js
-rwxrwxrwx 1 root root 9274 Jan 3 19:59 follower-livedata.js.map
-rwxrwxrwx 1 root root 47212 Jan 3 19:59 geojson-utils.js
-rwxrwxrwx 1 root root 15968 Jan 3 19:59 geojson-utils.js.map
-rwxrwxrwx 1 root root 159 Jan 3 19:59 json.js
-rwxrwxrwx 1 root root 83 Jan 3 19:59 json.js.map
-rwxrwxrwx 1 root root 486950 Jan 3 19:59 livedata.js
-rwxrwxrwx 1 root root 159409 Jan 3 19:59 livedata.js.map
-rwxrwxrwx 1 root root 26681 Jan 3 19:59 logging.js
-rwxrwxrwx 1 root root 10299 Jan 3 19:59 logging.js.map
-rwxrwxrwx 1 root root 117915 Jan 3 19:59 meteor.js
-rwxrwxrwx 1 root root 38384 Jan 3 19:59 meteor.js.map
-rwxrwxrwx 1 root root 345015 Jan 3 19:59 minimongo.js
-rwxrwxrwx 1 root root 129871 Jan 3 19:59 minimongo.js.map
-rwxrwxrwx 1 root root 366752 Jan 3 19:59 mongo-livedata.js
-rwxrwxrwx 1 root root 143322 Jan 3 19:59 mongo-livedata.js.map
-rwxrwxrwx 1 root root 19268 Jan 3 19:59 ordered-dict.js
-rwxrwxrwx 1 root root 7481 Jan 3 19:59 ordered-dict.js.map
-rwxrwxrwx 1 root root 20606 Jan 3 19:59 random.js
-rwxrwxrwx 1 root root 8277 Jan 3 19:59 random.js.map
-rwxrwxrwx 1 root root 146621 Jan 3 19:59 underscore.js
-rwxrwxrwx 1 root root 54534 Jan 3 19:59 underscore.js.map
drwxrwxrwx 3 root root 4096 Jan 3 19:59 app
-rwxrwxrwx 1 root root 6411 Jan 3 19:59 boot.js
-rwxrwxrwx 1 root root 70 Jan 3 19:59 config.json
lrwxrwxrwx 1 root root 47 Jan 3 19:59 node_modules -> /root/.meteor/tools/09b63f1ed5/lib/node_modules
drwxrwxrwx 8 root root 4096 Jan 3 19:59 npm
drwxrwxrwx 2 root root 4096 Jan 3 19:59 packages
-rwxrwxrwx 1 root root 4508 Jan 3 19:59 program.json
-rwxrwxrwx 1 root root 2716 Jan 3 19:59 start.sh
drwxrwxrwx 3 root root 4096 Jan 3 19:59 app
drwxrwxrwx 3 root root 4096 Jan 3 19:59 lib
-rwxrwxrwx 1 root root 4153 Jan 3 19:59 main.js
drwxrwxrwx 2 root root 4096 Jan 3 19:59 highlight.js
-rwxrwxrwx 1 root root 17848 Jan 3 19:59 highlight.pack.js
drwxrwxrwx 3 root root 4096 Jan 3 19:59 handlebars
drwxrwxrwx 3 root root 4096 Jan 3 19:59 livedata
drwxrwxrwx 3 root root 4096 Jan 3 19:59 logging
drwxrwxrwx 3 root root 4096 Jan 3 19:59 mongo-livedata
drwxrwxrwx 3 root root 4096 Jan 3 19:59 router
drwxrwxrwx 3 root root 4096 Jan 3 19:59 webapp
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 61 Jan 3 19:59 node_modules -> /root/.meteor/packages/handlebars/0a8b732b9d/npm/node_modules
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 59 Jan 3 19:59 node_modules -> /root/.meteor/packages/livedata/f69d9149dd/npm/node_modules
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 58 Jan 3 19:59 node_modules -> /root/.meteor/packages/logging/04f04cd832/npm/node_modules
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 65 Jan 3 19:59 node_modules -> /root/.meteor/packages/mongo-livedata/133ed3e7a3/npm/node_modules
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 51 Jan 3 19:59 node_modules -> /var/www/tk/packages/router/.build/npm/node_modules
drwxrwxrwx 2 root root 4096 Jan 3 19:59 main
lrwxrwxrwx 1 root root 57 Jan 3 19:59 node_modules ->
--- cut off because of limits ---
MongoDb won't run in the Vagrant shared directory: https://gist.github.com/gabrielhpugliese/5855677
If you using Windows for your dev work, Meteor now has a Windows installer:
http://win.meteor.com/
Mongo was killed without cleaning itself up. Try removing .meteor/local/db/mongod.lock. If that fails do an meteor reset.
There are files owned by root that shouldn't be. Run the following to set the ownership back to the current user (who I am assuming to be the one who is meant to run mrt):
sudo chown -R `whoami`:`groups | cut -d ' ' -f 1` *
This is a list of steps to reinstall meteor and meteorite
Uninstall meteor
sudo rm /usr/local/bin/meteor
rm -rf ~/.meteor
Uninstall meteorite
sudo mrt uninstall
sudo mrt uninstall --system
sudo chown -R `whoami` ~/.npm
The last command is to make sure that ~/.npm permissions are correct.
Install meteor
curl https://install.meteor.com | sh
Install meteorite
sudo -H npm install -g meteorite
I had the same problem.
First I changed permissions sudo chown -Rv <user> .meteor and then meteor reset.
In my case it works, when running the meteor application as root-user.
su root
meteor
I was using meteor with docker and created meteor app in a mounted directory which was not under home directory.
Resolved itself, when i created the app in a directory under home directory.
I use vagrant as development environment. When building application under /vagrant, this error always happens. When I switch to /home/vagrant, then this error is solved.
I think this is caused by permission, but since /vagrant is also mapped by vagrant account, so there is no difference.
I still didn't figure out why.