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
3answers
7k views

Get the access to the folder file system/root

I am using a live version of Xubuntu on USB for a extraordinary maintenance of my PC. I have to copy a single file inside the folder file system/root. Currently I can browse the complete folder file ...
0
votes
1answer
832 views

How to remove system files that are marked read-only?

I have a pendrive which is full of viruses. These viruses are .js files. Using linux, I can open the pendrive and see which folders they are in. But when I try to remove them by pressing Del button or ...
93
votes
4answers
197k views

How to get a drive formatted with exfat working?

In Ubuntu 13.04 there was an option to use the PPA by Relan in order to get ExFat functionality. Seeing that in Ubuntu this functionality is now available from the repositories without the PPA I tried ...
1
vote
2answers
178 views

Is there anyway to undo wipefs?

So I (very stupidly) performed a wipefs on my XFS formatted 4tb Linux (software) raid 5 array in trying to convert over to a bcache setup (I was following some instructions online and should have paid ...
1
vote
1answer
47 views

I have lags when I'm deleting files from desktop with Xubuntu

I have Xubuntu 14.04 and I am experiencing some lags when I work with desktop icons, especially when I'm deleting them. Haven't notice that with Thunar filemanager and in System Monitor couldn't ...
12
votes
6answers
32k views

How to mount HFS+ drive and ignore permissions

I installed Ubuntu and Windows on my MacBook and Ubuntu is my primary OS; however, all of my media stays on my OSX partition. I want to be able to access it (at least my OSX user's home folder) from ...
0
votes
0answers
22 views

How to keep track of files/applications opened? [duplicate]

I want to make a script which when running can log the details of files or applications being opened manually by the user. Any clue about how to go about it. I tried inotify, couldn't find relevant ...
1
vote
1answer
309 views

Accidentaly formatted boot partition

I accidentally formatted the partition that contained the GRUB loader, so I cannot boot into Ubuntu 14.04 LTS. Background to the saga: I have an iMac with OSX and Ubuntu 14.04 LTS installed side by ...
12
votes
3answers
19k views

Why does Ubuntu refuse to execute files from an NTFS partition?

I mount an NTFS partition (where I've got some Linux binaries and scripts alongside with Win32 and data files) with the following fstab line: /dev/sda5 /mnt/dat ntfs-3g ...
1
vote
3answers
67 views

How can I print the breakdown of disk usage by directory?

My cloud instance (running a web app) disk usage went up inexplicably, I suspect there is something like a storage leak there. Is there any way to the breakdown of disk usage by directory, in order ...
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
0answers
51 views

I have put my app icons to /usr/share/icons/hicolor/*x*/apps but referencing them by the name alone doesn't work - why?

I have put an icon (appropriate resolution versions of it) for a custom application of mine to /usr/share/icons/hicolor/16x16/apps/myapp.png /usr/share/icons/hicolor/22x22/apps/myapp.png ...
0
votes
0answers
37 views

Why are there SVG files in /usr/share/icons/hicolor/*x*/apps?

I thought SVG icons are meant to be placed in /usr/share/icons/hicolor/scalable/apps/ but ls -1 /usr/share/icons/hicolor/*x*/apps/*.svg gives ...
0
votes
0answers
49 views

How to configure assigned floppy disk ownership for Unity 14.04?

The floppy disk device I've recently added to a previously installed Ubuntu 14.04 desktop seems to be functioning correctly in GNOME Files on the unity desktop; however, media inserted into this ...
3
votes
1answer
841 views

System without /tmp dir?

Running df -h gives: Filesystem Size Used Avail Use% Mounted on udev 1.9G 0 1.9G 0% /dev tmpfs 385M 6.2M 379M 2% /run /dev/sda2 113G 27G 81G 25% / ...
0
votes
1answer
29 views

copy files from/to usb drive containg a running live distro

let's suppose I have one (or multiple) live distro within a usb key, When I run this live distro, I want to access to the usb key's file system (e.g. get files and copy to the usb drive or copy ...
2
votes
1answer
950 views

how to set owner and permission to a cryptsetup made device?

I have an encrypted loopback volume. I need to mount and umount the volume manually, so I use cryptsetup luksOpen and cryptsetup luksClose . However, under all sessions (gnome/xfce/kde/unity), when I ...
0
votes
1answer
62 views

Samba: check file for completeness

I have a device (with Ubuntu on it) with Samba installed. There is also a cron job that copies files out of the Samba share every 60 seconds. I am now running into a situation where the cron job ...
12
votes
5answers
10k views

How do I clean up my harddrive?

Not to long ago I was using only 35% of my HD. Just recently it shot up to 54% and my diskspace is 16gb so that's more then 3gigs that have been taken. From what I remember I failed to build mysql, I ...
0
votes
1answer
37 views

Where is my software installation?

I'm kind of new to Linux. I installed a program (Sublime Text) and now I need to see the folder it is in. I can't find it under usr/bin, so, is there any other place wher I should look? Or ... how can ...
1
vote
1answer
17 views

while moving to a new server, is it ok to create system accounts?

I should move all the data, installations from server A to server B. Both are Ubuntu 14.04 LTS. There is a much-used instruction set here. One thing I don't understand is You should never ever ...
0
votes
1answer
40 views

How to recover tmp folder and problems with apt lockfile [duplicate]

I accidentally deleted tmp folder. than I was unable to visit browser neither could update/upgrade from terminal. I somehow managed to give 777 permissions to tmp. but When running sudo apt-get ...
1
vote
0answers
59 views

Find a file activity

I need to find what are all files opened yesterday in my system.I didn't installed GNOME activity. Is there any way i can see the activity a file when are all a file opened and how many times ...
0
votes
0answers
30 views

At the beginning of installation: “Please correct this from partitioning menu”. but I don't have partitioning menu?

I have windows 7 And I downloaded Ubuntu from the official website And I installed via wubi.exe And restart And I get a message something "Root file system not defined. Please correct this from ...
0
votes
0answers
15 views

Proper way to install debian packages on filesystem extracted on host machine not directly on development board

I am customizing linux filesystem based on ubuntu, the filesystem is extracted on my development machine in which i can install custom binaries, libraries and scripts which is fairly easy enough. But ...
0
votes
2answers
30 views

Keeping track of filesystem changes

I am looking for a way to find changes made to filesystem on Ubuntu. Like so: make some kind of a snapshot i.e. scan given folder (files, subfolders), save files names and sizes. install whatever, ...
0
votes
0answers
16 views

How to change the physical location of predeterminated user folders [duplicate]

Is there a way to change the physical location (real HDD partition) of the predeterminated user folders? I'm talking about the folders the system put automatically into the main system partition: ...
106
votes
9answers
339k views

How do I view all available HDD's/partitions?

I found a 6 GB IDE HDD in my basement. I want to plug it in and see what might be on it. The drive seems to be recognized in BIOS. I can't find it in Ubuntu to view files, and Ubuntu is the only OS ...
0
votes
0answers
101 views

Cannot fsck or e2fsck to repair disk. dumpe2fs returns “Couldn't find valid filesystem superblock.”

I've been dealing with this hard disk problem all day. External Seagate disk I've foolishly failed to back up still is recognized by PC but cannot be read. When I try to follow the steps here, it ...
0
votes
1answer
158 views

Boot to Btrfs snapshot in Ubuntu

OpenSuse recently implemented an GRUB entry that allows you to boot directly into a previous Btrfs snapshot of your root. Is there any way of bringing it to my Ubuntu installation? Such feature would ...
1
vote
1answer
141 views

Where are the headers with IOCTL numbers for ext4?

I am looking for ext4.h, or another file that contains EXT4_IOC_*. There is nothing in /usr/include or /usr/src. I have linux-headers-generic installed. I am on Kubuntu 14.10. Where are the headers? ...
0
votes
0answers
228 views

Is there a files system that alows you to chnge the partion size without unmounting the disk?

I am looking to have a Ubuntu setup that has a HDD and SSD. My HDD will have four or more (extended partition) that contain the /home and other mount points with the programs that come from the ...
0
votes
1answer
29 views

Probing system file interactions

I need to monitor all interactions with Linux file system (include interactions through interrupts, kernel functions and system calls). To do this, I use SystemTap. I have two questions: According ...
-2
votes
2answers
43 views

What are this files do? [closed]

i'm new to ubuntu while i searched for files i found BitStormLite ec_storm_threshold rrefpropstormin.html StormbaanCoureur weather-storm.svg what are this files do ?
8
votes
3answers
11k views

How to convert ext2 to ext4?

I installed Ubuntu 12.10, and I don't know why, I have an ext2 partition. How can I convert this ext2 file system to an ext4? Will I lose all my data?
0
votes
0answers
26 views

How to rollback btrfs snapshot not at the top of the btrfs tree

(I may be using the wrong terms in this question, but I'm trying to use the terminology in the linked page.) The ubuntu wiki explains how to rollback a snapshot that is located at the top of the ...
0
votes
0answers
24 views

Deduplication of tiff files on os level

We have thousands of TIFF files on our linux fileserver. There are lots of doubles. Windows Server 2012 has a deduplication feature. Is there something simular in Ubuntu? If so which filesystem do ...
2
votes
1answer
62 views

Strange message in syslog regarding ufs filesystem

I found this message in syslog: ufs: You didn't specify the type of your ufs filesystem >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is ufstype=old What ...
53
votes
5answers
62k views

How do I avoid the “S to Skip” message on boot?

After upgrading my laptop from karmic to lucid, my fat32 partition won't mount automatically. I get the message: The disk drive for /osshare is not ready yet or not present Continue to wait; or Press ...
0
votes
0answers
36 views

input/output errors

Hey what goes on everyone? I've been noticing for the last few months that Ubuntu 14.04 is locking up on me, and if I have any applications open (more importantly terminal) if I run a command I get ...
28
votes
11answers
31k views

How to hide a(n) (NTFS) partition from ubuntu

I need to hide an NTFS partition from listing in the nautilus. How can I achieve that? Is there any tool to do that? And how can I hide files in ubuntu (except . operator)
0
votes
0answers
206 views

Google Chrome “--allow-access-from-files” mode does not work

I need to run a javascript code which accesses the file system (with file:// protocol) from google chrome. I have seen it can be allowed with the so-called --allow-access-from-files option as ...
0
votes
0answers
108 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
32 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
2answers
1k views

How can I get rid of “scanning for btrfs filesystems” at start-up?

When I start up my computer, it says: "scanning for btrfs filesystems". I do need the btrfs-tools, but my btrfs filesystems are on a removable disk which is disconnected at start-up. Scanning for ...
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 ...
88
votes
10answers
172k views

What is the equivalent to the Windows “Program Files” folder? (Where do things go when I install them?)

What is the Ubuntu equivalent to the Windows C:\Program Files folder? This is where Windows stores the system wide data for applications.
0
votes
0answers
60 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 ...
31
votes
4answers
7k views

Where in the filesystem should I store shared data?

Where in the unix filesystem is the conventional location to save non-user specific data, for example data shared via nfs or ftp, or backups? I could obviously create and use any arbitrary folder ...
0
votes
0answers
53 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 ...