Logical entities that contain data in a filesystem. Use this tag if your question: is about programs that create files (e.g. gzip, tar, zip); deals with characteristics of files (permissions, size, path/location); or is about management of files (renaming, listing, moving, removing). For operating ...

learn more… | top users | synonyms (1)

5
votes
0answers
55 views

group member unable to write to a group-writable file with reiserfs and extended ACLs

Users vi and rust share group rust and want to use some file in shared manner. rust$ ls -l myfile -rw-rw-r-- 1 vi rust 0 May 30 03:48 myfile rust$ stat myfile | grep Gid Access: (0664/-rw-rw-r--) ...
5
votes
0answers
113 views

Is it possible to make ls ignore Windows hidden files?

I'm using the GnuWin32 libraries on a Windows 7 machine. I do not like that the ls command shows NTFS hidden files. I've found two methods to hide these files. One solution is to mount the partition ...
4
votes
0answers
165 views

How does fsnotify setting affect system performance?

Occasionally a software package I install complains that the default fsnotify setting is far too low for decent performance. Intellij IDEA or crashplan are two examples. They suggest using fsnotify ...
3
votes
0answers
51 views

Reason for security software to not scan directories with more than 10,000 resources in them?

We have a security software on Linux which scans for exploits in files that exist in directories on the server (such as if websites had hack scripts uploaded to them). It defaults to a limit of 10,...
3
votes
0answers
712 views

What exactly files whose names' prefix is “AT.postflight.” are needed for?

I am not sure if this question should be asked here, since I am on an OS X, but since I am using bash, and I am asking about the meaning and the purposes of some files. I am trying to understand why ...
3
votes
0answers
45 views

Can I make cross-computer sharing compatible with tinfoil-hat security (password managers, email, etc.)

Preface: I realize the following is asking for tinfoil-hat type security, but I'm really curious for answers to my questions -- not suggestions to enable two-factor logons on gmail, etc. and call it a ...
3
votes
0answers
117 views

Get consistent encoding for all files in directory

I have a directory containing lots of csv files from various vendors with two different encodings: ASCII Text / UTF-8 UCS2 / UTF-16 little endian I'd like to use grep, awk, sed and other utilities ...
3
votes
0answers
26 views

Specify the format of application temp/backup files in kde

