Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libplist
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwn
libplist
Commits
de4b2790
Commit
de4b2790
authored
Aug 30, 2008
by
Paul Sladen
Committed by
Matt Colyer
Aug 30, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed permissions on directories.
Signed-off-by:
Matt Colyer
<
matt@colyer.name
>
parent
6c715f8f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
AUTHORS
AUTHORS
+1
-0
ifuse.c
src/ifuse.c
+1
-1
No files found.
AUTHORS
View file @
de4b2790
...
...
@@ -4,3 +4,4 @@ Matt Colyer
Martin Aumueller
Christophe Fergeau
Martin S.
Paul Sladen
src/ifuse.c
View file @
de4b2790
...
...
@@ -57,7 +57,7 @@ static int ifuse_getattr(const char *path, struct stat *stbuf) {
if
(
!
file
){
res
=
-
ENOENT
;
}
else
{
stbuf
->
st_mode
=
file
->
type
|
0644
;
// but we don't want anything on the iPhone executable, like, ever
stbuf
->
st_mode
=
file
->
type
|
(
S_ISDIR
(
file
->
type
)
?
0755
:
0644
);
stbuf
->
st_size
=
file
->
size
;
stbuf
->
st_blksize
=
2048
;
// FIXME: Is this the actual block size used on the iPhone?
stbuf
->
st_blocks
=
file
->
blocks
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment