Changeset 19036
- Timestamp:
- Aug 12, 2008, 1:53:40 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous-Server/lib/Nebulous/Server.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/lib/Nebulous/Server.pm
r18457 r19036 1 1 # Copyright (c) 2004-2008 Joshua Hoblitt 2 2 # 3 # $Id: Server.pm,v 1.8 1 2008-07-10 02:40:33jhoblitt Exp $3 # $Id: Server.pm,v 1.82 2008-08-12 23:53:40 jhoblitt Exp $ 4 4 5 5 package Nebulous::Server; … … 1342 1342 or die "can't create storage path: $storage_path"; 1343 1343 } 1344 # check to make sure at least the parent directory has the proper 1345 # permissions 1346 my $mode = (stat($storage_path))[2] & 07777; 1347 unless ($mode == 0775) { 1348 $log->error("$storage_path has the wrong permissions of: %04o", $mode); 1349 chmod(0775, $storage_path) or die "can't chmod $storage_path: $!"; 1350 } 1351 1344 1352 my $fqpn = File::Spec->catfile($storage_path, $storage_filename); 1345 1353 $uri = URI::file->new($fqpn);
Note:
See TracChangeset
for help on using the changeset viewer.
