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

learn more… | top users | synonyms

1
vote
1answer
27 views

I have a directory named -H and would like to change the name of it [duplicate]

I am taking a class at Pluralsight and made the mistake of typing 'express -H' as instructed. Now I have a dir named -H and Ubuntu will not let me access it or otherwise deal with it. I would like to ...
0
votes
0answers
14 views

Apparmor problems

I followed this persons solved question here on how to mount Apparmor: https://forum.backbox.org/general-support/apparmor-is-not-working/. After I did however, I came up with this black screen with ...
0
votes
0answers
15 views

Why are ext4 filesystems owned by root?

I formatted a flash drive to ext4 and created a new partition on my hard drive with fs type ext4. Both were owned by root and I had trouble writing files. Why does that happen? Also, if that has no ...
0
votes
2answers
29 views

Use of “cp” command between root user's home and plain root

How do I use the "cp" command to copy files from root@pcname:/home/username # to root@pcname:~ # I have been able to use the "mv" command to move a file, but when I use "cp," it tells me that the ...
1
vote
0answers
12 views

Solved - Massive filesystem corruption after latest update on LUKS encrypted drive

I booted my machine this morning and was greeted by a busybox shell. I booted from a live USB, mounted the drive with cryptsetup, but when I try to open it it says my ubunutu--root-vg has an ...
0
votes
0answers
8 views

What is the IO Block property in stat command in ubuntu?

srimanth@srimanth-Inspiron-N5110:~$ stat /home/srimanth/Videos/Better\ Call\ Saul/Better.Call.Saul.S01E02.720p.HDTV.X264-DIMENSION.mkv File: ‘/home/srimanth/Videos/Better Call ...
0
votes
1answer
32 views

I want to move /run/shm to my /home directory

Filesystem Size Used Avail Use% Mounted on /dev/sda6 9.1G 8.4G 214M 98% / none 4.0K 0 4.0K 0% /sys/fs/cgroup udev 1.9G 8.0K 1.9G 1% /dev tmpfs ...
0
votes
1answer
24 views

Migrate root filesystem from btrfs to ext4

I want migrate a Ubuntu installation off of btrfs as root because it frequently hangs and causes out of space errors and I really don't need the snapshots. The partition was created empty and not ...
0
votes
0answers
16 views

How could I set a file overlay on my whole system?

I need to build and test system components on my Ubuntu laptop and I want to be sure that it won't damage (or replace any my current components) (I plan to build and test gtk, gstreamer and ...
0
votes
0answers
11 views

Stale file handle

i added new structure member for creator in ext2 inode structure at ext2.h, currently i downloaded linux-3.18.7 and modified and i enable the ext2_fs option in.config file, after compilation i entered ...
0
votes
1answer
13 views

Binding /var during installation

I want to install an SSD into my desktop PC, putting there the root and other folders like /etc. What I don't want to put there is /var, because I work with databases pretty often. So, what I want to ...
1
vote
0answers
39 views

Explanation of entries in dmesg log in Ubuntu Server 14.04

A few days ago I did a clean install of Ubuntu Server 14.04. Everything is working fine, but when my system boots I get these entries in dmesg log: [ 3.106082] EXT4-fs (dm-0): mounted filesystem ...
1
vote
0answers
18 views

Recover the directory structure of a lost LVM Logical volume?

I am aware of the huge amount of data recovery questions on this site, and reading all of them I think my case is unique enough to warrant a new question. how it came to be I set up a LVM with ...
0
votes
0answers
22 views

ubuntu file system memory allocation

While building ubuntu OS image from source how to allocate specific memory to specific folders of filesystem i.e. /home will get xx GB, /sbin will get xxy GB, /bin get yytt GB etc. Is there any ...
2
votes
1answer
42 views

Is it possible to prevent a file from being deleted unless in safe mode?

Is it possible to make a file only deletable when in safe mode on linux? Specifically I am using ubuntu 14.04 and I need to prevent a file from being deleted. If this solution is not possible is ...
0
votes
2answers
29 views

Help with restoring windows 7 boot from ubuntu grub

I just sold my old laptop on ebay and had Windows 7 and Ubuntu 14.04 installed on separate partitions on the same hd. When I restored factory settings to Windows 7 I deleted the partition that Ubuntu ...
-1
votes
1answer
21 views

