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
2answers
29 views

Unnoticingly I deleted a directory. Is there a way to recover it?

I found something over the internet here https://www.howtoforge.com/data_recovery_from_accidently_deleted_files_or_crashed_drives_in_ubuntu ...
9
votes
5answers
458 views

Launch nautilus in location navigated to in Terminal [duplicate]

I find it rather hard to travel through my system using nautilus and much prefer using the cd etc commands in Terminal to get around my system, but I find that sometimes I do need to look at a list of ...
1
vote
1answer
25 views

Location of edited text files on Ubuntu touch

Where does the Ubuntu-touch editor (Edit from the Ubuntu store on the bq aquaris 4.5) save files? I am able to open files I edited on the "local files" menu, but I cannot find where they are stored on ...
1
vote
0answers
9 views

installing exfat-fuse: Error: can't find signing_key_fingerprint

I have a samsung evo 64gb, which has apparently been formatted with the microsoft exfat filesystem. I wish to mount it on an ubuntu 10.04 system. There are many responses in respect of how to do ...
4
votes
1answer
80 views

Where do deleted files go in Ubuntu?

I have a very simple question. Where do files go when you delete them? I know when I send files to "Trash", they go to "trash", but when I delete them, I do not know where they go.
0
votes
1answer
28 views

Replacing /etc/resolv.conf

I'm running Ubuntu 14.04 alongside windows 8.1. But in no way could I make the Internet work. I messed up trying to replace the /etc/resolv.conf file and it got removed... I would like to download it ...
0
votes
1answer
12 views

Missing File After Destroying KVM

I am using virsh to manage my KVMs on Ubuntu 14.04. I store my disk path targets (.IMG files) on an LV and mount it manually. I, of course, forgot to mount this LV after a restart but virsh was still ...
0
votes
1answer
18 views

Input/output error on /etc/shadow

the file /etc/shadow seems to be corrupted as every time I try to remove it throws an input/output error. Now this is a problem because it contains my passwords and I get login without it. Anyone now ...
0
votes
0answers
18 views

is it safe to trash .fuse file [duplicate]

Is it safe to send a .fuse file into trash? I do not remove it. I just want to send it to trash. Since files after trash are still accessible via the software it must be Ok. I just want to make sure. ...
0
votes
1answer
30 views

How increase filesystem size on ubuntu running inside windows [duplicate]

I am using ubuntu 14.04 and currently i am running it in the inside windows mode installed with Wubi. My problem is my filesystem is running on low disk space. Can i extend the filesystem size without ...
1
vote
1answer
25 views

ntfs-3g Failed to decompress file

For years the logs of my Ubuntu systems sharing drives with a Windows installation have been routinely flooding logs with: Mar 17 11:00:50 kemosabi ntfs-3g[483]: ntfs_attr_pread error reading ...
1
vote
1answer
31 views

Mount - Problem Remounting /dev/sdb1

How can I properly remount /dev/sdb1? Because when I remount it: sudo mount -o remount,rw /dev/sdb1 mount: cannot remount /dev/sdb1 read-write, is write-protected ...displaying that it is write ...
2
votes
2answers
51 views

I need help mounting an lvm2 partition with 14.04 LTS live USB

SOLUTION: I was able to mount the partition and copy the files to another drive! sudo fuseext2 -o ro -o allow_other /dev/mapper/vg1-lg1 /mnt was the key. I still have not been able to access the ...
1
vote
1answer
50 views

Xampp htdocs folder , sub folders and all files permiossion

I am not familiar with Ubuntu , i copied my project folder in htdocs but when i open my project in browser it loads but styling files (css files) doesn't loads . Its permission problem . I have done a ...
0
votes
0answers
18 views

Is there a way to log rejected file access attempts in the Linux file system?

It often happens when you install a new program or when you just configure something, that you hit issues with the file system permissions because you don't have the folder/file permissions set ...
0
votes
2answers
43 views

Windows can view directories but not ubuntu

Ok. I know i messed up by hibernating one OS and working in other. As i remember i hibernated the Ubuntu. Now a lot of directories are not showing up in ubuntu. But shows up & works in Windows. ...
2
votes
2answers
23 views

Is there a way to backup and restore basic file / folder permissions on Ubuntu the way that there is using icacls in Windows?

In Windows you can do this (backup and restore basic file permissions) can this be done in Linux? And to clarify, by basic file permissions I don't mean ACLs in Linux, I mean the default permissions ...
0
votes
0answers
20 views

Is there a way to backup and restore ACL file and folder permissions on Ubuntu the way that there is using icacls in Windows?

In Windows you can do this (backup and restore ACL permissions) can you do this in Ubuntu? And to clarify, I mean ACLs in Linux, I do not mean the default permissions modified with chmod / chown. ...
1
vote
1answer
20 views

Where to put binary file?

I am packaging my own application into .deb. According to this, my compiled application should be installed in /opt/my-package. However, the tool Lintian reports such error: E: dir-or-file-in-opt ...
0
votes
0answers
23 views

Which subdirectories of / should have compression disabled in btrfs root filesystem?

Imagine you set up your root filesystem to be btrfs with Ubuntu 14.10 defaults (one subvolume for / and one for /home) and you want to compress and deduplicate as much as possible. Which directories ...
0
votes
1answer
54 views

df is omitting some whole parts of my fs / disks. Is there something wrong?

EDIT(2015-03-08): I think this behaviour is caused by ubuntu-sdk using schroot and overlayfs to install its dev kits. See ...
1
vote
1answer
31 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
25 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
17 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
45 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
25 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
12 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
36 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
60 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
20 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
31 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
16 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
89 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
23 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
27 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
44 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
30 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
30 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
33 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
13 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
92 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
33 views

Drive path not retained in softwear memory after reboot [duplicate]

Question rephrased to better fit my situation at the time of asking: After rebooting my computer; all memory of recent file use by software programmes accessing files upon my second hard disk, are ...
0
votes
1answer
33 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
25 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
84 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
10 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
28 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
43 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
56 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
74 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 ...