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
60 views

What is this Directory?

I know that the .desktop files of mostly of installed applications will be founded in the /usr/share/applications. Today and accidentally I came to the directory /usr/share/app-install/desktop. It ...
3
votes
0answers
27 views

how can two files have the same inode number yet have link count 1?

As I was doing some sorting of my collection of cds I found out that processing the output of a find with sort -u was giving me a smaller list than plain sort so I investigated. With diff from the ...
2
votes
1answer
56 views

Supported filesystems for Ubuntu touch

So I've got the new BQ Aquaris E4.5 with Ubuntu OS, and put in my SD card which is formatted on NTFS. It's not surprising that my phone does not recognize anything on the card, and i think Ext4 ...
2
votes
1answer
42 views

How to find the size of a filesystem?

How can I find out the size of a filesystem in Linux? By that I mean the exact number of bytes that are used from the partition, not just the output of df, as that can differ from the true size when ...
1
vote
1answer
28 views

Ubuntu Desktop shortcuts 'No longer exists'

I'm using Ubuntu 14.04 with Windows 7 dual-boot. If I try creating a shortcut of a folder from my local drive, say "E:" and send it to ubuntu desktop, the next time I log in to Ubuntu, the folder ...
0
votes
1answer
87 views

ls discrepancy with du df output

Adding up the sizes of files and directories returned by ls gives a different value than that given by df or du. The df and du commands give me the same output, so I don't have that frequent problem, ...
1
vote
1answer
23 views

shareable vs unshareable files

I'm reviewing the Filesystem Hierarchy Standard and it states: "Shareable" files are those that can be stored on one host and used on others. "Unshareable" files are those that are not ...
1
vote
1answer
44 views

Disk allocation

I installed ubuntu 15.04 and used entire space(640 GiB) for ext4 partition but now it is showing that used space = 30.91 GiB, free space = 24.96 GiB and 536.40 GiB unallocated space. I tried to extend ...
0
votes
0answers
24 views

fsck took only two seconds to report “clean”. What did I do wrong?

I booted a LiveCD (Ubuntu 14.04.2) and opened a terminal window. I used sudo lshw | more to determine that my usual boot volume was logically named /dev/sda1 . It's the primary partition on a 1 ...
0
votes
0answers
14 views

Desktop shortcuts getting corrupted in Ubuntu 14.04 LTS

If I create a desktop shortcut in Ubuntu, for my folder(s) off my local drive, and when I login the next time, the shortcut link will be EXPIRED! If I try clicking that link, I get a message that the ...
1
vote
1answer
55 views

Re-install and keep home partition with btrfs - lost files

So, I was running Arch Linux with separate / and /home. Both were btrfs partitions, but the whole drive was not managed by btrfs. I decide to install Ubuntu 14.04. I carefully select to format / and ...
0
votes
1answer
47 views

Problem accessing old data on btrfs /home in ubuntu 14.04

I recently did a fresh installation of ubuntu 14.04 64 bit on my pc. Previously I was dual booting ubuntu 14.04 with windows(both 32 bit). My hdd is 500 GB. The previous structure of the hard disk was ...
0
votes
0answers
24 views

/proc/fs/jbd2/partition/history - how to enable?

I have the /proc/fs/jbd2/partition/info file that produces the summary of what happened in the partition's journal so far, but I am not able to see the history file. It doesn't exist. What should I do ...
0
votes
1answer
47 views

GRUB Rescue - Cannot use insmod, msdos3 does not appear and bootable CD is not working. Please help

First, I must confess that I know almost nothing about Ubuntu, GRUB, GNOME, or anything else to do with Linux. I've been using Windows for as long as I can remember, so my experience with Ubuntu spans ...
0
votes
1answer
30 views

what is the default ownership permission of /var directory? [duplicate]

I just messed up with my /var permissions , setting the chmod -R 775 and chown $USER:USER to it.. My poblem is, i want to set its default permission. Is there someone who can help me on this problem? ...
2
votes
1answer
34 views

