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

learn more… | top users | synonyms

1
vote
2answers
19 views

File system goes read-only when using file explorers

I have a problem with my 15.10 system and it goes as follows: When using Nemo or Nautilus (these are the two I've tried) works fine as long as I explore my home directory only. Visiting 'File ...
4
votes
3answers
171 views

Size of device file ( missing in ls -l output )

When I try to print the device file output shows binary data in hexadecimal format. But upon doing a ls -l /dev/sda I get: brw-rw---- 1 root disk 8, 0 Jan 29 12:29 /dev/sda I don't ...
1
vote
1answer
25 views

Mount a disk at different points

What if I mount the same disk at two locations using different file systems? Will they just be like hardlinks referring to the same location or would it cause any issues? ex: # mount -t ext3 ...
1
vote
1answer
23 views

Switching back to read-only filesystem

I am using the Nexus 4 with UbuntuTouch installed. I switched to a writable filesystem by this command: sudo mount -o remount,rw / and it worked perfectly. How to switch back correctly to ...
2
votes
2answers
25 views

mounting error to access the drives in ubuntu 15.04

While trying to mount the drive it showing me an error like below...and  drive is not being mount ... “ Error mounting /dev/sda3 at /media/ubuntu/B840AE6C40AE30D4: Command-line `mount -t "ntfs" -o ...
1
vote
3answers
93 views

How to make a line of directories with one command?

With the mkdir command if I want this location to exist ~/test/panda/fat when only the ~ part of it exists so far I have to do something like this: mkdir ~/test mkdir ~/test/panda mkdir ...
0
votes
1answer
13 views

Recover unreadable directory on ext4 partition

One of my directories in a ext4 filesystem on my SSD became unredable and I need to recover the files. Here is what I did to crash the filesystem: I accidentally created 1.5 million small files in ...
0
votes
0answers
12 views

mount xbox 360 formated disk

I have a game save data on a usb pen drive. Ubuntu doensnt recognize the disk file system though. I used the command fdisk -l, and tried installing netware 386 packages, but the disk still wound ...
1
vote
1answer
31 views

How to format a FAT32 USB as EXT4

I have a USB device /dev/sda1 and I want to format it as ext4. I have tried sudo mkfs.ext4 /dev/sda1 It gives warning, goes ahead and completes formatting without error. But when I check it using ...
0
votes
1answer
65 views

After update chrome won't open desktop is read only

I'm running Ubuntu 15.10 and just did a software update via the software update manager. Now chrome will not open neither will Firefox and if I try to copy anything to my desktop I get an error ...
1
vote
0answers
23 views

Directory converted to a file

I have an external HD formatted to ext4. Somehow a directory is now showing up as a file (i.e. it is missing the 'd' in the attributes). fsck does not show any errors. I don't believe that the ...
0
votes
1answer
28 views

WD Passport external device not recognized

I am getting following error when I connect my external HDD. Error mounting: mount exited with exit code 13: The disk contains an unclean file system (0, 0). The file system wasn't safely closed on ...
0
votes
0answers
16 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 ...
0
votes
0answers
29 views

“My Passport” USB Drive corrupted

My Passport drive corrupted. When I type: dmesg | tail I get: [ 667.778316] sd 6:0:0:0: [sdb] CDB: Read(10) 28 00 00 00 00 00 00 00 08 00 [ 667.778321] blk_update_request: I/O error, dev sdb, ...
1
vote
1answer
37 views

Accidentally Wiped Root Partition - System Still Running

Alright, this is one of those times when I am are saying... Breathe deep, don't panic. What happened? As a usual part of leisurely tinkering with my system, I was trying write a 24.5 MB img file to ...
-1
votes
1answer
20 views

Can someone properly explain “/sys”?

A while ago I noticed this directory that I had not ever seen before, /sys. I researched a bit and read that "modern Linux systems" often have this directory, and that it manages devices. I thought ...
0
votes
0answers
38 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 ...
0
votes
0answers
125 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) ...
0
votes
0answers
18 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 ...
0
votes
1answer
79 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 ...
0
votes
0answers
22 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
348 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 ...
9
votes
1answer
583 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 ...
0
votes
1answer
16 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 ...
1
vote
1answer
29 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
18 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
3answers
52 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 ...
2
votes
1answer
24 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 ...
0
votes
1answer
217 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 ...
7
votes
6answers
685 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
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
32 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 ...
0
votes
1answer
53 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 ...
5
votes
1answer
99 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
0answers
16 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
0answers
21 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 ...
0
votes
0answers
30 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 ...
0
votes
0answers
27 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 ...
0
votes
0answers
30 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 ...
3
votes
1answer
805 views

System without /tmp dir?

Running df -h gives: Filesystem Size Used Avail Use% Mounted on udev 1.9G 0 1.9G 0% /dev tmpfs 385M 6.2M 379M 2% /run /dev/sda2 113G 27G 81G 25% / ...
1
vote
3answers
47 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
1answer
20 views

copy files from/to usb drive containg a running live distro

let's suppose I have one (or multiple) live distro within a usb key, When I run this live distro, I want to access to the usb key's file system (e.g. get files and copy to the usb drive or copy ...
0
votes
1answer
31 views

Where is my software installation?

I'm kind of new to Linux. I installed a program (Sublime Text) and now I need to see the folder it is in. I can't find it under usr/bin, so, is there any other place wher I should look? Or ... how can ...
0
votes
1answer
48 views

Samba: check file for completeness

I have a device (with Ubuntu on it) with Samba installed. There is also a cron job that copies files out of the Samba share every 60 seconds. I am now running into a situation where the cron job ...
1
vote
1answer
17 views

while moving to a new server, is it ok to create system accounts?

I should move all the data, installations from server A to server B. Both are Ubuntu 14.04 LTS. There is a much-used instruction set here. One thing I don't understand is You should never ever ...
0
votes
1answer
31 views

How to recover tmp folder and problems with apt lockfile [duplicate]

I accidentally deleted tmp folder. than I was unable to visit browser neither could update/upgrade from terminal. I somehow managed to give 777 permissions to tmp. but When running sudo apt-get ...
1
vote
0answers
55 views

Find a file activity

I need to find what are all files opened yesterday in my system.I didn't installed GNOME activity. Is there any way i can see the activity a file when are all a file opened and how many times ...
0
votes
0answers
13 views

Proper way to install debian packages on filesystem extracted on host machine not directly on development board

I am customizing linux filesystem based on ubuntu, the filesystem is extracted on my development machine in which i can install custom binaries, libraries and scripts which is fairly easy enough. But ...
0
votes
2answers
26 views

Keeping track of filesystem changes

I am looking for a way to find changes made to filesystem on Ubuntu. Like so: make some kind of a snapshot i.e. scan given folder (files, subfolders), save files names and sizes. install whatever, ...
0
votes
0answers
25 views

At the beginning of installation: “Please correct this from partitioning menu”. but I don't have partitioning menu?

I have windows 7 And I downloaded Ubuntu from the official website And I installed via wubi.exe And restart And I get a message something "Root file system not defined. Please correct this from ...