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
1answer
64 views

unable to format usb drive, it showing read-only message

Opened disk Read-Only - You have no permission to write sudo fdisk -b 4096 /dev/sdc1 Note: sector size is 4096 (not 512) Command (m for help): p Disk /dev/sdc1: 16.0 GB, 16008577024 bytes 64 heads, ...
1
vote
1answer
60 views

How do I create a device like /dev/zero, /dev/random to echo a specific value in demand?

I wish to have a customized device to echo a specific value like /dev/zero or /dev/random. But /dev/zero always outputs 0, /dev/random outputs a random number. The specific value may be configured, ...
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 ...
15
votes
2answers
1k views

Disk slowly filling up but no visible file size changes

df Filesystem 1K-blocks Used Available Use% Mounted on /dev/vda1 30830588 22454332 6787120 77% / none 4 0 4 0% /sys/fs/cgroup udev ...
0
votes
0answers
181 views

How to troubleshoot cause of read-only file system errors

I'm running Xubuntu off of a fairly new Samsung EVO 250GB SSD. Recently my root file system has been going into read-only mode and I need help troubleshooting it. These are all the errors (and many ...
0
votes
1answer
57 views

Cannot mount /dev/dm-2 . And filesystem for dm-2 shows empty

My server has /dev/dm-0 , /dev/dm-1, /dev/dm-2 . The first two could be mounted successfully while the third one fails with the message mount: you must specify the filesystem type . dm-2 was ...
0
votes
0answers
31 views

Make mounted media use the “noatime” property

How can I configure Ubuntu (15.04) to use the "noatime" property with any media that I mount (whether it be flash-drives, SD-cards, etc.)? I understand that partitions that are mounted on start-up can ...
0
votes
2answers
197 views

Does rsync verify file copies on local drives?

I use rsync to do incremental backup of the local ext3 HD in my laptop onto an ext4 HD connected through USB to the laptop. I assume that rsync treats both these HDs as local, so I'm wondering if ...
1
vote
1answer
282 views

How to recover deleted files in ubuntu using live usb? [based on filetype]

I had accidentally deleted a few files from an Ubuntu Desktop. Now I need to recover only the perl files which had been sitting in /home/user directory. How can this be done? I am able to boot using ...
0
votes
1answer
61 views

Have I compromised my security because of unpacking an installation archive?

I'm NOT a technical person. I use only Ubuntu 14.04 lts on my computer, no other OS. Today I downloaded a package called 'Tor browser bundle' (tor-browser-linux64-5.0.2_en-US.tar.xz) from Tor-website ...
2
votes
2answers
223 views

How to rename file names to avoid conflict in Windows or Mac?

How can I batch rename file names so that they do not include characters that clash with other file systems as for instance, Screenshot 2015-09-07-25:10:10 Note that the colons are the issue in ...
0
votes
1answer
22 views

If my /proc/filesystems doesn't contain fat32 it doesn't support it?

nodev sysfs nodev rootfs nodev ramfs nodev bdev nodev proc nodev cgroup nodev cpuset nodev tmpfs nodev devtmpfs nodev debugfs nodev securityfs nodev sockfs nodev pipefs nodev ...
0
votes
0answers
40 views

Why does this folder keep reappearing after I rm -rf?

I'm running Docker on Ubuntu 15.04 and I'm inside a 14.04 container. I have a database called magento. There's no volumes mounted. It has a folder under /var/lib/mysql/magento. I want to rm -rf that ...
0
votes
1answer
35 views

Removing duplicate volume group with missing physical volumes

I was working with some maintenance folks to try and replace a dead hard drive on a station running RHEL5 (old, I know...). Instead of getting some brand new drives, they used some drives from an old ...
0
votes
2answers
42 views

list files or dirs starting with 'jre'

I need to list files and dirs with names starting with jre (small and capital letters are allowed). When I execute: ls | grep jre ...it greps just low capital letters and gives output with jre not ...
3
votes
3answers
156 views

How to sync two folders on my machine, in one directional syncing?

I have a set-up in which I create a certain file, and subsequently move it into a storage area for that type of file (folder A). There is another folder on my machine where I must also copy the file ...
0
votes
0answers
54 views

Install LAMPP / XAMPP not as root

I've installed LAMPP and that worked fine. It was installed in /opt/lampp/. But now I need to install it again (I uninstalled it) NOT as root, in which case I don't have to sudo everything. ...
0
votes
1answer
13 views

Where is the changelog downloaded to?

After running (where <package> is replaced with the name of the package whose changelog you want): apt-get changelog <package> Where is the changelog downloaded to? And what happens ...
3
votes
2answers
142 views

Where are file properties stored on the actual file system?

I am creating a program that takes a hexdump of a file, so that I can then transmit that somewhere, and have the file reconstructed, however the hexdump is only of the file contents, I also need to ...
0
votes
0answers
42 views

How do I get Ubuntu to respect no read, write, or execute permissions for others set by chmod and Nautilus

I do not want to give 'others' read, write, or execute permissions in certain directories or folders. i.e. /home/me/test I am running 14.04.3 desktop. I have navigated to the folder, selected the ...
1
vote
0answers
27 views

Move files preserving symbolic links

I have some files on an external hard drive, to which I keep soft symlinks in my home folder (many links, not just one). I need to move some of the original files to another hard drive, and I want to ...
2
votes
1answer
105 views

16 TB what filesystem I should use

I need a 16 TB volume by 6 drives x 4TB. I use the last version of ubuntu. I need the filsytem very stable. How I can created this volume. I should use ext4, xfs, zfs, btrfs, with mdadm ? Thanks a ...
2
votes
0answers
31 views

Gedit not preserving extended attributes on file edit

I'm working on a project where i rely mostly on the file's extended attribute that i set when i create the file. But i'm facing problem while modifying the file. Example: When i edit a text file in ...
1
vote
0answers
15 views

How does an encrypted file system stay reasonably fast?

I want to encrypt my file system and wondered can my file system stay as fast as it would be without any encryption? If so why, if not how does this affect the read/write operations?
0
votes
1answer
127 views

Where are the files of my /home directory?

I have reinstalled my system after facing some crashing issues with my software. I have a separate / and /home When I am running df -h I obtain: root@sougata-SATELLITE-L750:/home# df -h Filesystem ...
0
votes
0answers
71 views

Low Disk Space on “Filesystem root”

I am using Ubuntu 14.04 with GNOME, and every time I restart the computer it tells me the volume "Filesystem root" has only x MB disk space remaining. I checked with sudo df -h and sudo find / -size ...
0
votes
1answer
49 views

Split a file in two different parts but use it under one path

I would like to split a large file (300GB), which is in my home directory under the dev/sdb1 into two (or more) different parts and move them into two different disk drives. However, I would like my ...
7
votes
1answer
965 views

Why do I need the x permission to cd into a directory? [duplicate]

ls -la prints the following: drwxrwxrw- 2 www-data www-data 4096 Aug 12 11:04 files My username does not belong to www-data. When trying to cd into files I get a "permission denied" though the ...
0
votes
1answer
21 views

Drive not showing up

Every time I start my ubuntu and do a "ls" in "/media/my_username" directory my drive D: is not showing up,but after when I enter the D: using GUI and doing a ls it shows up,can any one help!
2
votes
3answers
120 views

How to prevent Ubuntu from mounting a partition it founds?

