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
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
29 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
631 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
55 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
237 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
119 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
202 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
42 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
35 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 ...
42
votes
3answers
289k 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
35 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
981 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
73 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* ...
0
votes
0answers
68 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
19k 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
1k 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
53 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
51 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
77 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 ...
15
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
77 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
120 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
43 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 ...
0
votes
1answer
84 views

Whenever I open my home (~) folder with nautilus, there is an endless loading

Ubuntu 14.04. Kernel 3.13.1-031301-generic. If I change to another folder the endless loading (*) from hard drive stops. I don't have much in that folder. Any idea what might cause that, or how I ...
0
votes
1answer
867 views

grub rescue, can't boot from usb

I have ubuntu and windows 8.1 dual boot. Suddenly I got the grub rescue screen. I tried grub rescue > ls command and it lists down (hd0) (hd0,msdos1) (hd0,msdos2) (hd1,msdos1) (hd1) when ...
0
votes
0answers
15 views

Is there a Relation be Uboot and UImage?

Can anyone explain me what is a UImage and how it is related to Uboot ?? I understand that UImage is the kernel Image.. But why it is so called and not a Image file..
0
votes
2answers
28 views

Accessing exported gcode from Slic3r?

I've been using Ubuntu for about a month and am definitely a novice, apologies if this question is trivial. I use a program called Slic3r to create gcode (machine instructions) from stl files for 3D ...
2
votes
1answer
21 views

Can I make a boot drive with my desktop

I want to make a boot drive with all of the system files the same as the files on my desktop. I want to just plug it in and have it boot up with all my settings and files and everything running when I ...
1
vote
0answers
49 views

What would cause a system freeze from navigation to /proc?

This is really driving me crazy, if I pull up nautilus and navigate to /proc, my system will completely freeze up. The only way to get out seems to be to SysReq RSEINUB, but sometimes even that ...
0
votes
0answers
151 views

No mountable file systems on Macbook Pro

Downloaded 14.10 to install on a Macbook Pro. Then I get a message ubuntu-14.10-desktop. no mountable file systems
0
votes
0answers
44 views

expanding filesystem

I`m totaly newb in Linux-like systems. Can u help me expand filesystem? Ubuntu server is hosted on Xen. I have some additional space in hypervisor but do not know how to do resize in the system. ...
0
votes
2answers
64 views

tmp file in root folder with large size/ very long name

As the title, I have this file in root folder and I don't know what it is. Can I safely remove it? -rw------- 1 root root 925M lug 22 15:28 tmpTKb8nhN6ke4IJ bnWrrgcIz-iyhS8H5V ...
0
votes
1answer
112 views

Can't view files on Windows 8 partition

I seem to be having a problem with Windows 8 on my desktop PC (not able to boot), so I created a bootable USB stick with Ubuntu to see if I can use it to access my hard disk and hopefully recover at ...
0
votes
2answers
46 views

What is 'None' that shows up in the filesystem in Ubuntu 14.04.1 LTS?

$ df -h S.ficheros Tamaño Usados Disp Uso% Montado en /dev/sda5 36G 11G 23G 33% / none 4,0K 0 4,0K 0% /sys/fs/cgroup udev 1,5G 4,0K 1,5G 1% ...
0
votes
1answer
66 views

Why are the MBR and GRUB present as files in the Linux filesystem?

A computer's master boot record consists of raw binary and does not reside on any sort of partition. Legacy GRUB and GRUB 2 are installed to the sectors inbetween the end of the MBR and the start of ...
0
votes
0answers
53 views

How to Confirm user group permissions in the current fuse user group

I have created a folder "mtp" in /Media and its /media/mtp. The basic property tells: Type:- Folder(inode/directory) and in Permissions it shows Owner and Group as root. It says you are not the ...
1
vote
2answers
30 views

Number pair prefix to config files

I have noticed some config files having a prefix. E.g. Inside my /etc/php5/cli/conf.d: 05-opcache.ini 10-pdo.ini 20-curl.ini ... Could someone explain this? I am thinking something along the ...
74
votes
1answer
50k views

Differences between /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin, /usr/local/sbin [duplicate]

I'm running an Ubuntu Server 13.04, but I see the same on a 12.04: I have six directories with command files. These are: /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin What are the ...
0
votes
2answers
75 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 ...
0
votes
1answer
135 views

Cannot delete a folder

I have Segate backup + 1TB external HDD recently since 1 month i am unable to copy the files effectively sometimes the copying is 10 kb/s like that. and sometimes iam getting error like Input/output ...
0
votes
1answer
66 views

chown not working on remote filesystem, other commands (e.g., chmod) do work

I am trying to change the ownership of a file on a remote filesystem, but chown responds with chown: changing ownership of ‘foo’: No such file or directory However, as you can see, foo is there and ...
1
vote
1answer
151 views

File system went read only after adding ssh key

I followed this guide to set up ssh key on my digital ocean droplet, but since I made step 4 my file system went read-only. I changed /etc/ssh/sshd_config from PermitRootLogin yes to PermitRootLogin ...
1
vote
1answer
770 views

print contents of a directory structure (filesystem) to CSV on the command line

How can I catalog the contents of a filesystem to a CSV file? This is particularly useful for removable media. I've found a couple links that point in this direction: AskUbuntu.com: listing files ...