How to get rid of disk icons in Unity launcher? [duplicate]

I have got here an installation of Unity and I am annoyed with the 3 disk icons in the Launcher right below the workspace switcher. Is there a way to prevent these icons from showing? Those 3 icons ...
3
votes
2answers
62 views

vmlinuz and initrd strange files appeared in “/” directory

I have recently noticed that four new files have appeared in my / directory: lrwxrwxrwx 1 root root 33 Apr 9 14:07 initrd.img -> boot/initrd.img-3.16.0-34-generic lrwxrwxrwx 1 root root ...
0
votes
0answers
38 views

How to allow only one program to read/write to a file at a time in Ubuntu?

Is there any way in the OS, to issue read/write lock on file? I mean, the file itself should not open, if a lock is issued! NOTE: Don't give me programming solutions.
1
vote
2answers
83 views

What harm can a cold reboot cause into your computer? [closed]

I was taking a look at the game DEFCON, and it froze my PC. Unfortunately, I only discovered the REISUB thing after a cold reboot. Now, what harm the cold reboot caused into my computer? Any type of ...
8
votes
3answers
132 views

How to run a script when a directory is changed by another user?

I know has been a bit of discussion about topics similar to this. But here is what I am basically trying to do. I have a watch directory called watched and whenever a file is added to that directory, ...
11
votes
1answer
328 views

Where are SMS and MMS stored?

I have BQ Aquaris E4.5 Ubuntu Edition phone and I'm not able to get MMS. If someone sends me a MMS, I just get empty message with no sender or anything. I can see those messages in message-app but ...
0
votes
1answer
61 views

btrfs performance parallel access

I'm running a Raid5 (3x 500GB Sata2 HDD) based on btrfs 3.12 (Ubuntu 14.04 x64) and a VirutalBox VM uses this volume. As long as no other process accesses the volume, the VM runs fine. But recently I ...
0
votes
0answers
22 views

How to hide btrfs devices in nautilus dynamicly

According to this question and answer: How to hide btrfs devices in nautilus? Is it possible to do this dynamically? Devices like /dev/sdc1 might not be the same on next boot, so a static ...
0
votes
0answers
13 views

purpose of bamf-2.index [duplicate]

What is the purpose of /usr/share/applications/bamf-2.index ? I have noticed the applications it contains are installed in my computer. But I don't think it contains the complete list. Because the ...
0
votes
0answers
48 views

Linux, boot safe mode - repair broken packages not working?

Xubuntu 12.04 Application windows started to open only partly functional/broken? Some do not display fully, are not able to minimise, expand or close (missing these buttons) and are visually flat - ...
0
votes
0answers
111 views

Read only filesystem?

Whenever I try running apt-geti get this error: mike@mike-ubuntu:~$ sudo apt-get upgrade [sudo] password for mike: sudo:unable to open /var/lib/sudo/mike/1: No such file or directory W: Not using ...
0
votes
1answer
18 views

Is O_NOATIME safe to ignore?

I am designing a filesystem to be implemented in FUSE. I have a question regarding what is allowed and best practice. There are 2 scenarios: User process calls open(..., O_NOATIME). Filesystem ...
1
vote
2answers
46 views

Folder permissions changed [duplicate]

I have very specific questions regarding permissions. I have delved into the FilePermissions Wiki - https://help.ubuntu.com/community/FilePermissions Recently I installed an ecommerce open source ...
2
votes
2answers
49 views

How to protect essential Windows files on NTFS partition from edit/deletion in Ubuntu?

So I made a mistake yesterday, accidentally deleting essential Windows files when working in Ubuntu (namely NTUSER.DAT). Just quickly my system set-up: I have Windows 7 (NTFS partition) and Ubuntu ...
0
votes
0answers
87 views

Ubuntu: Unable to mount SD card

I did go through other similar questions and realized that although the questions are the same but for the different reasons. Nothing so far I have tried based on online-help or suggestion helped me. ...
2
votes
0answers
39 views

What's up with the sudden appearance of .AppleDouble folders all over my filesystem?

