New answers tagged

5

set the group for directory /data/sales to group purchasing. set all files in /data/sales/ to the group purchasing set the permissions for the directory and the files to "read". The means they can not remove a file and can not change a file. If I understood it correctly I would say ... chgrp -R purchasing /data/sales chmod 2750 /data/sales chmod -R 0740 /...


3

Three Major Questions I broke your question into the three areas you were concerned about. While I can't help you write a FUSE file system, I can answer those 3 questions: Quoting Wikipedia:In computer programming, unit testing is a software testing method by which individual units of source code, sets of one or more computer program modules together ...


0

You can install from source and tell the system to compile the software with a specific path. Biggest issue: dependencies ... you need to sort those out yourself. And install them from source too. I would advice to use a source-based distribution rather than Ubuntu if you want to go that path. Like Gentoo, LFS, Crux.


5

Well as I guessed you formatted the Hard drive as FAT, which in fact does not allow you file sizes above 4 GB, so either you chop up the data you want to archive, or format it to something more suitable. If you not need to access this HDD on a Windows machine you could simply go for formatting the drive as ext4 (Linux format). Gparted allows you to do this ...


0

I solved this as follows: delete the offending file (in the OP case /var/lib/dpkg/info/thunderbird-gnome-support.list reinstall the offending package using apt-get install --reinstall thunderbird-gnome-support This recreated the deleted file list for me as well. Of course, this can be cumbersome if a lot of files are corrupt, but in my case it was only ...


0

Just encountered this on a colleague's Ubuntu 14.04 LTS box. Prompted by @Byte Commander (thanks!) I checked the mounts and saw there was some eCryptfs stuff on his home dir, which it seems is an option during the Ubuntu install wizard. Dodgy handling of sparse files appears to be a deficiency of eCryptfs. Creating sparse files outside the home directory, ...


0

You have different disk sizes. The difference is 1 GB. That is why there is 1GB "single" entry. The effect of this IMO will be that when the RAID is full, some data may be stored as "single". If you want to avoid this you can create a partition table on /dev/sdb and create there a partition exactly same size as /dev/sda3.


0

I know about this problem on my Kubuntu 16.04, and user63070 shows the best answer. Change the size at /etc/fstab like this: tmpfs /tmp tmpfs defaults,size=10G,mode=1777 0 0 Reboot, and you got 10GB for your /tmp folder.


0

You can't add a device to a subvolume. You can add a device only to a filesystem. But this command will work with any path to an object located on a btrfs filesystem. And it looks like you do not quite understand what subvolume is. Adding a device to a subvolume makes no sense for me at all.


1

I would not recommend ext3. It has framentation issues. Given HDFS normally operates with huge files on top of an OS filesystem, ext4 will be a much better option. ext4 organizes space into contiguous extents (chunks of adjacent blocks). So there is much less overhead of mapping tiny blocks into huge blocks. ext4 is also less suspecious for fragmentation. ...


0

Easiest way to do that is use : sudo shred -fv /dev/xxx where xxx is device, to ensure what device you have, type : sudo fdisk -l The device are indicated after disk word and to the colon char :, like this : Disk /dev/sde: 500.1 GB etc... Don't mount file systems of your disk you want wipe etc. Shred will do what you want in part of time. -z option ...


1

The answer to your question is in the file permissions: try: $ ls -l /sys/kernel/debug/tracing ls: cannot access '/sys/kernel/debug/tracing': Permission denied $ ls -l /sys/kernel total 0 ... drwx------ 31 root root 0 2016-06-15 11:06:47 debug ... So, normal users are not allowed to access /sys/kernel/debug/tracing and there seems to be no way to ask ...


0

I know this question is old - but as of today the balance command solves this stuff: During conversion a lot of space will be allcoated to move stuff to it. Once it is allocated, it will not show up as "free" or "unallocated" anymore. To fix this simply start a balance btrfs balance start "path" you can also tell the balance command, to only balance ...


1

Unless overridden by mount options GID= or UID= the owner and permissions of the mount point upon mounting become those of the filesystem tree being mounted. So if /dev/sdb1 contains an ext4 filesystem (say a backup) owned by user then user will become the owner of the mount point upon successful mount. Starting off we have an empty folder 'backup' to ...


0

After some more play here is what you need to know and do. Ubuntu touch is booting from an android device so the partions have to be apropiate. The android system is identifying the partitions by the partition label. You have for meizu pro 5 this partitions: system (the root partition), cache (used for upgrates by Ubuntu, you should have about 1G on it), ...


0

I assume that you're getting a message on the screen asking you to format the drive when you go into Windows. That's normally the case when windows sees a unrecognised partition. I think the best option would be to boot into a Ubuntu Live CD on a working computer, choose the option "try Ubuntu" and see if you can view your files. If you can see your files,...


1

There are many websites that provide information on this, here's two that I initially found: http://linuxsurvival.com/ http://psychocats.net/ubuntu/ If there is something specific you want to learn, just look it up. IE, want to know how to setup ssh on your system? Look up (Google) "How to setup SSH on Ubuntu". The first result is a really good resource: ...


5

Is it possible under brownout situation can we reset the processor(running Linux (Ubuntu/Fedora Os)) which is called as BOR(brown out reset) ?? No, this is not possible, and modern x86 (Intel or AMD) processors have no such feature. (Even if they had - the hard drive and all the other parts would also need to be powered so that they can finish what they ...


1

All of the solutions suggested here are valid, but don't allow to see if for instance a partition is FAT16 or FAT32. For this level of detail, the best command is sudo file -s /dev/sda1 Example, on a USB key: /dev/sdc: DOS/MBR boot sector, code offset 0x58+2, OEM-ID "MSWIN4.1", sectors/cluster 32, Media descriptor 0xf8, sectors/track 63, heads 255, ...


6

It is found that the problem is due to a bug in usb-creator-gtk. It is setting improper block-size during the creation of bootable media. If this bug affects you, you can mark it here : https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1589028


0

Ok, here is the way that I did it on my meizu pro5. Your mileage may varry. O and you may brick your phone. Take this guide as a hint for your path to follow. Don't come back crying. Have a fresh phone made by ubuntu-device-flash. In the phone you should have an SD card big enough to hold the fs from the userdata partition plus 512M plus 700M for the ...


17

A command-line method to make a live USB for UEFI systems Please note: this deletes all data on the target device. Install prerequisite: sudo apt-get install p7zip-full Assuming the target USB is at /dev/sdb (please check first with gnome-disks or sudo fdisk -l and be sure you know what you are formatting) Destroy existing partition table: sudo ...


3

Try dd if=/path/to/my/ubuntuiso/ubuntu.iso of=/dev/sdb this way never failed me. (Note b not b1 at the end - will destroy other partitions if present) Did you check if the ISO is corrupted? Also doing this from TTY while not logged in the graphical environment could help in tracking down the problem. Edit: instead of using the ISO you could use /dev/null ...


3

I use UNetbootin on Ubuntu (both older version and 16.04) and it works fine on my PC. Here's the link for more info. sudo apt-get install unetbootin


0

You have downward compatibility (based on your familiar and confidence) of many linux components. Unless you have a specific reason not to, you might consider using the latest supported. I wouldn't consider ext2 when I can have the features available in the latest tested and distributed ext4. As you can see ext5 isn't released yet. When it's released, I ...


2

When you move files to trash with Nautilus or gvfs-trash they are never moved to a different volume. They are “renamed” to a different directory entry (inside the trash directory) on the same volume. Note that the documentation of that function explains that files cannot be “renamed” onto different volumes or mount points. This means that moving a file to ...


1

rm without the -r, disabling recursive directory removal flag and shell globbing: rm /path/to/dir/* Add the -f if you don't want to be prompted. You can also use find: find /path/to/dir -maxdepth 1 -type f -exec rm -rf '{}' \; which works because of a maxdepth of 1, thus selecting only top-level files.


2

Just run: rm * It's that simple. It won't touch the directories unless you add the -R or -r flag: rm -r * If you also want to delete empty directories, add the --dir flag: rm --dir *



Top 50 recent answers are included