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

learn more… | top users | synonyms

6
votes
1answer
153 views

Resized VirtualBox VM disk, but when partitioning can't use all new available space

yesterday I've resized a VM Virtual disk from about 15 GB to about 26 GB. If I run fdisk I can check that disk is resized: Disk /dev/sda: 26.2 GB, 26214400000 bytes 255 testine, 63 settori/tracce, ...
5
votes
1answer
353 views

How to create a directory users can't delete (but can delete files in it)?

Is it possible to create a directory that ordinary users cannot delete, but they could create and delete files and subdirectories inside this directory? i.e. for /share/permanent/ users could ...
5
votes
1answer
1k views

Ubuntu installer thinks my drive is empty, does not see windows paritions

I am trying to install Ubuntu10.10 64bit. I just installed Windows 7 64bit moments ago. My drive is currently partitioned like so: 100MB Boot partition (automatically made by windows 7 installer) ...
3
votes
1answer
24 views

How to convert HDD from GPT partitioned to partitionless keeping BTRFS filesystem intact?

I have a 8TB Seagate Archive HDD partitioned with GPT: BTRFS filesystem (1TB approx), all the rest is now free. I would like to convert this HDD to partitionless (let BTRFS manage full drive) while ...
3
votes
1answer
41 views

Ubuntu does not correctly display non-ASCII characters in Windows folder names

If I save folders in windows with special characters like ä/ö/ü or chinese characters, they will be displayed with question marks in Ubuntu. But if I write it directly in Ubuntu, it will be displayed ...
3
votes
1answer
73 views

How can two files on a CD-ROM have the same inode number yet have a link count of 1?

As I was doing some sorting of my collection of CDs, I found out that processing the output of a find with sort -u was giving me a smaller list than plain sort, so I investigated. Using diff on the ...
3
votes
1answer
208 views

How can I prune my BTRFS backups?

