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

Mounting virtual shared folder - mount succeeds, but any access to folders hangs

I have been using the following script to mount virtual box shared drives in my guest Ubuntu (with host Windows) #!/bin/bash # Mounts all known drives shared via virtual box # ...
0
votes
0answers
39 views

Many files in /var/lib/dpkg/info/ corrupted; how to recover

When I run sudo apt-get (anything), I invariably get this error: dpkg: unrecoverable fatal error, aborting: files list file for package 'thunderbird-gnome-support' is missing final newline E: ...
0
votes
1answer
37 views

Find a file in Ubuntu

So My friend wanted to play Grand fantasia with him so I had downloaded it previously on windows, once the windows broke and I went to ubuntu I wanted to try and install it onto ubuntu thinking I ...
0
votes
1answer
86 views

Windows can't view secondary Ubuntu hard drive files

Currently I have two hard drives on my laptop one has Windows 8.1 on it and the second one has Ubuntu 14.04. The problem is when I boot into Ubuntu I can view and modify files on my Windows hard ...
0
votes
1answer
51 views

How come you can put a question mark in file names?

In Windows, you cant put a ? in a file or directory name, because they are reserved characters for PHP GET functions and wildcards. But in Ubuntu, I can. I can name a file "lol?.txt" and access it ...
0
votes
2answers
47 views

name of the file from /proc that is used to pass information from boot-loader to kernel

I am revising for LPI exam ,and i cannot know this information which is : the name of the file resides in /proc that is used to pass information from boot-loader to kernel ?
0
votes
0answers
27 views

How to configure DFS Name Space in Ubuntu

Hi to all my fellow Techies... I want to know whether it is possible to do DFS Namespace in Ubuntu? As with the present system I have a folder shared from my Ubuntu where all my users access them via ...
0
votes
0answers
28 views

Ubuntu is misbehaving severely

Things I open, close randomly (while still running in the background as processes). Apt-get keeps returning directory does not exist and locked directory errors. The OS was unable to find the /tmp ...
0
votes
0answers
25 views

Recover a mbox file from a overwritten btrfs partition

I had 14.04 on a hard drive using btrfs as the file system. One morning, the file system randomly failed and I couldn't boot into it anymore. I loaded up a live CD and extracted all the files I needed ...
1
vote
1answer
67 views

File Permission In www/html Directory For Security

How can I give permission to directories and files in www/html for security. This files have an .js , .php , .sh extensions.They execute in www/html by apache's user(mine is www-data). When I give ...
1
vote
1answer
101 views

How to connect to smb://…?

I would like to connect from Ubuntu 14.04 to a file server (e.g., "smb://files.myuni.ca"). I opened Files and then chose "Connect to Server". A minimalistic menu pops up. If I provide the server ...
0
votes
0answers
15 views

services file in different directories

I'm wondering why the services file is found in different directories throughout the system. Why not just have the file in the $PATH?
0
votes
1answer
87 views

How to remove Read-Only system files(Seems to Virus Problem)?

I have a PenDrive wich are full of virus, these vírus are .js files, using linux, I can open the pendrive and see in which folders they are. But when I try to remove by pressing DELETE button or via ...
0
votes
1answer
16 views

USB key - folder parameters - changing access rights

There is an MS Windows computer in my lab, which is sadly infected by some strange trojans and viruses. One USB key got into trouble while it was plugged on to the computer. Scanning with an antivirus ...
0
votes
1answer
23 views

The “size” field in directory entry meaning for directories?

I'm looking at low-level directory structure of a disk partition, formatted as "vfat" filesystem. The directory entry structure I use is: struct __attribute__ ((packed)) Dentry { char ...
0
votes
0answers
11 views

SFTP Clients add Whitespaces to uploaded directories (12.04)

Ubuntu 12.04 I have several offsite users uploading files via SFTP. They're using Mac clients Transmit and Cyberduck and both programs seem to add whitespaces at the end of the directories they ...
0
votes
1answer
68 views

ERROR : [cat: File does not exist] I can't open hadoop output file in 14.04

