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
1answer
59 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.
8
votes
8answers
7k views

How to create an encrypted partition?

I am trying to create an encrypted partition, and while I format it I get the option to choose the partition type (fat/ext2/ext3/ext4/xfs/reiserfs/minix/ntfs). Is there any benefit of choosing one ...
0
votes
0answers
256 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 ...
9
votes
2answers
7k views

How do I create an encrypted filesystem inside a file?

Recently i've found this interesting tutorial: http://flossstuff.wordpress.com/2011/08/07/using-a-file-as-a-storage-device/ It explains how to create an empty file, format it as ext4, and mount it ...
0
votes
2answers
375 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
120 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 ...
1
vote
1answer
633 views

Problem with NIS configuration

I tried to configure NIS in a server and a client both running Ubuntu 14.04 following this guide and this official guide. After a reboot the client machine got locked with this message several times ...
0
votes
2answers
27 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
36 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
30 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 ...
0
votes
1answer
21 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]
1
vote
1answer
109 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
419 views

Why do I not see my /bin, /var, (etc.) directories in my root partition?

I recently bought a VPS and when I log in as a root user, I dont see the /boot, /bin, /var, etc. directories. Why is this? This is what I see when I use my ls -la command in the terminal. I am the ...
0
votes
1answer
17 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 . ...
0
votes
0answers
41 views

Increased partition size of virtualbox installation succesfully; can't address extra space

and thanks in advance for reading. So I installed Ubuntu desktop (version 14.4) on my 64 bits Oracle VirtualBox (version 4.3.20). All fine. I gave it 10 GiB's of space. Also fine. Run it on an i7 and ...
2
votes
2answers
3k views

Why are boost package libs installed to /usr/lib/x86_64-linux-gnu?

After running sudo apt-get install libboost-all-dev on ubuntu 14.04 amd64 desktop (Trusty Tahr), I found that all the libs are installed into /usr/lib/x86_64-linux-gnu/ instead of /usr/lib/ ...
0
votes
2answers
100 views

How to show the full path of a file or directory in the terminal? [duplicate]

I am new to Ubuntu. I am trying to learn how to SRM a file, however I need to know how the directory name in order to type it out in the terminal. Can someone please help me figure out how to see ...
2
votes
1answer
658 views

Does Ubuntu plan to move to btrfs as default filesystem?

Btrfs seems to have a set of useful features such us snapshots and is default in Opensuse and Suse.Fedora plans to move to it. Does Ubuntu plan to move to it? If not, why ?
1
vote
2answers
48 views

What does the grey slice in disk usage represent?

When I right click on Properties for my ext4 partition I get the following pie chart: The meaning of the blue and white slices are fairly obvious, since they are in the legend to the right, but ...
0
votes
2answers
17 views

Do files under /opt and /var change much other than during software installation?

Do files under the following mount points change other than during software installation? /opt /var Can they be placed on read-only media?
1
vote
0answers
25 views

How to configure VM to mount filesystem share as writable

Here is my situation. I have a host computer running ubuntu server 14.04 It mounts a dev from fstab: /dev/sdb2 /media ext4 rw,nosuid,nodev 0 0 Permissions on the mounted folder are owner=root, ...
6
votes
3answers
1k views

Is it possible to take a snapshot of / (or other) filesystem, like in VirtualBox?

Taking snapshot of root partition will make possible to roll back to previous state. This is very helpful when something went wrong and/or data loss occurs. This feature can be seen in VirtualBox HDD ...
0
votes
2answers
419 views

What is the purpose of the bin directory? [duplicate]

What is the purpose of the bin directory? What are some examples?
0
votes
0answers
53 views

recovery lost data from corrupted file system

trying to restore/backup/save data from a corrupted hdd (windows 7 installed, no boot, no mount). windows just wants to format it and via "computer management -> disk management" its shown as "RAW" ...
0
votes
2answers
185 views

Root filesystem check failed

While updating ubuntu my system crashed and after restarting and entering to ubuntu I get the message Root filesystem check failed.Very much similar to the post Ubuntu 13.04 to 13.10: Filesystem check ...
1
vote
4answers
105 views

Change visibility of files for non-root users

