Ubuntu Pastebin

Paste from AlexQ at Thu, 19 Mar 2015 21:44:36 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
alex@alex-laptop:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=fa19b985-57e9-4be8-b0f1-26544872c9a3 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda7 during installation
UUID=8c51d096-a5fa-4459-96cc-ab509ae6bf4b none            swap    sw              0       0
https://dav.box.com/dav /home/alex/Box davfs rw,user,noauto 0 0
alex@alex-laptop:~$ mount Box
/sbin/mount.davfs: program is not setuid root
alex@alex-laptop:~$ cd /sbin
alex@alex-laptop:/sbin$ sudo chmod +s mount.davfs
alex@alex-laptop:/sbin$ cd
alex@alex-laptop:~$ mount Box
/sbin/mount.davfs: user alex must be member of group davfs2
alex@alex-laptop:~$ sudo usermod -a -G alex davfs2
alex@alex-laptop:~$ mount Box
/sbin/mount.davfs: user alex must be member of group davfs2
Download as text