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
68 views

Root FS always full: /var/log/syslog and /var/log/kern.log flooding

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 ...
2
votes
2answers
157 views

Default to showing and using pathbar in Ubuntu file dialogs?

I have fresh installs of Ubuntu and am trying to get it to default to showing the path bar in file open dialogs. Currently, if I am prompted to save or open a file a file dialog is shown but defaults ...
403
votes
9answers
374k views

How do I determine the total size of a directory (folder) from the command line?

Is there a simple command to display the total aggregate size (disk usage) of all files in a directory (folder)? I have tried these, and they don't do what I want: ls -l, which only displays the ...
0
votes
1answer
1k views

java exception: No such file or directory

I am trying to run a GATE application via jetty web application server in Ubuntu. I am getting java.io.IOException: error=2, No such file or directory because of a particular GATE plugin (...
6
votes
1answer
500 views

Disable filesystem read cache

How can I disable the Linux file system read cache for Ubuntu 12.04? I don't want to only free the actual cache. echo 3 > /proc/sys/vm/drop_caches but disable the read cache completely.
0
votes
0answers
23 views

Are there any risks of using noatime in /etc/fstab

if there are any, can you enumerate the risks of using "noatime" in /etc/fstab for the / volume? I have already added noatime to / and /home and i am wondering if for some reasons some services can ...
4
votes
1answer
40 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
1answer
22 views

Is there a file with system log?

In Ubuntu there's a program called System log, with log of system and all that you do with Ubuntu. I would ask if would be possible create a file.txt that refresh automatically with log from 'System ...
1
vote
1answer
105 views

Problem accessing old data on btrfs /home in ubuntu 14.04

I recently did a fresh installation of ubuntu 14.04 64 bit on my pc. Previously I was dual booting ubuntu 14.04 with windows(both 32 bit). My hdd is 500 GB. The previous structure of the hard disk was ...
2
votes
1answer
2k views

Gedit can't save files

Gedit can't save files. My Gedit has greyed out the 'Save' button, and only offers to 'Close without saving'. Other programs saves the same files without any problems and i seem to have enough rights. ...
0
votes
0answers
14 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 google-...
74
votes
8answers
70k views

How to find (and delete) duplicate files

I have a largish music collection and there are some duplicates in there. Is there any way to find duplicate files. At a minimum by doing a hash and seeing if two files have the same hash. Bonus ...
1
vote
3answers
69 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
31 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 ...
0
votes
0answers
24 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) ...
1
vote
0answers
12 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
0answers
47 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
42 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
126 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
17 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 ...
16
votes
4answers
3k views

using locate on an encrypted partition

I selected /home/ to be encrypted when I was installing Ubuntu. Now, is it possible to make locate work with an encrypted partition like this?
0
votes
1answer
392 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
46 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
10 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
28 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 ...
5
votes
3answers
55k views

Damaged SD card (badly unmounted?) How to fix?

First Off I'm using Ubuntu 12.04 on a laptop with a built in card reader. I have a sandisk 8Gig micro sd card that came with my HTC Desire HD phone. Unfortunately I had mounted it to a windows ...
190
votes
6answers
178k views

How is the /tmp directory cleaned up?

How is the /tmp directory cleaned up? Is it automatic? If so, how frequently is it cleaned up?
17
votes
1answer
57k views

Where is the default folder for Apps?

I am relatively new to the linux world. I use OSX at home and Windows at work. In those worlds, there is a default folder for applications (C:\Program Files, /Applications). Is there any such ...
0
votes
1answer
49 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
37 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
43 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 ...
3
votes
1answer
3k views

How many bytes in 1 block or 1 inode?

I'm trying to specify the amount of disk space for specific user in my Ubuntu Desktop 12.04 LTS System. I manually configure disk quota by editing /etc/fstab and add 2 more option next to the defaults ...
9
votes
1answer
12k views

fsck error on boot

I dual boot between Ubuntu and Windows 7. I was browsing on FireFox in Ubuntu and all of a sudden I get some error message, so I reboot. However when I try to boot into Ubuntu I get this message: ...
0
votes
1answer
81 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 "...
42
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 ...
1
vote
1answer
563 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 ...
1
vote
1answer
74 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 ...
0
votes
0answers
54 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 ...
72
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 ...
1
vote
1answer
1k views

Delete files on HDD while using LiveCD

I've got a little problem. After installing the latest upadates Ubuntu 13.10 (IIRC) and rebooting, I can access the GUI log-in interface, but after entering my password the monitor remains black with ...
-2
votes
1answer
43 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.)
13
votes
5answers
21k views

Solving permission problems when using external EXT4 hard disk with multiple linux installs

Hello I have a external hard drive and since I only use Ubuntu and Fedora I decide to format my hard drive to ext4 everything is fine. The problem is when i mount the drive i need to change the ...
0
votes
1answer
31 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
38 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
4answers
5k views

Permission Denied when trying to download a torrent?

I want to know the solution to this and resume my downloading. I am running Ubuntu 10.10.
0
votes
1answer
31 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
29 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 ...
1
vote
2answers
329 views

/sys/bus/usb/drivers/r8712u/new_id is unchangable

I got my newly purchased wireless stick to work, but I had to change the /sys/bus/usb/drivers/r8712u/new_id file during the process. I somehow managed to add the string "050d 11f1" to it, but it seems ...
0
votes
0answers
102 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 ...