Tag Info

New answers tagged

0

I got an answer on IIS's forum by lextm. Mapped drives are not supported by IIS. If you want it to work, have a look at UNC path ! :) MTEDField


0

There seems to be a catch with df and btrfs on Linux. When you ask df to locate the mount point for a mounted btrfs volume, it will do the right thing. In this case, joe is a sub-directory of /m/whale/backup. # df /srv/backup/joe Filesystem 1K-blocks Used Available Use% Mounted on /dev/md126 2930135488 307676684 2619663252 11% ...


1

You have to disable access based enumeration on the windows file share and force the mac clients to use SMB1. Also, don't give full control to CREATOR OWNER: uncheck Full Control, Change Permissions, and Take Ownership. The mac ACLs will screw you in the long run unless you uncheck those permissions. In order to enforce SMB1 on a mac client: Create the ...


3

This snippet prints the disk on which volume "H" is located. Get-Partition -DriveLetter H | Get-Disk | Format-List Edit Having a second look at your question I think I see a spanned volume over three dynamic disks. In this case it won't be so easy to locate the disk a file is on. And even if you know this information, it will be impossible to store the ...


1

FYI the php.ini file says: ; Temporary directory for HTTP uploaded files (will use system default if not ; specified). ; http://php.net/upload-tmp-dir ;upload_tmp_dir = so its 'tmp' vs 'temp'. This at least worked for me.


0

if you have locate installed you can use locate -r '.' | grep -c "^$PWD" or to get a result filesystem-wide locate -S It will be much much faster than find if you got many files. the only drawback is, it also counts directories


2

Try grepping like this: grep -i 'dir1[^/]*$' Which means it will only accept the match if it matches dir1, and that match is not followed by any / until the end of the line.


3

Procmon out of the Microsoft Sysinternals suite should do the trick. You can filter the path or registry key or whatever you need.


0

To unhide the directory in PowerShell: (get-item -force <name-of-directory>).Attributes = '' With aliases: (gi -fo <name-of-directory>).Attributes = '' I used this article as a reference and simplified the syntax a bit.


0

You can use the below command with atime if the files are accessed often find /sourcedirectory -type f -atime +365 -exec mv -t /destinationdirectory {} +;


2

According to this old thread on the apache-modssl mailing list, file() reads the contents of the file into a single string, and so special characters (such as newlines) in the referenced file may break the SSLRequire syntax. Given that this was posted by the original author of mod_ssl, I'd trust this theory to be spot on. Try with the following contents in ...



Top 50 recent answers are included