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

learn more… | top users | synonyms

9
votes
1answer
5k views

How to mount a remote (over SSH) directory to be available like a local directory (incl. in shell, not just in Gnome)? [duplicate]

I've got my files (mostly text/code, nothing of heavy like videos etc.) in a directory on a remote server which I can only access by means of SSH. Can I mount it on my laptop to use it seamlessly from ...
9
votes
1answer
445 views

use of * in file searching

while reading about linux file searching I got the following... To search for files using the * wildcard, replace the unknown string with *, e.g. if you remember only that the extension was .out, ...
9
votes
1answer
4k views

How do I use gnome trash for files in different partition?

I have my files in a separate partition that is not mounted to /home, but only linked to it. How do I manage to be able to use the gnome trash in those files? For example: partion 2: mounted on /...
9
votes
4answers
2k views

NTFS -> EXT4 migration, where did 120 GB go?

wim@wim-ubuntu:~/Desktop$ mount | grep media /dev/sdc1 on /media/data type ext4 (rw,nosuid,nodev,uhelper=udisks) /dev/sdb1 on /media/wd type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,...
9
votes
3answers
3k views

How to associate file extension (not file type) for a particular application?

I use taskcoach to create a list of my tasks. The data I entered was saved, say, in tasks.tsk on my Desktop. Internally, this is an XML file of specific structure. Now whenever I open it, it opens ...
9
votes
4answers
12k views

Delete empty “lost+found” folder automatically if it's empty

Every certain amount of time, Ubuntu checks my filesystems and it creates several empty "lost+found" folders. Can I disable this feature? Is there any way that Ubuntu deletes automatically these ...
9
votes
5answers
6k views

Mounting NTFS as read-only

My PC have 3 NTFS partitions (main and backups) plus Ubuntu on dual boot. I want to keep NTFS partitions available, but mounted as read-only by default, so that other users (and accidentally even me) ...
9
votes
3answers
742 views

Organizing software - where in the filesystem?

I guess it's also a matter of personal taste, but since I'm starting with a fresh 10.10 install I thought maybe this time I'll keep my system more organized. What is/are the conventional place(s) to ...
9
votes
1answer
379 views

Where are decrypted files stored during runtime?

