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

learn more… | top users | synonyms

75
votes
6answers
43k views

Why is defragmentation unnecessary?

Why is defragmenting unnecessary in Ubuntu?
0
votes
1answer
15 views

Can TestDisk utility recover data

Actually I want know , can Testdisk recover data after fresh installation of new Ubuntu OS 16.04 from a deleted partition.
0
votes
0answers
25 views

correctly setting up Gradle for IntelliJ

After installing gradle via sudo apt-get install gradle, where DO I find the gradle home directory that I need to feed IntelliJ to open my project? cat $GRADLE_HOME never terminates echo ...
72
votes
5answers
460k views

How do I remount a filesystem as read/write?

I'm trying to mount an hfsplus filesystem in a Xubuntu 12.04 VM (kernel version 3.2.0-23-generic) but when I type mount -o remount, rw /dev/sdb3 in command line it returns not mounted or bad option. ...
0
votes
1answer
32 views

Grub2 keeps saying unknown filesystem-

Hello Friends I'm asking for help.I have a 2006 mac running ubuntu.The problem is it wont boot.So I decided to put an iso of ubuntu on a usb so I can boot it with grub 2.The thing is whenever I try ...
0
votes
0answers
12 views

Nautilus Cannot Move Files to Trash When Trash is in eCryptfs / Files are on a Different Drive

I used to just press the Delete key on selected files on Nautilus, and then it would trash the file(s) without confirmation. That was very convenient. I later decided that my Trash may contain ...
4
votes
2answers
4k views

SD card is recognized but won't mount “can't read superblock”

When attempting to look at the files on my SD card I get the following message. ## Unable to access “16 GB Volume” ## Error mounting /dev/mmcblk0p1 at /media/automat0n/6366-3430: Command-line `mount ...
0
votes
1answer
19 views

Grub2 doesn't recognize any new partitions?

I am trying to add a new partition to my drive. The drive contains files that grub can boot into (Live ISOs, or Windows Installers). My drive has 250 GB unallocated and has in the past.. Grub2 booted ...
2
votes
2answers
4k views

Unable to mount cifs with iocharset=utf8 in trusty

When I try to mount a cifs share with option iocharset=utf8 I receive the error: mount error 79 = Can not access a needed shared library. What shared library am I missing?
3
votes
2answers
6k views

Why does my root filesystem keep becoming read-only?

I've lately been having an issue with my root filesystem becoming readonly. It happens some amount of time after boot. I don't know exactly when it happens, as I don't usually notice it until ...
3
votes
1answer
63 views

Cannot mount some partitions

About two weeks ago I had a problem with my PC that my brother wrote a question about at PC not booting after using Windows 7 auto-repair. I still haven't solved the problem, so my PC is unusable ...
0
votes
0answers
13 views

Network links disappeared in Select Destination or Filename windows

Not very long ago, the links to my network drive disappeared in the pop up destination windows on all of my Ubuntu 14.04 PC's. Networking still works fine, Nautilus still sees the net drives and it's ...
1
vote
3answers
25k views

I got the error “resource is busy” while trying to mount my hard drive

While trying to mount my hard drive to copy all the necessary data from my broken drive to this one, I got an error saying: # mount -t ntfs /dev/sda1 /mnt/dominik/ fuse: mount failed: Device or ...
-1
votes
0answers
23 views

0 bytes left on external hard drive, although there is still space [closed]

I have 2 identical external HDDs. 2 TB each, file system is ext4. I use one to back up my home folder and archive some video and image files and the second one to back up the first one. For HDD #1 ...
14
votes
5answers
47k views

Where can I find the location of folders for installed programs?

I'm new to Ubuntu and would like to know where I can find the location of program files for programs installed from the Ubuntu Software Center or the Terminal.
0
votes
2answers
47 views

Ubuntu 16.04 installation in ZFS filesystem

There is no ZFS file system option while creating file system but as per release note it supports ZFS. So why this option not available. Please help.
1
vote
1answer
1k views

How do I fix a bad /etc/fstab if the hard disk read-only?

I had created a bootable hackintosh usb stick but I found that I had a problem that could be solved by renaming a file or editing another. But the usb stick was read only and, in a moment of ...
2
votes
1answer
3k views

GRUB Drops to Rescue Shell - Fix MBR and Windows Bootloader

I shall just give a bit of background information. I updated a broken Ubuntu installation to Oneiric from the live CD a while ago, and everything appeared to be working fine. Because I don't use the ...
0
votes
1answer
41 views

Where does update-initramfs look for kernel versions?

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 update-initramfs could not find the ...
1
vote
0answers
38 views

Dual-boot: EFI System Partition is RAW in Windows, readable with LiveCD

I recently installed Ubuntu 16.04 on dual boot with Windows 10 on my laptop, and at a certain point I ran a gparted 'check' on my /dev/sda1 partition (where Windows Boot Manager and Grub are). Now ...
1
vote
1answer
19 views

How to audit file created under a specific path?

I would like to know if there is an audit tool I can use to monitor the file created under a specified folder? I would like to know the user and program used (ftp, ssh , php) to create the file.
8
votes
7answers
1k views

Difference between / and /root in Ubuntu? [duplicate]

I have created 100 GB for /. When I opened Nautilus I have found the root folder. So what is difference between / and /root? My username is enigma, and I have a folder named enigma in the /home ...
11
votes
1answer
29k views

What do I do when my root filesystem is full?

My / folder is reading as full and I can't update software or do anything. Not sure what I'm doing wrong here. $ df -h Results: Filesystem Size Used Avail Use% Mounted on /dev/sda1 ...
0
votes
1answer
42 views

My main hard drive on ubuntu has no free space left

I have a hard drive that keeps filling up with data, but I'm unable to figure out what is causing it. I tried moving files, but the system just replaces that data with more useless data. This made it ...
0
votes
0answers
12 views

Stop access of LAMP localhost files through LAN

I have made LAMP setup on Ubuntu 14.04 system. My system is connected with LAN. Also other systems are also connected to the same LAN system. So in the router there are IP are showing like ...
4
votes
2answers
36 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 ...
0
votes
0answers
38 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 ...
1
vote
2answers
124 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 ...
370
votes
9answers
349k 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
445 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
22 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
33 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 ...
5
votes
4answers
19k views

Very large log files, what should I do?

(This question deals with a similar issue, but it talks about a rotated log file.) Today I got a system message regarding very low /var space. As usual I executed the commands in the line of sudo ...
0
votes
1answer
14 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
102 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 ...
11
votes
4answers
33k views

Not enough space on /tmp

Im not being able to run update manager as I get the error saying that there is not enough free space in the /tmp directory. I've practically cleaned out the tmp directory but the error persists. Any ...
1
vote
1answer
4k views

13.10 to 14.04: Filesystem mount failed: How get to maintenance shell?

While upgrading from 13.10 to 14.04 we got a power cut: When we restarted the machine we got a system fail; I'm getting the readout below: 'Filesystem check or mount failed. A maintenance shell will ...
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
11 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 ...
71
votes
8answers
66k 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
56 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
25 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
20 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
11 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
24 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
39 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
100 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
15 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?