I have a BTRFS backup system where I take daily snapshots (btrfs subvolume snapshot) and serialize them into incremental change files based off the previous days backup (btrfs send -f backup.date ...
3
votes
1answer
255 views

Inconsistent parent directory of all symlinks

A large portion of my system depends on symbolic links, so this is a very serious problem. I do something like the following cd mkdir test mkdir other cd test ln -s ../other/ # So ~/test contains a ...
3
votes
1answer
198 views

Is file permission secured when it transferred from Ubuntu to Windows?

I am having 9GB text file which is encrypted . This file contains some confidential data . Which is on my system(Ubuntu) and my external HDD (ntfs) . This file get daily updated and then encrypted . ...
2
votes
1answer
273 views

Unable to write to disk but disk isn't full

I can't write to any file, even as root, or do any other operation that requires writing. Neither can any process that needs to write, so they're all failing. df says I've got plenty of room: ...
2
votes
1answer
94 views

To transfer the present ubuntu image to other system

I want my Ubuntu with all installed applications and local files to be transferred to other system, which I ll be dual booting. My present system is also dual booted. I wanted to know if that possible....
2
votes
1answer
42 views

I rm -rf'd /var/!

I recently rm -rf'd all of /var/ on my box and I've made a VM with the same OS/bit, I plan to upload all of the contents from the fresh VM and replace my messed up /var/ on my box with it. What's a ...
2
votes
1answer
164 views

Accidentally partitioned media drive as ext3 during install (was ext4), how can I recover?

I recently did a fresh install of ubuntu on a system with an old ubuntu install. I have a separate hard-drive which used to have a single ext4 partition, but during the install I accidentally selected ...
2
votes
1answer
145 views

Large discrepancy between df and du

My / partition which holds everything (including /home), was suddenly using 100% of disk space. I removed a few files and now df shows $ df -h /dev/sda1 Filesystem Size Used Avail Use% Mounted ...
2
votes
1answer
1k views

Double click not working as expected in file manager

I have Ubuntu 14.04 installed on my laptop. I have a Dell XPS l502x which works very good. I just noticed this (possible bug?) with Ubuntu 14.04 while in the file manager in the home folder. When I ...
2
votes
1answer
868 views

Deduplication using SDFS file system

I am trying deduplication with sdfs.(ubuntu 13.10 on Vm). (http://opendedup.org/quickstart) followed the same steps as this mounted the file system on /media/pool0/ When copied a directory ...
2
votes
1answer
711 views

GParted bricked my USB Drive

I tried to use GParted to rename my USB Drive. Everything appeared to run smoothly, but when I removed the drive and reinserted it, it wouldn't mount. I can see the USB initialisation in dmesg, and ...
2
votes
1answer
467 views

Files saved with Ubuntu is not visible in Windows 8

I have dual booted my laptop with ubuntu 12.10 and windows 8. When I download some file via ubuntu (e.g a pdf) and save it on a windows partition(NTFS), I do not see it through windows 8. Even when I ...
2
votes
1answer
567 views

Grub corrupted and etc directory missing

I have a dual installation with Ubuntu 10.04 and Windows 7. I was in windows, I had to restart my machine and my grub was not loading. I used boot-repair to load my grub. However, my linux ...
2
votes
1answer
525 views

Moving Kubuntu from hdd to ssd

I bought a new SSD to install it in my HTPC. Before, I had an HDD with Kubuntu. I would need to copy the files from the / partition from HDD to SSD. To do this, I booted from the Kubuntu livecd, ...
2
votes
1answer
1k views

How do I interpret the output of the filefrag command?

I have a dump file in my system that has confidential data in it. I tried using the filefrag command to open it. The output is: root@sateesh935-SVE15115ENB:/home/sateesh935/Desktop/g3# filefrag -v ...
2
votes
1answer
690 views

Ubuntu Server 12.04 start fails after update

I did an system update on Ubuntu Server 12.04, which requested a reboot. Since that, the system never reaches the login. It hangs on: mount: mounting /dev on /root/dev failed: No such file or ...
1
vote
1answer
59 views

Installer offers ext2 as a filesystem for main partition in Ubuntu Server 16.04

I'm installing Ubuntu Server 16.04. When it comes to the partitioning after using the "guided LVM" option Ubuntu will offer the following filesystems for the partitions: ext4 for root swap for swap (...
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 ...
1
vote
1answer
50 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 /...
1
vote
1answer
42 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 ...
1
vote
1answer
550 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
36 views

Ubuntu 15.10 doesn't seem to support sparse files

On Ubuntu 15.10 using ext4 when I perform truncate -s 512M test.img du -h test.img the output is 513M test.img however if I run du -h --apparent-size test.img the output is 512M test....
1
vote
1answer
144 views

How to format a FAT32 USB as EXT4

I have a USB device /dev/sda1 and I want to format it as ext4. I have tried sudo mkfs.ext4 /dev/sda1 It gives warning, goes ahead and completes formatting without error. But when I check it using ...
1
vote
1answer
79 views

After update chrome won't open desktop is read only

I'm running Ubuntu 15.10 and just did a software update via the software update manager. Now chrome will not open neither will Firefox and if I try to copy anything to my desktop I get an error ...
1
vote
1answer
131 views

Disk allocation

I installed ubuntu 15.04 and used entire space(640 GiB) for ext4 partition but now it is showing that used space = 30.91 GiB, free space = 24.96 GiB and 536.40 GiB unallocated space. I tried to extend ...
1
vote
1answer
177 views

Re-install and keep home partition with btrfs - lost files

So, I was running Arch Linux with separate / and /home. Both were btrfs partitions, but the whole drive was not managed by btrfs. I decide to install Ubuntu 14.04. I carefully select to format / and ...
0
votes
0answers
117 views

sshfs permission denied even for root user

I use sshfs to mount a remote folder from another server to the local server. Mounting the remote folder works without a problem using the following command: sshfs -o allow_other ...
0
votes
0answers
15 views

Recover deleted output file?

I have a running process which is constantly writing data to a file. I accidently deleted the file, while the process is still running. I need to recover the file, without losing the new data that is ...
0
votes
0answers
38 views

Changing target of Docker changes /media location

This is probably just a misunderstanding of how the file system in ubuntu 14.04 works. If I to an ls /media/guy -l then the output looks like: drwx------ 2 root root 4096 Apr 6 2015 ...
0
votes
0answers
71 views

External disk showing empty files

My ubuntu machine is detecting hardisk , but it shows nothing inside external hard disk . And my external disk is showing all the data in windows machine. What may be the problem. And how may I ...
0
votes
0answers
62 views

How to get the metadata size in ext4?

i have one SSD drive and use whole partitions for my benchmark program. what i want to know is the size of metadata after some benchmark program. it's quite hard to know the number of data blocks ...
0
votes
0answers
24 views

Why is 'PowerPointViewer.exe' always appearing on my home folder?

I have deleted this before, but it appear again and again. I haven't install POL or any windows app with wine. Why is this .exe file in my home folder?
0
votes
0answers
59 views

Creating hierarchy from tree output

I sometimes come across interesting skeleton code projects that are presented as the output of the tree command. There is not always an archive or a repository that allows me to easily clone them in ...
0
votes
0answers
66 views

Read/Write Mac Disk From Ubuntu USB

I have loaded Ubuntu on an USB key to try to recover all my files on my Mac. I have installed hfsprogs and I am trying to run: ubuntu@ubuntu:~$ sudo mount -t hfsplus -o force,rw /dev/sda2 $HOME/Media/...
0
votes
0answers
46 views

How to tell filesystem type of digital camera

I have a Fuji X-M1 digital camera and I need to find out what filesystem type is, I have attached it via USB to my Ubuntu GNOME 15.04 machine, but upon right-clicking on it in Nautilus I do not get ...
0
votes
0answers
91 views

Where to install activator

I'm installing Typesafe Activator and wondering where best to put the files. According to their documentation, it requires read/write access to the directory it's located in as it creates files for ...
0
votes
0answers
41 views

Make mounted media use the “noatime” property

How can I configure Ubuntu (15.04) to use the "noatime" property with any media that I mount (whether it be flash-drives, SD-cards, etc.)? I understand that partitions that are mounted on start-up can ...
0
votes
0answers
49 views

Why does this folder keep reappearing after I rm -rf?

I'm running Docker on Ubuntu 15.04 and I'm inside a 14.04 container. I have a database called magento. There's no volumes mounted. It has a folder under /var/lib/mysql/magento. I want to rm -rf that ...
0
votes
0answers
100 views

Install LAMPP / XAMPP not as root

I've installed LAMPP and that worked fine. It was installed in /opt/lampp/. But now I need to install it again (I uninstalled it) NOT as root, in which case I don't have to sudo everything. ...
0
votes
0answers
67 views

How do I get Ubuntu to respect no read, write, or execute permissions for others set by chmod and Nautilus

I do not want to give 'others' read, write, or execute permissions in certain directories or folders. i.e. /home/me/test I am running 14.04.3 desktop. I have navigated to the folder, selected the ...
0
votes
0answers
112 views

Low Disk Space on “Filesystem root”

I am using Ubuntu 14.04 with GNOME, and every time I restart the computer it tells me the volume "Filesystem root" has only x MB disk space remaining. I checked with sudo df -h and sudo find / -size +...
0
votes
0answers
24 views

12.04LTS -> 14.04LTS “lost” all my files

I recently got into a problem with a package saying another copy was running even on a fresh boot (in 12.04). I recklessly decided to accept the update manager's recommendation to move to 14.04LTS. ...
0
votes
0answers
84 views

Messed up sharing files between Linux 14.04 and Windows7 (dual boot) - Error 0x80070570

I'm new to Linux. Recently, I started dual-booting Windows 7 and Ubuntu 14.04. They are both installed on separate disk partitions and there's an NTFS disk partition (700GB), where I store my files in ...
0
votes
0answers
42 views

some applications create unknown files with exe and pif extension in external disk and usb stick in wine

I am on Ubuntu 14.04.2 platform. I installed some Windows applications in Wine. I noticed that when I run an application in Wine it creates numerous suspicious random file names with pif and exe ...