通过指定配置修改文件chown

 

 

 

chown -h -R 0:0 /home/meteor/work/projects/metal/dueros/metal/metal-rk3308/buildroot/output/rockchip_rk3308_32_dueros/target
  4 chown -h -R 1000:1001 '/home/meteor/work/projects/metal/dueros/metal/metal-rk3308/buildroot/output/rockchip_rk3308_32_dueros/target//var/run/dbus'
  5 /home/meteor/work/projects/metal/dueros/metal/metal-rk3308/buildroot/output/rockchip_rk3308_32_dueros/host/bin/makedevs -d /home/meteor/work/projects/metal/dueros/m    etal/metal-rk3308/buildroot/output/rockchip_rk3308_32_dueros/build/buildroot-fs/device_table.txt /home/meteor/work/projects/metal/dueros/metal/metal-rk3308/buildroo    t/output/rockchip_rk3308_32_dueros/target

 

 

  1 # See package/makedevs/README for details
  2 #
  3 # This device table is used to assign proper ownership and permissions
  4 # on various files. It doesn't create any device file, as it is used
  5 # in both static device configurations (where /dev/ is static) and in
  6 # dynamic configurations (where devtmpfs, mdev or udev are used).
  7 #
  8 #                          
  9 /dev                    d   755 0   0   -   -   -   -   -
 10 /tmp                    d   1777    0   0   -   -   -   -   -
 11 /etc                    d   755 0   0   -   -   -   -   -
 12 /root                   d   700 0   0   -   -   -   -   -
 13 /var/www                d   755 33  33  -   -   -   -   -
 14 /etc/shadow             f   600 0   0   -   -   -   -   -
 15 /etc/passwd             f   644 0   0   -   -   -   -   -
 16 /etc/network/if-up.d            d   755 0   0   -   -   -   -   -
 17 /etc/network/if-pre-up.d        d   755 0   0   -   -   -   -   -
 18 /etc/network/if-down.d          d   755 0   0   -   -   -   -   -
 19 /etc/network/if-post-down.d     d   755 0   0   -   -   -   -   -
 20 # uncomment this to allow starting x as non-root
 21 #/usr/X11R6/bin/Xfbdev              f   4755    0   0   -   -   -   -   -
 22     /bin/busybox                     f 4755 0  0 - - - - -
 23     /usr/libexec/dbus-daemon-launch-helper f 4755 0 0 - - - - -
 24  /dev/console c 622 0 0 5 1 - - -
 25 
 

你可能感兴趣的:(通过指定配置修改文件chown)