Questions dealing with Ubuntu's layout of files, permissions, and files that reside in special locations on disk.

learn more… | top users | synonyms

-3
votes
0answers
16 views

executing executable files of C programs [on hold]

While running executable files of C programs, Ubuntu 14.04 OS is freezing. What would be the solution ?
0
votes
0answers
9 views

How do I remove syslog after centralizing to a remote server?

How do I remove syslog from a client after I have centralized it to a sever? Here are my syslog configurations of the client server $ModLoad imtcp $InputTCPServerRun 514 @@:192.168.0.101 I want to ...
0
votes
0answers
17 views

How many number this file has been modified before?

I suppose this is not that easy, but for that I'm asking here. So my question is how to record all modifications have done to certain file. In other words I would know how many times a given file is ...
2
votes
2answers
23 views

Disk space issue after apt-get update

I did a system update with sudo apt-get update and rebooted. After the reboot an error came up showing that i'm out of disk space. was barly able to access my desktop. I checked the space util and ...
1
vote
1answer
25 views

recover filesystem from nuked hard drive

OK, I'll admit it, it was a dumb thing to do. I was using dd to copy a disk image onto an SD card for a Raspberry PI, but managed to copy the image onto /dev/sda instead of /dev/sdc. Problem now is, ...
0
votes
0answers
16 views

Ubuntu 12.04.3 ext4 support filesystem size >16TB

Had anyone tried having an Ubuntu 12.04.3 ext4 volume size greater than 16TB. Assuming filesystem is already GPT labeled.
2
votes
1answer
25 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
14 views

Ubuntu 14.04, ext4 remounts read-only 10-30 minutes after hibernate

After waking the laptop from hibernate, it successfully resumes. There are no errors in /var/log/pm-suspend.log and the filesystem is mounted read-write. After 10-30 minutes of regular use including ...
1
vote
0answers
14 views

sh file installation (CMake package)

newbie's question : I need to install latest cmake on my ubuntu. I've downloaded .sh file allowed this to execute as a program and run. seems it was not a fully functional setup but an archive only ...
0
votes
1answer
25 views

How to add directory bookmark when the parent directory is not readable?

In file dialogs and file managers, it's possible to add bookmarks representing directories, used similar to other "places". To add a bookmark for a directory, I have to enter the parent directory and ...
0
votes
0answers
19 views

Error while installing ubuntu 14.04 alongside windows10 using wubi

I am using windows10 in my system. I tried to install Ubuntu 14.04 alongside windows 10 using wubi. It shows the following error. If I click "ok", then it shows the same error again.
0
votes
0answers
16 views

How to prevent Truectypt volumes from appearing on the launcher panel?

I am using Truecrypt for some purposes (yes, I know it is considered compromised but I believe it's enough for my case and I find it very convenient) and I don't want the volumes I mount with it to ...
0
votes
0answers
27 views

Ext4 file system creation failed

Every time I try to install it gives me the error file system creation failed, or failed to mount. I'm trying to install Ubuntu as the sole OS. I was trying to install alongside Windows 7 but clicked ...
0
votes
0answers
25 views

Unable to mount secondary BTRFS filesystem to specific subvolume

So I'm trying to wrap my head around BTRFS and set up my fileserver using BTRFS filesystems. Here is my setup: /dev/sda1 : BTRFS filesystem, contains @, @home subvolumes mounted to / and /home. ...
0
votes
0answers
11 views

How can I make proper use of subvolumes in btrfs?

In the past, I've always used three ext4 partitions to fulfill my needs: /dev/sda2: / /dev/sda3: /home /dev/sda4: /mnt/Data Right now, I'm using Ubuntu 15.04 with the btrfs filesystem. After ...
1
vote
0answers
21 views

Zenity (alike) File Browser with custom filesystem Root

I am creating ubuntu application which need to display file browser from command line, and request file selection from user. I am aware usage of zenity --file-selection --file-filter="MP3 Files | ...
1
vote
0answers
20 views

How can I restore system files that were accidentally deleted in /usr/share and /var/lib/dpkg?

So ya, earlier today I accidentally ran a rm -rf /usr/share and let it run for about 15 seconds. And then in trying to fix the error I went ahead and uninstalled all of my desktops and a bunch of ...
0
votes
2answers
54 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 ...
-1
votes
0answers
28 views

All files lost, restored to factory settings

Ok so for a reason or so i couldn't log back into my ubuntu 15 machine. so checking in the forum i some instructions to do alt+ctrl+f2 sudo chmod -R u+w /home/username sudo reboot and ...
3
votes
0answers
20 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
39 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
34 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
24 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
68 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
14 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
32 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
17 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 ...
-1
votes
0answers
14 views

Mounting TF201 filesystem on Ubuntu

When I connect my TF201 to my PC it is viewed only as a media for music, but what i want is to access TF201's filesystem (as I can do with Windows). Is there a way of doing that?
0
votes
0answers
8 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
38 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
33 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
20 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
34 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
21 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
31 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
47 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
29 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
64 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
123 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
281 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
41 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
14 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
33 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
68 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
17 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
36 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
42 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
62 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
25 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 ...