how to extend root (/) partition by freeing ext4 partition? [duplicate]

My root (/) partition is full and i want to extend my root file system by freeing extra memory present in other partition which is ext4. How to free some space with ext4 allocation and how to extend ...
0
votes
0answers
28 views

Cannot create File system on HD

When I run this command: partprobe ; mkfs -t ext4 -q /dev/tbdata/mediashare I get this error: Error: /dev/mapper/tbdata-vmbox: unrecognised disk label Could not stat /dev/tbdata/mediashar --- No ...
0
votes
0answers
12 views

btrfs is full, but only half a disk is really used [duplicate]

I see this: root@wm-bot:/var/lib# du -ksh /var/lib/mysql/ 2.0G /var/lib/mysql/ root@wm-bot:/var/lib# root@wm-bot:/var/lib# df -h df: `/public/backups': Stale NFS file handle Filesystem ...
-1
votes
1answer
59 views

Low disk Space in Root Filesystem Error

The system gives me the following error: The volume "Filesystem Root" has only 713.9 MB disk space remaining. You can free up disk space by removing unused programs or files, or moving files to ...
1
vote
0answers
27 views

Drive path not present at system start up [duplicate]

I am new to Ubuntu. I have performed a search but have not found any info as yet as to how to solve a small task; perhaps you can help me out here: Is there any way to make the system recognize a ...
0
votes
1answer
31 views

Proper Linux filesystem from Ubuntu ISO file

It is known that one can install a Ubuntu iso file on a usb or hard drive, which itself yields the proper Linux filesystem which consists of folders: bin/ boot/ dev/ etc/ home/ lib/ media/ mnt/ opt/ ...
0
votes
1answer
22 views

Resizing filesystems

I have following filesystems on my Ubuntu 12.04: u@czarnobog:~$ df -hT Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/md1-md1 ext4 31G 27G 2.7G 91% / udev ...
0
votes
1answer
58 views

Why the file has 0755, but 'Permission denied'?

Why the file has 0755, but I got an error 'Permission denied'? root@vagrant-ubuntu-trusty-64:~/.rbenv/versions/2.2.0/bin# ls -la total 14000 drwxr-xr-x 2 root root 4096 Feb 9 20:25 . drwxr-xr-x ...
0
votes
1answer
9 views

How do you Identify apps or procs that create large tmp files?

I am having problems when using GNS3 on a Win7 host running a VMware Workstation Ubuntu VM. Not sure what app or process is creating large 3+GB temp files filing up my drive. How can tell. Below is ...
0
votes
0answers
22 views

Change permissions of / of mounted disk

I've accidentally changed the permissions of /on my system, thus obviously nothing is working anymore now. I can access my server via a rescue system and mount the disk. How can I fix the ...
0
votes
1answer
40 views

How to get rid of more than one million ghostfiles?

I periodically run Bleachbit 1.0 on my Lubuntu machine (kernel 3.13.0-35-generic). Last time, I checked the option to wipe free disk space, mainly to try it. The program got stuck on a message saying ...
0
votes
1answer
38 views

How to remove disk lock [closed]

I have installed ubuntu 14:04 version, I already write the password on the disk. turns out it was too long for me, I want to disable it, how? I am a beginner, need an answer
0
votes
2answers
62 views

Unable to write to ext4, No space left on device?

After creating a folder in my ext4 partition, copying some data to it, then moving that whole folder to another drive, I became unable to add additional data to the ext4 partition when I boot into ...
0
votes
0answers
20 views

Missing Files-my “music” folder is lost

I am using 14.04 version of ubuntu,when I opened my files I found my music folder was missing.Clicking on it says somthing spelling error.I have not yet done partition i.e I have no drives,there all ...
0
votes
3answers
40 views

How to select a file without opening it?

This is probably a quite trivial question, but I cannot seem to find the answer on-line. I set my file browser to single click opening as it is easier to work with, but, since clicking opens the file ...
0
votes
1answer
32 views

how to automount sda2 partition

How do I mount sda2 from sda1? thufir@doge:~$ thufir@doge:~$ sudo parted -l Model: ATA ST500DM002-1BD14 (scsi) Disk /dev/sda: 500GB Sector size (logical/physical): 512B/4096B Partition Table: msdos ...
0
votes
0answers
11 views

Ways of resolve case conflict when moving files to a Dropbox folder