I wonder where does Ubuntu/eCryptfs store decrypted files from encrypted $HOME directory during runtime. Does it decrypt files just-in-time and store them only in RAM? What about large files (e.g. ...
9
votes
1answer
2k views

How can I become the owner of a file that origins from another pc / user?

I have a file from another pc with ubuntu, the owner of the file is my user account from this pc. How do I change the owner to my useraccount on another pc so that I can use it? When i try to change ...
9
votes
4answers
1k views

Why does the mount point keeps changing, and how can I prevent it?

When I plug in an external USB drive, it automatically mounts and it's accesible in /media/disk/ However after a while, this is how my /media directory looks like: cesar@minas-tirith:~$ ls /media/ ...
9
votes
1answer
8k views

Does Ubuntu plan to move to btrfs as default filesystem?

Btrfs seems to have a set of useful features such us snapshots and is default in Opensuse and Suse.Fedora plans to move to it. Does Ubuntu plan to move to it? If not, why ?
9
votes
1answer
9k views

Ubuntu goes into read-only mode randomly

For the last few days, my Ubuntu 12.10 has been going to read-only mode randomly, making me unable to save any edited files, and forcing me to restart my computer, which is a pain because this is the ...
9
votes
3answers
270 views

Delete directory indirectly inside of itself

I have a directory inside itself. How do I delete it. ~/.local/share/Trash/files$ ls devices/ reg-dummy ~/.local/share/Trash/files$ ls devices/reg-dummy/ subsystem ~/.local/share/Trash/files$ ls ...
9
votes
3answers
938 views

What is the gbas.so file on my home directory?

I delete the gbas.so file from my home directory but it keeps coming back. Where does it come from?
9
votes
3answers
2k views

Has anyone managed to configure Nautilus to show EXIF data?

I followed instructions on the Ubuntu Forums to configure Nautilus to display additional information about image files - specifically, the EXIF data: [SOLVED] Adding mp3 info columns (e.g. bitrate, ...
9
votes
0answers
1k views

How do I disable the Home encryption offered during install? [duplicate]

Possible Duplicate: How to stop using built-in home directory encryption? During install I ticked the box to enable encryption for my Home directory. I'm concerned that it is effecting ...
8
votes
7answers
1k views

Difference between / and /root in Ubuntu? [duplicate]

I have created 100 GB for /. When I opened Nautilus I have found the root folder. So what is difference between / and /root? My username is enigma, and I have a folder named enigma in the /home ...
8
votes
2answers
2k views

I have a file named “-t”. How to remove it? [duplicate]

Output of "ls -l": -rw-r--r-- 1 root root 0 Mar 4 08:22 -t When i try to do "rm '-t'": rm: invalid option -- 't' Try 'rm ./-t' to remove the file '-t'. Try 'rm --help' for more information.
8
votes
2answers
26k views

I cannot save php.ini in ubuntu 12.04

I want to change the upload_max_filesize = 2M to 50M, then I started edit on php.ini, but when try to save it, it displays error message below Could not create a backup file while saving /etc/php5/...
8
votes
6answers
4k views

Filesystem filling up due to large uvcydnctrl-udev.log file

Now my installation of Ubuntu costs me more than 100 GB of the hard drive space. And whenever I try fslint and fdupes, they say Permission denied to delete the duplicates. Please help me guys. ...
8
votes
1answer
352 views

Where do deleted files go in Ubuntu?

I have a very simple question. Where do files go when you delete them? I know when I send files to "Trash", they go to "trash", but when I delete them, I do not know where they go.
8
votes
1answer
2k views

What file size units do applications on Ubuntu use?

I have noticed that different applications use different units, or mean different things by them. For example, I have come across kB, KB, KiB, Kb and K. How many bytes do each of these units ...
8
votes
4answers
51k views

How to delete/edit files from readonly filesystem

I am having problem with my memory device (actually a memory card that act external memory device like pendrive). experimentx@workmateX:/var/www/zendtest$ sudo rm /media/A88F-8788/python-2.7.1-...
8
votes
4answers
8k views

How does ecryptfs impact harddisk performance?

I have my home directy encrypted with ecryptfs. Does ecryptfs lead to fragmentation? I have the feeling that reading files, displaying folders and login became continuously slower and slower (...
8
votes
3answers
8k views

Find a file with exact name without using wildcard

I have been using Ubuntu for abuot 2 weeks and and still frustrated with simple file operations. I want to find a file called 9.jpg. Every internal command and 3rd party program I have tried, gives ...
8
votes
4answers
45k 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 ...
8
votes
2answers
889 views

Can't get rid of fake floppy drive

In my system it says I have "floppy0" mounted and I can't get rid of it. It isn't a real drive of any sort, since my computer doesn't even have a disk drive, when I click on it it says "unable to ...
8
votes
2answers
40k views

Why can't i paste anything under the /usr/ folder?

I just wanted to install a theme for the start up screen and I have to copy some files over here to /usr/share/kde4/apps/ksplash/Themes/. But the answer i get is: Access denied. Could not write to /...
8
votes
3answers
26k views

Read-only SD cards

I've got an IcyBox USB hub/card reader combo in my computer, running Ubuntu 12.10. It's got an issue with SD cards. It always mounts them read-only, regardless of the write-lock switch. This is ...
8
votes
3answers
15k views

How can I convert my root partition from BTRFS to EXT4?

Is it possible to convert btrfs to ext4 without losing data? I'm experiencing a very low speed on read/write operations on btrfs.
8
votes
2answers
5k views

Find out what filesystem a file or directory is part of

I have a lot of filesystems: / on a PCI-E SSD swap on a SATA SSD /media/ned is a RAID5 array /tmp lives on RAM Parts of /home/oli are symlinked and bind-mounted in from ned I also have /media/jeff/ ...
8
votes
3answers
4k views

What can I move to RAM drive to have the system working faster?

Which files/directories can I move to RAM drive to have the system working faster? I'm planning to upgrade my laptop's memory to 8GB soon, so I'll have some fast memory to use. How to configure the ...
8
votes
2answers
1k views

Are “file Notes” exclusive to Nautilus; is there a Terminal CLI?

Until today, I've avoided using the file Notes feature in Nautilus (Properties), because of portability problems. ...but they are just so tantalizingly handy! ...Adding notes to a like-named text file ...
8
votes
1answer
400 views

How does ctime change?

I'm trying to precisely understand when the ctime timestamp of a file is changed. In many places (e.g., in the accepted answer here) it is suggested that any change in the file attributes will also ...
8
votes
1answer
6k views

What's the difference of partition type and filesystem type?

I'm formatting my Seagate Freeagent external HDD in Linux to FAT filesystem, because it can't be done in Windows, but I'm wondering, what's the difference betweeen partition type and filesystem type? ...
8
votes
3answers
11k views

How to convert ext2 to ext4?

I installed Ubuntu 12.10, and I don't know why, I have an ext2 partition. How can I convert this ext2 file system to an ext4? Will I lose all my data?
8
votes
4answers
1k views

How can I share files over a Windows network?

I have a media computer which I recently reformatted to Ubuntu 10.04. I am probably just missing something obvious but I can't figure out how to share folders and files, so that I can browse to them ...
8
votes
2answers
1k views

How can I find out which user deleted a directory?

My Ubuntu server has about roughly 30 active users on it. I personally know everyone using the server. Recently, a few friends and I were working on project. We made a new directory for the project ...
8
votes
2answers
2k views

How to monitor what files are opened

Is there a tool to monitor what processes open what files on the system so you can track down which process keeps touching a specific file? Lsof can find out if you run it while the process has the ...
8
votes
3answers
1k views

Files button on the side opens a new window instead of minimized window? [closed]

If I open my hard drive from the hard drive icon (I have 2 hard drives) and then I minimize it, it minimizes to the files and when I try to restore it it opens a new file manager (this happens weather ...
8
votes
2answers
7k views

Wammu - USB Device Name?

I'm trying to get to my phone's filesystem through USB in Wammu, but I'm stuck in the configuration wizard when it asks for a USB device name. After about an hour of Internet searching, here are the ...
8
votes
4answers
16k views

Very slow boot due to mounting filesytem

I just installed Ubuntu 11.04 over an older version of Ubuntu, and am dual-booting with Windows 7. Most things seem to be working well (i.e. wifi, sound, etc.) but boot time is problematically long. ...
8
votes
3answers
743 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, ...
7
votes
6answers
865 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 ...
7
votes
4answers
23k views

Very large log files, what should I do?

(This question deals with a similar issue, but it talks about a rotated log file.) Today I got a system message regarding very low /var space. As usual I executed the commands in the line of sudo ...
7
votes
3answers
402 views

How do I batch rename files?

I have a few hundred files named hortstu01-01-14 then hortstu01-02-14... Do you get the idea? Well half of the files are named hortstu_01-03-14 then hortstu_01-04-14. This messes up sorting the ...
7
votes
2answers
11k views

Can I change personal folder locations?

I did this in Windows 7. My Documents, Videos, Music and other personal folders are in D:\ because it is my media disk. In case of a system failure, I will always have access to these files when I ...
7
votes
2answers
23k views

Which is better for a home media server: zfs or btrfs or LVM/md? [closed]

I'm looking at building a new home server and would like a flexible filesystem. Both btrfs and zfs are interesting. I want to be able to do soft raid and have flexible solution allowing me to expand ...
7
votes
7answers
6k views

Which Large File System Format to use for USB Flash drive compatible with Ubuntu/Mac/Windows?

I've had this problem for a long time and can't find a solution. I switch between the 3 OSes all the time and use a 1TB USB Drive to do so. I can't seem to find a format that is compatible across ...