I have installed hadoop-1.0.3 in my system(14.04), followed this tutorial. And I successfully run an sample mapreduce program for wordcount as follows, hadoopuser@arul-PC:/usr/local/hadoop$ ...
22
votes
3answers
1k views

Can I modify a bash script (.sh) file while it is running?

Suppose I have a script script.sh, which takes some time to execute. I execute it, ./script.sh. While it is running in a terminal window, I modify the file script.sh. Will this have any effect on the ...
2
votes
1answer
26 views

Different users with different encrypted workplace?

When installing Ubuntu there is an option to encrypt the workplace. Now for one user I would have an encrypted place. That´s fine, but what if I would like to add later a second user. For that user2 I ...
0
votes
0answers
22 views

what is the effect on an MP3 player used for install of Ubuntu?

When an .iso or .img file is copied with dd, what effect does that have on the USB stick? In this case, it's a 2GB mp3 player which, while not expensive to replace, I would like to use again for ...
0
votes
1answer
128 views

Mounting Disk Image in Raw format

While Trying to mount a disk image in Raw(dd) format using the following command mount nps-2010-emails.dd /media/manu/ I get the following error message mount: you must specify the filesystem ...
1
vote
1answer
85 views

“merging” multiple hardrives for Ubuntu 14.04 install

I have 3 hardrives inside my laptop 2 of which currently house other opperating systems but have a empty partitions of 8 and 9 gigabye and the third is just 12 gB (currently not partitioned at all). ...
0
votes
1answer
36 views

Why doesn't 'cp /user/local' work?

I was trying to copy a directory to /user/bin (on Ubuntu 12.04). I tells me that I cannot create directory ``/user/local' No such file or directory`. Where did I make a mistake? sudo cp -r ...
0
votes
0answers
130 views

Lubuntu 14.04 will not boot, saying “general error mounting filesystems”

My Lubuntu 14.04 worked since 14.04 was released, but after I tried to mount a Lubuntu .iso in the computer it began to get strange while booting. First, it went to the Lubuntu logo and said ...
0
votes
0answers
18 views

where are mounted files located after “connecting to server” over ftp

I've seen this asked about windows mounts here and MTP here, but to where should i browse inside terminal if i "Connect to Server..." over FTP? thanks in advance!
0
votes
2answers
24 views

Moving a Subdirectory folder and its file to a new partition

Please take a look into my partition :) I still don't know how to move the folder that mounted on old partition this is the screenshot I've to insert a new HDD to it, so the folder ...
0
votes
0answers
25 views

Recovering encrypfs Encrypted Home from LiveCD [duplicate]

Background: I have this laptop that I installed ubuntu on a while ago, I think it was lucid lynx? I am currently more updated and on 12.04. Anyway at that point I didn't know the first thing about ...
0
votes
1answer
23 views

Virtual filesystem acting as a clone+difference of a master filesystem

At my company about 10 devs share an ubuntu dev server. We have separate code directories, but due to our database size (about 50 GB), it isn't practical to clone the mysql database for each ...
1
vote
2answers
40 views

Does fsck keep existing files?

This is a rather dumb question but my googling didn't give me any direct anwser. So I have a computer which ubuntu (12.04) filesystem has gone corrupted. Now I want to try to repair it with fsck from ...
0
votes
2answers
55 views

Is it safe to alias rm to safe-rm?

We are happy to use safe-rm as a replacement to rm, but is it considered safe to alias it? e.g. alias rm='safe-rm'
0
votes
1answer
45 views

Files being wiped by cloud storage services

When I move and rename files using Ubuntu One or Grive Tools, using an SSD, sometimes clients doesn't catch the change properly and delete or make to reappear missing folders. Why it could be that?
0
votes
1answer
40 views

I executed 'dd' on my /dev/sda and now I get “unknown filesystem” error

Yes, I know this error has been answered and solved many times; but I think I know the reason why this is happening (my bad), I just don't know how to solve it. I was formatting and flashing some USB ...
0
votes
0answers
15 views

Transfering files over from a windows mounted to ubuntu

I've mounted the windows partition via mount. I can access my files and look through them all, but when I try to transfer all the pictures only about 1000 transfer before it starts saying it is a ...
0
votes
1answer
35 views

How to unmount a USB flash drive (that is shared over SAMBA) without having to turn off SAMBA first?

I have a USB drive that is shared over the network via a SAMBA share. This is because the contents are to be managed by a remote user. Now, there is a local user with physical access to the USB ...
0
votes
1answer
58 views

Ubuntu Server does not detect RAID HDD

I have formatted in a low level the hard disks of my computer. When I try to install Ubuntu Server I get this error message: [!!] Partition disks No root file system No root file system is defined. ...
0
votes
1answer
103 views

How to check if my installation of Ubuntu is alright?

I recently changed the size of the partition that contained my Ubuntu installation using Gparted from a live CD. I also moved it from one place to another. It was my first time and I hit the cancel ...
2
votes
1answer
39 views

Can't change the access time of a file

i cant change the access time of any file i create. i tried the touch -a, touch -ad, touch -t commands, but the access time in the stat utility stays the same. Can you please help me to modify the ...
3
votes
2answers
229 views

Is there any way, to make Ubuntu resistant to corruption of data?

I was using Ubuntu 14.04 when due to power interruption, my computer was shut down. On reboot, it was corrupted and I lost all my data.I want to reinstall Ubuntu again, is there any way,other than ...
0
votes
0answers
47 views

How to install all Gparted file systems?

When I open my Gparted and go to View -> File system support, I get this: How to remove all crosses and get all check marks instead, or in other words, how to install all missing file system ...
1
vote
0answers
52 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 ...
0
votes
0answers
34 views

Install on a large btrfs partition with two sub volumes

I have a computer with a large btrfs partition containing two sub volumes / and /home. They are both compressed. There's also a separate swap partition. the /home partition has data on it and I hoping ...
17
votes
2answers
1k views

How to find the creation time of a file?

I need to find the creation time of a file, when I read some article about this issue, all mentioned that there is no solution like Site1, Site2. When I tried stat command it state Birth: - So how ...
0
votes
1answer
39 views

Can I install ubuntu 12.04 lts using ubuntu 14.04 lts trail version?

So my ubuntu 12.04 files are corrupted so i got ubuntu 14.04 on a flash drive and I am currently booting using the drive. So I was wondering is there and way by which I can reinstall ubuntu 12.04 lts ...
3
votes
1answer
115 views

How to edit a protected file if I have no direct access to the filesystem?

I changed the brightness of my machine by editing the /etc/rc.local file and adding this line echo 10 > /sys/class/backlight/nv_backlight/brightness before exit 0. After reboot I can see that it ...
1
vote
1answer
54 views

Hardlink count inconsistent with matching files

On searching for files that have hardlinks on my Portable HDD using the following command: $ find . ! -type d -links +1 -ls | sort -n I get an output of the following form (there are hundreds of ...
2
votes
1answer
57 views

Why does it take a long time to open certain small text files in Vim?

Why does it take a long time to open certain config files accessible only to superuser in Vim? For example: $ sudo vim /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla It takes ...
0
votes
2answers
130 views

Can I Recover Firefox and Tor Bookmarks?

I will be going back to Windows, because after months of dealing with Linux, I realized it's not for me. In short, right now Linux won't present the login screen. There are things I want to save ...
-1
votes
1answer
65 views

Accidentally deleted etc/fstab [duplicate]

etc/fstab accidentally edited or deleted, I don't know. Please someone help me to solve this. I am new to Ubuntu. General error mounting filesystem. A maintenance shell will now be started. CONTROL-D ...
0
votes
2answers
75 views

What type of partition table and file system is required to make a live usb?

I see a bunch of stuff on using usb-creator to make a live usb for ubuntu which is great. What I don't see is what type of partition table and file system is required on the USB itself. Does it ...
0
votes
2answers
106 views

How can I create a bootable USB from an ISO image?

I'm trying to make a bootable USB drive from an ISO file. I have been trying with WinUSB. In the WinUSB graphical interface my USB drive is not showing up, even though it auto mounts. So I'm trying to ...