Adding a static fstab record for a particular partition effectively prevents automatic mounting logic to work with and it works great when I want the partition to actually be mounted (in a place I ...
0
votes
1answer
49 views

usb read-only in gui, but works fine from terminal (12.04)

From all that I've read on-line, it appears I have a new twist on the usb-read-only problem. When I first tried a new usb drive, whenever I tried to drag-drop a file into it, I got the error message ...
0
votes
1answer
43 views

File disappeared after cutting name when renaming

I use Ububtu 15.04 with Unity interface. While I was editing a file's name, I accidentally selected the entire name (without the extension) and pressed ctrl+x and Enter. The file disappeared. Where ...
1
vote
0answers
25 views

fast/easy file system snapshot

I am working in a lot of team projects and usually team members come to my computer in an attempt to help and they ruin my workspace. My workspace for a project spans folders in different locations. ...
1
vote
0answers
42 views

Is there any Way to Hide/Unhide a file except using . in Ubuntu 14.04? [duplicate]

Wanna Hide/Unhide an Item/File/Folder but not Using Period (.) In Cmd (Windows) attrib command is available to do so.Hence any command like that in Terminal. Any Keyboard Shortcut for that?
1
vote
4answers
108 views

Understanding linux file system modes

I've read through over 10 articles, and am trying to wrap my head around the linux file system. There is one point I am trying to get that I can't figure out. Forgive me for sounding very dumb: When ...
0
votes
0answers
161 views

error:unknown filesystem. Entering rescue mode… grub rescue

I did my best to look at all the other "duplicate" questions out there but nothing has helped. Here's what's happening: I think my laptop ran out of power and shut itself off (while the lid was ...
0
votes
1answer
29 views

How to move /media to another disk device?

I am currently running Ubuntu 14.04 on a PC with one registered (admin) user called "john". When I run df, the results are: Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 ...
2
votes
0answers
196 views

Ubuntu 15.04 checking an ext4 partition on every boot

I have gone through other posts similar to my question, but i tried all solutions/ or their methods dont apply to my case. there is no /forcefsck file on my system. fstab contents: ...
1
vote
0answers
21 views

VirtualMode to remove MSDOS filesystem files in Ubuntu?

I have a MSDOS memory card where I would like delete files by my Ubuntu installation. I run on those files sudo rm /media/masi/g0399/DCIM/video.mp4 but I get a filesystem error that the filesystem is ...
0
votes
1answer
123 views

How to create a snapshot of an encrypted btrfs @home subvolume?

We are using btrfs for its snapshot capabilities so we can backup user home directories. The user home directories are encrypted with encryptfs. We run sudo btrfs subvolume snapshot /home ...
0
votes
1answer
209 views

fsck wont fix efs partitions

I have some efs drives that I am attempting to repair the file-systems of. when I run fsck, it returns with an error essentially saying the device isn’t e2fsck. I looked in synaptic for efs support, ...
0
votes
0answers
21 views

12.04LTS -> 14.04LTS “lost” all my files

I recently got into a problem with a package saying another copy was running even on a fresh boot (in 12.04). I recklessly decided to accept the update manager's recommendation to move to 14.04LTS. ...
0
votes
2answers
133 views

Where to put downloaded files on filesystem (14.04)

I'm new to running ubuntu as a desktop. I've managed a linux (non ubuntu) server for quite a while now. But, I've just been barely getting by. I am scared I'll mess something up and cpanel/whm is ...
0
votes
0answers
61 views

Messed up sharing files between Linux 14.04 and Windows7 (dual boot) - Error 0x80070570

I'm new to Linux. Recently, I started dual-booting Windows 7 and Ubuntu 14.04. They are both installed on separate disk partitions and there's an NTFS disk partition (700GB), where I store my files in ...
0
votes
2answers
1k views

Mounting encrypted LUKS partition from Live CD

Error to begin with, can't boot I had to do a hard reboot of my computer, and when booting up it (initramfs I think) gave an error: mount: mounting /dev/mapper/ubuntu--vg-root on /root failed: ...
2
votes
0answers
55 views

Why the tar file is so big? [closed]

I created a tar file of a directory. The directory is a few MBs big. The tar file has a size of more than 150 MBs!!! I created the tar file with the command: tar -cf <tar filename> ...
-1
votes
3answers
108 views

Ubuntu 12.04 Root Filesystem Full

My root filesystem seems to be full even though my /home directory still has a lot of space. Output from df -h: Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg0-root 19G ...
1
vote
2answers
619 views

How to format USB stick for car audio system?

UPDATE: The pendrive was for my parents. When I got a chance, I got it formatted from a Windows machine at my friend's house. I can't try any suggessions in the comments or answers, because I have ...
0
votes
1answer
116 views

Alternative to Thunar that can access Android fs (Samsung Galaxy Tab S SM-T700) via USB

I've spent one frustrating hour trying in vain to get Thunar to access the files ystem of a Samsung Galaxy Tab S SM-T700 via USB. I'm now fed up with Thunar1, and I'm ready to give it the ol' ...
2
votes
1answer
70 views

Why is g++ installed at usr/bin and not in usr/local/bin

I'm trying to understand the file structure of Linux systems.(At least basic parts). Now, according to this answer, /usr/local - directory is for read-only files installed by the local administrator ...