Something I have never seen on my Ubuntu machine before now- .AppleDouble folders have appeared in many different folders all over my filesystem. It creeped me out- like someone on a Mac was looking ...
2
votes
1answer
26 views

Number of files shown via Properties and when copying are different?

I have looked at "Properties" of a folder to see the number of files and the folder's size. When I decided to copy the folder to my Desktop, number of files and the folder's size shown on the progress ...
0
votes
1answer
27 views

Dynamically set user groups for directories and files on a directory

I have made some vhosts which resides on my home folder, and i have given the group access to www-data user. This way the project (a web system) renders on the browser. This is a symfony based ...
22
votes
2answers
1k views

Does the /dev/null file actually have a fixed size?

I have just found out that /dev/null is a file and not a directory. I'm just wondering if it has an actual file size.
2
votes
1answer
16 views

Get back Documents folder? [duplicate]

I deleted my documents and downloads folder. How can I get them back. I don't want them to be like any other folder, I would like it to be like how it used to be where it shows on the side of the ...
0
votes
1answer
35 views

I want to resize my mount point partition of ubuntu 12.04 and install winndows 7 .HOw can I do that? [duplicate]

I want to resize the Ubuntu 12.04 partition and install Windows 7. How can I do that? Please refer to the screenshot of Gparted editor. I want to resize the dev/sda3 partition.
0
votes
0answers
26 views

Ubuntu hard reboot. Failed to power

I was told to do a hard reboot on my ubuntu 14.04.2 Ubuntu Desktop. Once i did it didn't turn completely back on. So i got prepared to run fsck, So i put in the recovery disk and rebooted my computer ...
0
votes
1answer
21 views

In a dual boot, why can I see and mount the Windows partition, labeled 'OS'? [duplicate]

Does it present a security threat in any form?
1
vote
0answers
58 views

I can't access into my Ubuntu account 14.04

For disgrace I have asked advice in "chiedi Ubuntu" forum - the Italian version of ask Ubuntu - and for following their advice, I can't get anymore in my Ubuntu account due to internal errors of the ...
0
votes
1answer
62 views

Manual Partitioning During Installation: Understanding File System Types

I am wondering if anyone can help me understand the difference(s) between the different file system types: ie. swap, ext4, reiserfs, etc... I am working with the manual partitioning during ...
0
votes
0answers
49 views

How to repair NTFS Filesystem

how can I restore NTFS filesystem...i had a partition on a 1 TB hard drive now on fdisk -l I receive 2 unknown systems one with id 72 and one with id 6c. I tried chkdsk in windows without success. ...
3
votes
1answer
34 views

Why does the path // exists? [duplicate]

I have on occasion accidentally typed this to change to the root directory. $ cd // It works fine and I am in the root directory because ls returns same results as if I am on root. But why is this ...
0
votes
1answer
81 views

Irremovable folder after wiping free space with bleach bit

I have a following problem. Yesterday I was using Bleach Bit as root to wipe free space. When I woke up Bleach Bit was not Responding and the terminal hangs on "suffix length = 235". So I force Bleach ...
57
votes
6answers
8k views

How is 'rm -rf /' able to delete all files in the system?

I haven't tried this command on Ubuntu (for obvious reasons) so I am not sure if Ubuntu will allow its execution. But it's famous for deleting everything. Just out of curiosity, what happens when the ...
2
votes
2answers
126 views

/opt folder missing in Ubuntu 14.04

I'm trying to install Eclipse "by the book" in /opt, but when trying to access /opt, it seems that /opt directory doesn't exist in Ubuntu 14.04: $ cd /opt/ bash: cd: /opt/: No such file or directory ...
0
votes
0answers
99 views

How to mount UBIFS/MTD partitions?

I have a lovely mount: unknown filesystem type 'ubifs' error with Ubuntu 14.04. What package provides this functionality? It should be included in some previous versions of Ubuntu. The mtd-* ...
0
votes
3answers
49 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 ...
12
votes
5answers
587 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
92 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
74 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 ...