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
0answers
48 views

SFTP access and editing files outside the home folder

I would like to be able to edit all files on Ubuntu server 14.04 using Filezilla and SFTP. Is there another way to do that except connecting with root user ? If I connect with other user, then I ...
1
vote
1answer
647 views

/var/log taking up 8.9 GB! What should I do? [duplicate]

I am running Ubuntu 14.04 on my ASUS N550JV laptop. Just today I got a pop-up notification telling me that there were less than 100 MB in my root partition. I checked it and find /var/log is taking up ...
8
votes
4answers
43k views

Why has my file-system turned read-only after updates?

I'm running 11.10 and I applied some updates. After that whenever I use my computer, I can, but only for about 2 or 3 minutes before it becomes read-only. Any sudo command entered gives me the ...
0
votes
0answers
2k views

blk_update_request: I/O error, dev fd0, sector 0

This happened after a kernel update. Whenever I try to boot, my computer says "Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1) ...
2
votes
0answers
48 views

Mounting VFAT SD card on Ubuntu 14.04 not possible w/ x-gvfs-show option? [duplicate]

[Ubuntu 14.04.3 x86_64] I have a 128MB SD card that I want to use as a read-only tripwire binary and database volume. Using UDisks I reformatted (complete wipe) that card with FAT-16 bit version as ...
0
votes
0answers
98 views

Proper way to mount a hfs+ dive for read and write

So I have this drive from my old Mac Pro which contains a lot of data (about 1.5TB). I switched to a Linux box (running Ubuntu 15.10) and now I need r/w access to it. I got it working using this ...
3
votes
1answer
315 views

How to list compression ratio on compression enabled btrfs?

I enabled compression on a btrfs volume. Now how do I know the compression ratio of files or directories? Or at least the overall stats?
2
votes
3answers
5k views

Where in linux file system can i see files of Hadoop HDFS?

I am a just data analyst hails from non cs background (not a hardcore system programmer) working on linux OS. While exploiting analysis using hadoop, a question was coming to my mind that ... / is a ...
0
votes
0answers
35 views

Partition system id FDISK

