Questions dealing with Ubuntu's layout of files, permissions, and files that reside in special locations on disk.

learn more… | top users | synonyms

0
votes
0answers
7 views

Is there an OverlayFS type way of having upper directory files written to lower in the background?

I am looking for a way to have downloaded files in a tempfs mount - where downloaded files are immediately available - and have them written to a cloud mount (e.g. webdav davfs or Google Drive ...
2
votes
1answer
17 views

How to find files that do not have a duplicate in a separate directory

I have an old backup of documents. In my current Documents directory, a lot of these files exist in different locations with different names. I'm trying to find a way to show which files exist in the ...
1
vote
0answers
5 views

Using binfmt-misc in conjunction with xattrs

I currently use a piece of sandboxing software on my 14.04 machine that isolates Linux binaries from one another (Using a special type of namespace isolation different than AppArmor) Currently, the ...
0
votes
0answers
21 views

How to restore unmounted ubuntu and windows partitions?

After a botched Ubuntu install (shut down during installation), my windows and ubuntu partitions are unmounted. From a live session in GParted I see that both partitions are clumped together in an ...
1
vote
3answers
48 views

Why is /usr/local/ owned by root?

I am wondering why directories such as /usr and /usr/local/ are owned and created by root. Usually I am logged in as a normal user and I want to store programs that I personally use in these dirs. For ...
0
votes
0answers
13 views

Create Compressed Directory

How to create a compressed directory in Ubuntu? Is that possible? I do not want to create an archive file (zip, tar, etc) but rather I want something like compressed directory in an NTFS (Windows) ...
0
votes
0answers
15 views

Root FS always full (/var/log)

I just installed Ubuntu Gnome 16.04 when it came out, on a brand new computer that I just bought. I have been a user of Ubuntu Gnome for a few years, so this is nothing but routine now. However, I get ...
0
votes
0answers
19 views

Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /root/bin: cpio: chown

Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /root/bin: cpio: chown while running update filesystem not updating
0
votes
0answers
7 views

Adding disk and converting RAID 0 to 5

I used MDADM to create a 4-disk RAID 0. I have another disk I want to add and convert the array to RAID 5. I'm already aware of the risks of RAID 5 but it is my best option at this time. How would I ...
0
votes
1answer
60 views

Filesystem Information shows between Plymouth and Login Screen 16.04

This is by no means a major issue but I thought it was a bit odd. Immediately after the Plymouth splash screen disappears and before the usual Ubuntu login screen appears, a tty style terminal ...
0
votes
1answer
12 views

Remove files created through mount & owned by root

So, I have been doing some trial & error learning about bind mounts in Ubuntu Desktop 14.04... I got everything working the way I wanted it, but as a result of my trial & error learning the ...
0
votes
0answers
30 views

Make world writeable files and directories colored normal in terminal

I have three partitions on my computer, one for windows, one for Linux (Ubuntu 16.04), and one shared between the two OS, formatted in ntfs. I mount the shared partition on startup and created a soft ...
0
votes
1answer
130 views

Installing Ubuntu Server 16.04 on Vmware

I am installing Ubuntu 16.04 virtual machine on an Intel server using vmware. For some reason, it is creating the root file system as ext4 but I NEED it to be ext3. Is this possible? I have been ...
0
votes
0answers
19 views

UBUNTU 14.04 not reading Blu-ray data disks correctly

I have a few Bluray disks (50GB) with archived data files on them. To Ubuntu 14.04, all files in the top directory appear with their names and "binary file" type, but nothing more. I cannot access ...
0
votes
0answers
9 views

Making a Live CD in Xubuntu

As soon i realised how important is to have a backup of your files,i bought a external drive in order to backup them.Now i want to switch to another Operatins System but still keep my Xubuntu Copy on ...
0
votes
0answers
16 views

Encrypted USB stick, unrecognized file system?

Good morning, I'm in need of assistance in creating an encrypted usb drive. I used the format LUKS+EXT4 option, now when I plug in the drive I'm asked for the passphrase but then I get a warning ...
0
votes
1answer
24 views

Where does update-initramfs look for kernel versions?

I changed a file in /etc/modprobe.d so I needed to regenerate initrd. Doing this: update-initramfs -u -k all threw up errors for a kernel I compiled and then deleted some time ago (because ...
-1
votes
0answers
16 views

Need to know whether a named pipe stores data in them

I got a situation where i need to select and option from a switch case.For each option there is a text related to it which needs to be stored in a file descriptor.For this process my senior gave a ...
0
votes
1answer
21 views

Input/output error when accessing a directory

I have ubuntu 14.04 installed on a 256Gb SSD (Sandisk). The drive is partitioned to 120 GB (with OS) and the rest as a secondary Data partition. The Data partition has started having I/O problems this ...
3
votes
0answers
31 views

Fastest File System Type

We currently/still write to tape for off-site backups (avg size is 80 GB per day) and the robot is misbehaving as of late. I'm setting up an NFS share on Ubuntu Server 14 (16 when it releases) to ...
2
votes
2answers
35 views

Finding my swap partition

It looks like I have 40 GB of swap: wuser@wavesftwDell:~$ cat /proc/swaps Filename Type Size Used Priority /dev/dm-1 ...
0
votes
1answer
33 views

Why do i get wrong filesystem error on mounting external drive whilst correct ntfs-utils is installed?

since today I get the following message when inserting usbstick/sd card: Aankoppelen bestandssysteem is mislukt Error mounting /dev/sdb1 at /media/wouter/Kali Live: Command-line `mount -t ...
1
vote
1answer
61 views

My normal user file system only works in read-only mode and i don't have the password for the root user

I have Ubuntu Server V14.10.the administration of this system disappears with a former employee. I do not have the root password and apparently the file system for the user that I use is protected and ...
39
votes
4answers
7k views

Accidentally created directory named “~” (tilde)

I managed to make a directory literally named ~. (Apparently, Python's os.mkdir('~/something') does this.) How do I remove it without nuking my home? Also, if it helps, I have my real /home on a ...
0
votes
0answers
33 views

Create a rootfs in the SD card

I try to make a rootfs in the SD card with Debian Chroot, but after mounting the loop I don't know how to continue. I want to mention that I don't know how to use debootstrap (and I'd prefer not to ...
-2
votes
1answer
38 views

Where can I find a folder containing icons of all my applications, that I can double-click? [duplicate]

Where can I find the folder where I can see icons of my applications and click on them as I am accustomed to from other operating systems? (N.B. Please see my comments re duplications.)
71
votes
8answers
11k views

Does Ubuntu damage USB drives?

Whenever I unmount a USB drive with Nautilus and plug it to a Windows machine, I receive a warning that the drive needs to be repaired. (the same message like in this screenshot) For 10+ years ...
0
votes
1answer
23 views

Error creating bootable USB using “cat file.iso > /dev/sdb”

At first, I had this USB flash drive with a Ubuntu 14.04 LTS bootable in it. But now, I want to remove/wipe it and create a new bootable of another OS. First, I tried directly: sudo cat file.iso > ...
0
votes
0answers
17 views

Can't start without systemctl after moving /home

Due to storage limit I recently moved /home, /tmp and /usr directories of an Ubuntu Unity 15.10 installation from independent ext4 partitions to ZFS datasets. This question relates the process I ...
0
votes
1answer
29 views

Pasted file has more MB than the copied?

Ok so I have ubuntu 15.10 installed on a USB and boot with it as my main OS on this computer. The computer has 2 hard disks one connected to a SATA interface and one through USB too... none of them ...
0
votes
1answer
28 views

Finding a large file being created by the system

I ran some code that caused root file system to run out of space; the code then crashes and the file is deleted. I need to find out which file is being created there. How can I quickly (while the ...
0
votes
0answers
42 views

Move /home and /usr to ZFS datasets

I installed Ubuntu to an SSD. Setting up specific partitions for /usr, /home and /tmp. This is my /etc/fstab: #Entry for /dev/sda4 : UUID=590649b2-d8ce-489d-975a-0d5415bffbaa / ext4 ...
0
votes
1answer
26 views

I created the file \.sh , am I in trouble?

I had a really bad idea: Curious about what could happen, I wanted to try to use various non-alphanumerical characters as file names. Think may have been a bad idea. I created the a file in the ...
0
votes
0answers
18 views

Making Ubuntu Touch wriable

I am running Ubuntu Touch on my Nexus 4. By default the Filesystem is readonlya and I would like to make it writable . In this Link [1] it is promised to use this command,via a USB connection by using ...
0
votes
1answer
50 views

Can /home/user/music and other media folders be moved to a separate drive? [duplicate]

I have two hard drives. One is a 256GB SSD and the other is a 1TB HDD. I installed Ubuntu to the SSD and that is where my /home directory resides. I would like to use the HDD for media storage. How ...
0
votes
1answer
19 views

Resized Primary Partition, Filesystem Size Not Updating

I moved and resized by /boot primary partition using gparted. sudo parted /dev/sda print Number Start End Size Type File system Flags 1 1049kB 256MB 255MB primary ext2 ...
0
votes
0answers
58 views

initramfs unable to find a live medium containing a live file system

When I turn on my laptop I am getting the following message: BusyBox v1.21.1 (Ubuntu 1:1.21.0-1ubuntu1) built-in shell (ash) Enter 'help' for a list of built-in commands. (initramfs) Unable to find ...
1
vote
1answer
53 views

How do I give myself access to /var/www to create and edit files and folders in it without 'sudo'?

I have a folder in my web server /var/www. I need to add files to the folder, but the system will not let me unless I use sudo. Is it possible to give myself access to modify the folder and its ...
1
vote
1answer
45 views

Allowing an OS to use unclaimed free disk space on other partitions for temporary purposes?

Let's say you have something like the following situation: three partitions, one small with OS, and several bigger ones, let's assume all are ext4: / - 10 GB size, 9 GB used, 1 GB free ...
3
votes
1answer
59 views

Is it possible to change the filesystem type of the Compact Disc (CD) in linux using terminal commands?

I have a new Compact Disc (CD) which is sony(rewritable) and its Filesystem type is UDF. Now it is possible to change it to CDFS filesystem using terminal commands or any other software? The reason ...
6
votes
2answers
1k views

Why there are 2 directories having same content?

cd /proc/$$/root/bin cd /bin After running ls command on both the directory, I found that content of both directories are same (which is nothing but list of commands). Is there any specific reason ...
2
votes
0answers
31 views

What is the partition type ('t' command) in fdisk good for?

I can't understand the difference between the filesystem specified using fdisk's command line interface with t. And the one used to format it later using say mkefs. Why do we need to specify it ...
1
vote
1answer
30 views

When copying files via USB from Ubuntu to Windows 7, there is a different number of files

What's up guys, I'm trying to backup some Ubuntu files to my Windows machine. I have all the files in one folder and when I click "Properties" in Ubuntu it says 696 items, 742.6 MB. When I copied that ...
0
votes
0answers
8 views

Writemode journalling mode

From what I understand in data mode both inode and file data are stored in journal and in ordered mode only inode data is kept in jounral and removed after file data is successfully written. What I ...
8
votes
2answers
2k views

I have a file named “-t”. How to remove it? [duplicate]

Output of "ls -l": -rw-r--r-- 1 root root 0 Mar 4 08:22 -t When i try to do "rm '-t'": rm: invalid option -- 't' Try 'rm ./-t' to remove the file '-t'. Try 'rm --help' for more information.
8
votes
1answer
378 views

How does ctime change?

I'm trying to precisely understand when the ctime timestamp of a file is changed. In many places (e.g., in the accepted answer here) it is suggested that any change in the file attributes will also ...
0
votes
0answers
71 views

Why does lsof complain about tracefs?

Every execution of lsof issues a warning about the TraceFS: $ lsof any-file lsof: WARNING: can't stat() tracefs file system /sys/kernel/debug/tracing Output information may be incomplete. $ ...
0
votes
1answer
47 views

In which system file does 'export' command make changes?

I installed java-8 using a PPA. After that I gave a command: export JAVA_HOME=/usr/lib/jvm/java-8-oracle I had heard somewhere that this command does temporary changes. But after many logouts and ...
0
votes
2answers
10 views

troubleshooting updatedb

I am taking a course that makes me go on terminal and run updatedb. but this is what I get: nonrootuser$ updatedb updatedb: can not open a temporary file for `/var/lib/mlocate/mlocate.db' so far I ...
1
vote
1answer
121 views

ext4 broken file system on ubuntu 14.04.4

I have a desktop computer with Ubuntu Desktop 14.04.4 LTS 64-bit with an attached HDD USB 3.0 4TB Intenso 1 partition ext4 data drive only (no OS or Apps). After a sudden power failure I am unable to ...