As documented here, Dropbox appends (Case Conflict) to a file moved in ubuntu to a dropbox folder already containing a file of the same name (ignoring case). I would like to set up alternative ways ...
0
votes
0answers
30 views

How do i change the mount point of a file system? is it safe?

My file system structure looks as follows Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_root-lv_root 38929872 36450548 503672 99% / tmpfs 4025936 ...
1
vote
1answer
29 views

Need help deleting a directory

I have a directory in my home directory (the one with My Documents, etc.) with a name that looks a bit like my username (random upper-lowercase alphabetical characters). It suddenly appeared Tuesday, ...
0
votes
1answer
26 views

How to check for any activity on a physical disk?

I have an SD card that's connected via a USB interface. The output of fdisk -l indicates the following: Disk /dev/sdb: 3965 MB, 3965190144 bytes I have a script that re-initializes multiple ...
0
votes
0answers
9 views

Is there a “session-wise” filesystem encryption?

AFAIK, there are partition encryption, or filesystem encryption like ecryptfs. But both of them only ask permission when mounting. By which I mean, once I mounted them, any other users could access ...
0
votes
1answer
24 views

Lost a desktop folder

I am pretty new to Linux and was trying to change the name of a desktop folder from Documents to Media when I got an error message about the pathway. I restarted the computer and lost the folder. I ...
0
votes
1answer
37 views

Can't alter/change access rights

I've downloaded some gopro footage to my local hd and then copied the files from my hd to an external drive. Whenever I want to change the access rights it will switch back to read only in Nautilus. ...
0
votes
1answer
33 views

Can't create files on desktop in Ubuntu 14.04

I accidentally created a desktop shortcut in my home directory. To remove it, I did sudo rm -rf Desktop Now I can't create files and folders on my desktop.
0
votes
0answers
70 views

help resolve fatal error: sys/cdefs.h: No such file or directory # include <sys/cdefs.h>

I am trying to install wrf-chem on my 14.04 LTS and got the following error messages when i tried to run the test below.please help. Test #4: Fortran Calling a C Function (our gcc and gfortran have ...
0
votes
1answer
19 views

mount boot camp partition

I have my hard drive from my mac it has a boot camp patition, but the mac is dead. Ubutnu sees the partition, calling it /dev/sdc3 and reporting that it has a basic linux data partition. I tried to ...
0
votes
2answers
241 views

Does the ls command work differently on a (ubuntu 14.04.10) server? I can't figure out how to explore my files

all. Very new to linux, but I thought I understood file exploration from the command line. The problem: I can't figure out how to navigate my files or directories, the console isn't displaying any ...
0
votes
1answer
64 views

extract files from filesystem.squashfs file

I have installed Xubuntu on a USB stick and created some files. Later there was a problem with Xubuntu, so I made a backup and re-installed it. The wayt I made the backup, isn't exacly the right way ...
0
votes
2answers
26 views

Is there a filesystem that writes everything to nothing?

The user case is that a program writes files which I do not want to preserve to a dedicated folder. So is there a filesystem that drops write request but returns OK/done?
0
votes
1answer
33 views

What is the safest method for repartitioning space from the / partition? [closed]

I've got a 240GB SSD that I'm using as my boot/applications drive and only have Ubuntu 14.04 installed, so no finagling with Windows or OS X installs. I originally partitioned off 40GB of that 240GB ...
0
votes
1answer
25 views

How to migrate to a newer hard disk?

I am using Ubuntu 14.04 LTS and as I am very new to Linux I don't know how to copy my entire setup to a new disk. I have prepared a 500gb Hard disk drive with 5 partitions. I'd like to move my ...
1
vote
1answer
47 views

Where does CHEESE store its images?

I have taken some pictures using CHEESE, but now I cannot locate those images, so I can do nothing with them. I can't even delete them for the CHEESE GUI does not allow me to do anything with the ...
0
votes
1answer
19 views

Safely move (rarely changing) operating system directories to SSD drive

I would like to move some directories that contain binaries to an SSD drive. How should I safely go about it? /usr /opt Please consider safely emphasized. [14.04.1]
0
votes
1answer
13 views

Saved document doesn't inform user about no-saving the information

I supported a person who received a .doc in Thunderbird as an email attachment, opened it, filled in a form and saved it. But the user couldn't find it anywhere. Thing is that is was saved in /tmp . ...