if I change a partition system id to FAT16 with fdisk command and make another file system such as ext2 on that partition with mkfs command what is problem? every thing is ok ! so what does (partition ...
24
votes
3answers
7k views

What does `~/ ` mean?

I'm new to Linux and Ubuntu. People keep using ~/filename in their answers to my questions. What does ~/ mean?
47
votes
1answer
24k views

What is the rationale for the `/usr` directory?

What is the rationale for the "unix system resources", or /usr directory, as described here, which duplicates many of the directory names under the root directory /? My purpose: I'm installing Oracle ...
14
votes
5answers
10k views

Is NTFS-3G safe for writing?

These days, I have to use the NTFS-3G driver to write to an NTFS drive (which will later be used in Windows). But I still remember the olde times of Linux ntfs driver which clearly said in the docs: '...
1
vote
1answer
603 views

Mount FAT32: Can't find a valid FAT filesystem

Xubuntu 14.04. nfts-3g is installed. /dev/sdc is the Flash drive. I have created new partition with fdisk (tried with cfdisk too). Tried with W95 FAT32 code and W95 FAT32 (LBA) code. ("b" and "c" in ...
2
votes
1answer
2k views

ramdisk, compressed, writeable, no swap

I need a ramdisk who handle transparent realtime compression on write and decompression on read. Example : I use /dev/shm, or I create a new tmpfs, mount it writeable and compressed. I wrote and ...
10
votes
1answer
850 views

Can I hide files so that they are hidden on both Windows and Linux?

I have my computer set up to use the same home folder / user profile for Linux and Windows. As a consequence I have files like NTUSER.DAT that are hidden on Windows showing up when I ls and in my file ...
4
votes
3answers
3k views

recover LVM after hdd crash

Yesterday, one hdd of my LVM crashed (smart-error) The Machine has the following setup: - 4 hdds - 1 Partition Raid10 (System, 4*50GB) - 1 Partition normal (/boot, 200MB, sda) - 1 Partition LVM2 (...
0
votes
0answers
24 views

GUI for managing persistent network filesystem mounts

Is there a GUI for managing persistent network filesystem mounts? I presume it would be a thin GUI layer on top of /etc/fstab file?
3
votes
2answers
470 views

Utility says there's no more free disk space, when there's plenty

Somehow my system is in a pickle. $ sudo apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The ...
7
votes
6answers
834 views

How to count the total number of files/folders on a system?

How can I count the number of all files/folders that exist on a system, using the command-line? I can find it out using a GUI, simply by opening the properties window for the entire / folder, but it ...
0
votes
1answer
22 views

is there anything else to fix ext4 14.04 encrypted root? should I stay with ext4 or is another more likely to last longer?

I can't get 14.04 to boot but from a 15.10 partition I can: ~$ sudo fsck.ext4 -v /dev/mapper/vgcrypt-lvroot e2fsck 1.42.12 (29-Aug-2014) /dev/mapper/vgcrypt-lvroot contains a file system with errors,...
0
votes
3answers
73 views

Is it safe to use a disk after a successful fsck?

I had not used my venerable ThinkPad T400 for about 2 weeks. I booted normally but was told to run fsck manually because of errors. I'm using 12.04 and the disk in question is ext4, a Samsung Evo 840,...
1
vote
1answer
50 views

Why doesn't my dvd/cd-rom show up with the “mount” command?

So, mount is supposed to show all file systems mounted in the OS file system. However, this is not the case for my system: the drive is called cdda//:sr0/, and no part of this is revealed in the mount ...
0
votes
2answers
21 views

Two Linux OSes on same machine - can edit files on the other OS safely?

I originally had an Xubuntu 14.04 (32 bit) on my machine. I have now also installed a Ubuntu 14.04 (64 bit) on the same machine and plan to migrate eventually there. In both OSes I have access to ...
0
votes
2answers
121 views

Cleared and Unformatted partitions in GParted

I was formatting my drive and found a partition system named cleared and unformatted. What are those partitions and why they are in GParted app ?
13
votes
8answers
11k 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 ...
2
votes
1answer
29 views

how can I read the specific block of a file

Suppose I have a file /foo/bar. stat /foo/bar can show the inode information of it -- something like this: Size: 9511068 Blocks: 18584 IO Block: 4096 regular file Device: ca01h/51713d ...
8
votes
3answers
659 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, ...
31
votes
3answers
24k views

Can I disable updatedb.mlocate?

On ubuntu server here and I'm trying to unpack 300M image files from a compressed file format using Java. My unpack rate is 0.5Mbytes/sec, abysmal (34 days to unpack 1.5TB at this rate). I'm trying ...
1
vote
1answer
2k views

What will be the default filesystem in 16.04?

Has it been decided what the default filesystem for Ubuntu 16.04 LTS will be? Will it still be ext4? ext4 is great, but it was already great in ancient Ubuntu 9.10. Ironically, Wikipedia states ...
0
votes
0answers
18 views

Where is the device for this folder?

Im trying to mount my smart-phone, and transfer some files, but when caja opens the disk it never does it right, and certain functionality like search doesn’t work right. So I just want to mount the ...
0
votes
0answers
52 views

Server partition problem /boot full

we are using a 1un1.de server which comes with a very strange arrangement of partitions. I need to reallocate the space from /data to / because / has only 4GB in total and /data has all the space in ...
5
votes
6answers
800 views

Search files by name instantly

Under Windows there is a smart software "Everything" listening to changes in NTFS that allows it to search files by names instantly - for a second or less. Is there such ability for Ubuntu?
5
votes
1answer
308 views

How to create a directory users can't delete (but can delete files in it)?

Is it possible to create a directory that ordinary users cannot delete, but they could create and delete files and subdirectories inside this directory? i.e. for /share/permanent/ users could ...
0
votes
1answer
122 views

Building a light weight home server/NAS. Question on RAID and filesystems

I'm planning a build that will be using Ubuntu Server 14.04. I have been trying to learn as much as possible and practice in virtualbox before actually installing any hardware. I am really enjoying ...
13
votes
3answers
4k views

Display folder sizes in file manager

In nautilus (or nemo) file manager, the "Size" column shows the filesize for files and the number of items contained in a folder for subdirectories: Number of items is not that important for me, it ...
0
votes
2answers
4k views

Value too large for defined data type

I need to burn a ISO (3.3GB in size) using Brasero using my Ubuntu machine, however when I try to do it which the ISO is saved in my Portable USB Drive with NTFS file system, Ubuntu 64-bit says: ...
0
votes
0answers
27 views

How to chmod /cdrom to 777 on USB trial install file system

I have done a USB install of Ubuntu 14.04 I try to sudo chmod 777 /cdrom/temp mode of /cdrom/temp changed from 0755 (rwxr-xr-x) to 0777 (rwxrwxrwx) ubuntu@ubuntu:/$ ls -ld /cdrom/temp drwxr-xr-x 3 ...
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
839 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 ...
98
votes
4answers
202k 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
184 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
48 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 ...
13
votes
6answers
33k 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
321 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 rw,dev,exec,auto,async,users,...
1
vote
3answers
71 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 ...
0
votes
0answers
62 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 /usr/share/...
0
votes
0answers
42 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 /usr/share/icons/hicolor/128x128/apps/softwarecenter....
0
votes
0answers
51 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 ...