Many text editors will create temporary or backup files with the format <filename>~. Because of this, folders appear very cluttered with tons of files duplicated in this way ( <original> &...
3
votes
0answers
120 views

How do I recursively set the date created attribute to the date modified attribute on NTFS-3G?

In my first question, I asked how to get the "Date created" field in NTFS-3G. Now, that I know I can get the "Date created", I have started adding files onto my NTFS-3G partition and would like to set ...
2
votes
0answers
29 views

Set default program for one specific file in Nemo

There's a lot of questions on how to change the default program for a specific file extension, but I want to know if I can change the default program for a specific file. Reason: Some PDFs don't ...
2
votes
0answers
47 views

Unable to insert records on sqlite on a Linux environment

I tested a simple Php program using Sqlite3 instead of mySQL on my own computer and it works fine. What the program does is simple insert of record into a certain table. Now, when I try to do that on ...
2
votes
0answers
59 views

How to set EMIRGE program to write files with desired permission

How can I get the EMIRGE program to read certain files? I am using Linux Mint (17.1). I have downloaded a program call EMIRGE, which is supposed to take fastq files (a text file format for ...
2
votes
0answers
102 views

I can't delete a file from EFI System Partition

I'm trying to delete a file since I installed rEFInd instead or Grub, I want to remove Grub or just remove "grubx64.efi" from my ESP, to make it disappear in the rEFInd boot screen. I can mount my ...
2
votes
0answers
150 views

Unable to run chmod, chown, and even ls on a folder

I searched the net and tried to apply answers to similar problems but none worked so far. There is a folder named ocrpaylasim under /home/bnet path. This file belonged to bnet user before and was ...
2
votes
0answers
83 views

Can file handles be translated to filenames?

Is there a tool for translating file handles to file names on Solaris 10? I've looked around and found several scripts including the one at: http://heim.ifi.uio.no/kjetilho/hacks/fhfind.perl https://...
2
votes
0answers
205 views

Process exceeding max open files limit

I am counting current open files by a process pid by :- cmd1:- ls /proc/$pid/fd/* | wc -l and then I am calculating percentage by fetching Max open Files limits. cmd2:- $ cat /proc/$pid/limits ...
2
votes
0answers
141 views

Higher-level wrapper for entr or inotifywait

I'm looking for a way to rerun a specific command as soon as any of the files in a subdirectory (perhaps minus selected excludes) changes. Use case I'm working on a project that is self-contained in ...
2
votes
0answers
120 views

Random file showing up in various directories. How to trace its creator?

I am finding a 0 byte file named ^- (that is a caret and a dash) in various directories on my file system. I use zsh with oh-my-zsh and I am pretty sure something in there is creating it but I really ...
2
votes
0answers
2k views

File limits getrlimit(RLIMIT_NOFILE) failed

(32-bit system) Posted a Q/A earlier regarding Chrome crashing because of exhausted limit in open files. Chrome has since run more smooth, (after increasing limit), but still crashes from time to ...
2
votes
0answers
118 views

Prevent scp from overwriting existing files?

Have been googling this for a while, and the problem is not so much of one where I trust my users to "do the right thing" and have them use rsync with various options to avoid overwriting files. I ...
2
votes
0answers
113 views

Can Linux be configured to wait for USB storage to be reattached instead of returning I/O error

If a usb_storage device is physically detached from an Ubuntu machine while it is still mounted, any attempt to access the file system will produce an I/O error. Is there some way to configure Linux ...
2
votes
0answers
146 views

Removing duplicate files but ignoring certain lines (e.g. embedded timestamp)

I have a bunch of gzipped text files. I am trying to remove duplicate files (using fdupes) but the problem is these files contain a line that has their timestamp in them, and the files are identical ...
2
votes
0answers
1k views

`crontab -e` sometimes fails with “Creation of temporary crontab file failed”

From time to time crontab -e fails on me on a Ubuntu box. It is the same for all users including the root and crontab -eu <user> under the root. Goes like this on a regular basis, a success here ...
2
votes
0answers
191 views

ls does not show a hidden file (OS X)

I am using lsof to view the list of open files. One such file that it displays open is : Google 3864 malaykeshav 46u REG 1,1 470455334 32578671 /Users/malaykeshav/Library/...
2
votes
0answers
61 views

Image set compression

Is there a good open source (not exclusive to Linux) for compression of a set of similar images? I have thousands of documents scanned but I do not access them often. The documents are forms, with ...
2
votes
0answers
237 views

How do I make get-iplayer produce watchable quality without huge filesize?

Summary findings: I'm using get-iplayer v2.82. The files I produce on hard drive are all mp4. I've discovered the following (downloading same TV program in both cases): Using --modes=flashstd and --...
2
votes
0answers
32 views

File viewer (not manager) with dual pane

I have multiple papers, in multiple directories. let us call the papers A, B, C, D... and I have to write reports often, where I have to answer questions like Q1, Q2, Q3, Q4... Now, what often ...
2
votes
0answers
3k views

NFSv4 which “domain” to put in idmapd.conf?

I'm using NFSv4 but suddenly when the NFS Server got rebooted, all the files on the Clients are having nobody ownerships after the Server is booted and started its whatever services again. Then I ...
2
votes
0answers
124 views

How can I make Krusader show real size of symlinked files?

In the "size" column in Krusader, there is a link's size noted, instead of the size of the actual file. This is the same as what ls -l shows (the full address of the target file, e.g. 64 B instead of ...
2
votes
0answers
226 views

Disk filename corruption

Using QNX unix filesystem. The files once written with good file names in a good directory and partition get corrupted in their filenames. Some of the files remain in good shape in the same directory....
1
vote
0answers
24 views

Search multiple remote file systems at once?

Say that I've lost a particular file. I know part of the name, so I could use something like this to find it: sudo find / -iname "*filename*" ...except that I can't remember which device or server ...
1
vote
0answers
25 views

Removing dirs with lots of tiny files on Lustre

I have a dir with a gigantic amount of very small files that I want to remove and simply removing the dir with "rm -rf /path/to/the/dir" is already taking multiple days. It might sound strange that ...
1
vote
0answers
20 views

Is there any way I can track down what is removing the executable flag from a file?

I have a set of git hooks that constantly have their executable flag removed. I'm utterly at a loss for what might be doing it, but so far the only thing I've found that can even mitigate the problem ...
1
vote
0answers
34 views

rhel - file modification logs

I found a strange file in my /home/user named FireZeMissiles1111.tmp. I am the sole user and did not create it, so it is kind of suspicious. It may have been left there by a program who's programmer ...
1
vote
0answers
66 views

What is a “file header” in Linux file systems?

The following sentence appears in an article in the web: All cryptographic metadata is stored in the headers of files, so encrypted data can be easily moved, stored for backup and recovered. ...
1
vote
0answers
7 views

Track amount of data application and a device file are exchanging

Is it possible to track how much data is going into a device file and an application as a third person? Background A web server is communicating with a device /dev/ttyACM0. The server offers a HTTP ...
1
vote
0answers
26 views

Where is my 7za data being written to

I have a weird question about 7za on Centos 7. I am adding a file to a 7za archive using the following command (the total size of the directory is around 40GB) /usr/bin/7za a -ppassword -t7z -mmt=off ...
1
vote
0answers
96 views

how to limit file manager access based on users on Ajenti

I installed Ajenti-v on my ubuntu server 15.10 and I want to create multiple users with specific access to their home directory. currently, whenever I create a new ajenti user (which is synced with ...
1
vote
0answers
30 views

Access directory as a different user

On a Debian (Jessie) server provided by my university, I have a mounted directory (say it's /MagicDir) that can only be accessed by one user (say magicuser). Not even root can access this directory! ...
1
vote
0answers
28 views

dialog menu to display files, select one of them and then able to delete it

I want to be able to display files under a given directory, then select one of the files and be able to delete it. Here's what I've found so far. Can anybody help? let i=0 # define counting variable ...
1
vote
0answers
37 views

Bulk move files back to where they came from

What happened I'm in quite a mess right now after having clamscan scan over my windows part of the system and move all found files (which apparently includes PUA's) to a directory on another drive. ...
1
vote
0answers
77 views

Removing duplicates in a large text list

I've searched around the internet and stackexchange for this. Even though there are lots of similar topics, I haven't found a solution yet. So, I have a quite large list (approx. 20GB), which ...
1
vote
0answers
137 views

Creating a sparse (automatically expanding and contracting) swap file with hole-punching support

I have this crazy idea, and want to know the pitfalls of such an approach (or whether it can even work with no deadlocks.. etc). The goal is to create an automatically expanding and contracting ...
1
vote
0answers
40 views

Empty output file in systemd unit file

I created the below systemd unit file (Centos 7) to run KMS server and logs the client requests to the kms-server.txt file. The service runs without any problem and responses to the client's requests ...
1
vote
0answers
36 views

How to determine all files that were created by a command

I want to know what files were created during execution of some shell command.
1
vote
0answers
57 views

Folders and files lost from Desktop

All my folders and files were lost from my Desktop yesterday. I can not find them. I wanted to have two Firefox profiles on Ubuntu 14.04 so I followed this tutorial. After I run Firefox profile ...
1
vote
0answers
38 views

Moved /var/log to a new logical volume now data is missing

I have a RHEL server that has /var mounted inside an LVG on its on dedicated LV. Per RH Security Advisory CCE-26215-4 I needed to migrate /var/log to its own dedicated partition. So I shrunk /opt to ...
1
vote
0answers
35 views

Exchanging huge file trees between disks

I have two 1TB disks and a huge file tree on each. Each takes up about 85% of their disk. I want to swap/exchange the trees between disks. The only spare (USB) disk that big I have is nearly full. ...
1
vote
0answers
66 views

How to permanently get rid of folder that keeps coming back on reboot

I ran a virus scan with Clamxav on my mac a couple days ago and it picked up on a PUA (Potentially undated app). It was located in /Application Support/Generic/E18VMjMwVtTrc. There was and executable ...
1
vote
0answers
119 views

How to add custom script in Elementary OS file manager context menu?

do you know if there is possibility to add custom script as element in context menu? I've seen similar threads related adding "open folder as root" and "make executable/run" entries, but still I'm not ...