I have a file that is only visible in root mode. I want to make it visible for non-root users. I added permissions such that the maximum of person can read, write and execute it (even if only read ...
1
vote
0answers
42 views

Where is the missing hard disk space? [duplicate]

df tells me that the server uses 84% of the HDD it uses. $ df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda1 30G 24G 4.6G 84% / none 4.0K 0 4.0K 0% ...
0
votes
1answer
14 views

What could possibly be changing the access time of old backedup files?

I am using ubuntu 14 LTS 64 bit. I keep backup of my source files in /var/src-backup/. I was examining the access date of all those files and it appears as though the files have been accessed at ...
1
vote
1answer
187 views

How to recover after all files are deleted from /var folder?

I accidentally deleted all files inside folder /var. Now, my computer restarts but switches to Command line interface. So, how to make my system work as before?
0
votes
1answer
35 views

Ubuntu Server Var directory deleted

How can solve the problem of accidentally deleted var directory of Ubuntu amazon aws server.My website down right now.Support from amazon is paid service I am new to Ubuntu Hosting and unable to pay ...
6
votes
6answers
3k views

Filesystem filling up due to large uvcydnctrl-udev.log file

Now my installation of Ubuntu costs me more than 100 GB of the hard drive space. And whenever I try fslint and fdupes, they say Permission denied to delete the duplicates. Please help me guys. ...
2
votes
1answer
34 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 ...
39
votes
3answers
279k 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. ...
1
vote
0answers
31 views

unsquashing a liveUSB, I found that the filesystem is not identical to the one loaded from liveUSB

so I have ubuntu studio 64 in a live USB and I wanted to change the way it boots. Namely, the liveUSB boots directly to a live user session bypassing lightDM. I want to change that and as I figured ...
0
votes
2answers
967 views

Bi-directional synchronization of folders on two (or more) machines

At the moment my setup is the following: I have a "file server" machine with the files on it and the laptop connects on each boot via sshfs to a directory on the fileserver. I work on both machines on ...
0
votes
1answer
66 views

How to change the permissions of the sound devices so only audio users can read and write

Summary: I want to know how to change the permissions of my sound devices so that only my user can read and write to them. I thought this could be accomplished by chmod 0660 /dev/dsp* but /dev/dsp* ...
1
vote
1answer
4k views

Mounting Disk Image in Raw format

While trying to mount a disk image in Raw(dd) format using the following command mount nps-2010-emails.dd /media/manu/ I get the following error message mount: you must specify the filesystem ...
0
votes
0answers
60 views

lvm VG on boot disk (array) not found with vgdisplay but VM VG seen

I have weird problem with VM server and two raid arrays: OS is installed /dev/sda (raid-5 array) with vg-disk (group?) with id vg_server1 which is created during installation. Later on there is ...
1
vote
2answers
3k views

How to wipe/format entire disk using gparted?

With gnome-disk-utility alias palimpsest there is an option to format entire disk with partitioning scheme "none" or something similar. How do I do that in gparted? (? is it the "loop" option ?) Or ...
8
votes
3answers
18k 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.
9
votes
4answers
2k views

NTFS -> EXT4 migration, where did 120 GB go?

wim@wim-ubuntu:~/Desktop$ mount | grep media /dev/sdc1 on /media/data type ext4 (rw,nosuid,nodev,uhelper=udisks) /dev/sdb1 on /media/wd type fuseblk ...
0
votes
0answers
50 views

After Ubuntu update Unable to install program from cd-rom using Wine

running Ubuntu 14.04. A few months ago I installed a windows program from a cd-rom using Wine. Program worked fine. Now I wish to update the same windows program using an updated cd-rom. Just prior ...
2
votes
1answer
48 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 ...
10
votes
4answers
22k 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
1answer
76 views

Ubuntu i386 installed with bad DDR2 2GB memory card

After great trial and error, I was able to successfully install the Desktop version of Ubuntu 14.10 i386 on my PC, which is an old DELL Pentium 4 OptiPlex 210L. It was a case where an installation ...
0
votes
3answers
67 views

I'm ubuntu newbie, need help. on Dell 5537

I just got a new Dell 5537 i7 laptop with Ubuntu pre-installation on it. It's my first time to use Ubuntu system. I know may be my questions hav been asked before but frankly I tried to look them up ...
14
votes
6answers
13k views

How folders created in /var/run on each reboot

In recent ubuntus (specifically, what interests me the most is 12.04) /var/run is tmpfs, and thus I assume it starts empty with each reboot. Yet, I see there some folders, like /var/run/mysqld and ...
1
vote
0answers
75 views

Lost+found folder still present even after reformatting partition - how to remove?

I'm trying to reorganize the partitions on the 2 HDDs that I have on my system. One of the partitions (ext4) is 883 GiB (according to gparted) and apparently has 14 GiBs used. However, if I mount ...
1
vote
0answers
111 views

Fat32 mounting as read only

I've edited my /etc/fstab to contain the following: UUID=F285-17E1 /media/TV-1 vfat rw 0 0 UUID=6CBA-1DEC /media/TV-2 vfat rw 0 0 UUID=7D3B-170D /media/TV-3 vfat rw 0 0 UUID=BBFF-1EE4 ...
2
votes
1answer
41 views

Will creating a directory inside a system directory with 777 permission cause security vulnerability?

Can creating directories with 777 permission inside system directories cause any security weakness? For example, say I open a directory called Custom inside /usr/share/backgrounds/ and give it 777 ...