-
-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Teaching GNUFile methods to follow symlinks
On Linux systems, if File.mode is used on a file that's a symlink, it will return 0x777 because that's the "mode" of the symlink but mode is pretty meaningless for a symlink. By doing `stat -L ...` the command will automatically resolve symlinks.
- Loading branch information
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters