Skip to main content

Questions tagged [files]

Organized data encoded in a pre-defined format and stored on a filesystem.

0 votes
1 answer
18 views

How to delete non root-owned files from Unix /tmp folder

We have some Ubuntu v22 servers that get a lot of files dumped into the /tmp directory, in spite of our best code efforts to clean up after the processes are done. What we would like to do is run a ...
wonder95's user avatar
  • 123
1 vote
0 answers
47 views

Audit trasspasing information

I would like to know if there is a way to audit what files a user is "passing" from the file server to their local environment. I have the event viewer enabled but I can only see which file ...
Jose Antonio Gil Romero's user avatar
1 vote
1 answer
226 views

.htaccess to normalize requests to files with or without extension to URL without extension: $1(\.html?) --> $1

This is a followup question My intended .htaccess ruleset has overall been achieved. See that file in its current form quoted below. Remaining problem: One ruleset yet not working Goal: Normalize ...
porg's user avatar
  • 173
1 vote
2 answers
579 views

.htaccess files directive only matching when I'm checking the same folder

I've got a server set up where I want a specific PHP file to be readable via the browser, but I want access to be denied to the rest of the PHP files. So I put this .htaccess in the server root: <...
John Doe's user avatar
  • 365
0 votes
1 answer
148 views

Why would /etc/krb5.keytab change?

A half-dozen boxes out of hundreds reported a changed /etc/krb5.keytab all within a few minutes of each other on a random Saturday. No one was logged in at the time of the changes. I have asked for ...
Chris K's user avatar
  • 15
1 vote
1 answer
500 views

If Robocopy is run from a different server, does it copy the files across the network if the source and destination are the same server?

As part of our build and deployment process, we deploy applications from Server A (our build server running GitHub self-hosted runner) to Server B (web server). The process involves publishing from ...
Airn5475's user avatar
  • 111
1 vote
0 answers
240 views

Files with apparent 86TB file size, how to shrink them?

After extracting a zip, I have 8.6P in apparent size but only 728M on disk used. I did some checks and hdparm --fibmap shows that all the files have a huge byte_offset: 94331430207488. I tried to use ...
Nassiel's user avatar
  • 11
0 votes
0 answers
548 views

ICSharpCode.sharpziplib.zip.zipexception. Cannot find central directory

Every time we run a certain commercial software in a Windows Server 2019 we get a pop-up window with this error: ICSharpCode.sharpziplib.zip.zipexception. Cannot find central directory It looks like ...
user1031431's user avatar
0 votes
0 answers
336 views

How to save my files from initramfs for Ubuntu 22.04, which is unable to boot?

My Ubuntu got broken because UUID isn't correct, and I try all the ways but not fix it, so I decided to reinstall Ubuntu again. However, I need the old files in Ubuntu, is there any way for me to copy ...
Ting-Kai Hsu's user avatar
0 votes
0 answers
405 views

NGINX - How to serve file with filename that begins with the last segment of uri?

I have many PDFs in a \drawings folder on my server. The filename structure is: 8 digits, underscore, Rev level letter -- i.e. \d{8}_[A-Za-z]\.pdf. These files are organized in subfolders that match ...
Sean O's user avatar
  • 277
1 vote
2 answers
123 views

Delete folders asynchronously

I have a large file system in which I have to delete certain directories from time to time. Currently I have a script which amongst other things, deletes a folder and subsequently generates an email ...
loris's user avatar
  • 242
0 votes
1 answer
143 views

How are files routed through the network when using a copy command with UNC paths as the source and destination?

Given a command like robocopy "\\UNC1" "\\UNC2" /E /MT:128 /R:0 /W:0 executed from a workstation. Do files move like this or more like
d12's user avatar
  • 103
2 votes
1 answer
235 views

Discrepancy in file usage after rsync

I copied files from an exFAT filesystem to an ext4 filesystem: sudo rsync -avz /media/user/1TB-SD-EX/ -e ssh example.com:/data/pc/sd1tb After successful run I check source and destination size with ...
NeDark's user avatar
  • 473
3 votes
2 answers
432 views

Using file system (AWS EFS) as cheap database for Lambda function

I am designing a database that could easily be represented as a large collection of files containing fixed size records, with sequence numbers 0,1,... This could fit nicely in DynamoDB with the ...
user1055568's user avatar
0 votes
1 answer
557 views

Permission for Users group successfully modified via code, but change is not reflected in Security tab for the Users group

I have C# code (at the end) which: Creates a file Prints the current ACL Gives the builtin users group "write permissions" to the previously created file Prints the current modified ACL ...
Legenda's user avatar
  • 89

15 30 50 per page
1
2 3 4 5
46