Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etercifs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etercifs
Commits
002b1d03
Commit
002b1d03
authored
Mar 12, 2010
by
Pavel Shilovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change default permissions for centos52
parent
2fe769fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
connect.c
sources/centos52/connect.c
+3
-3
No files found.
sources/centos52/connect.c
View file @
002b1d03
...
...
@@ -852,9 +852,9 @@ cifs_parse_mount_options(char *options, const char *devname,
vol
->
target_rfc1001_name
[
0
]
=
0
;
vol
->
linux_uid
=
current
->
uid
;
/* current->euid instead? */
vol
->
linux_gid
=
current
->
gid
;
vol
->
dir_mode
=
S_IRWXUGO
;
/*
2767 perms indicate mandatory locking suppor
t */
vol
->
file_mode
=
S_IALLUGO
&
~
(
S_ISUID
|
S_IXGRP
)
;
/*
default to only allowing write access to owner of the moun
t */
vol
->
dir_mode
=
vol
->
file_mode
=
S_IRUGO
|
S_IXUGO
|
S_IWUSR
;
/* vol->retry default is 0 (i.e. "soft" limited retry not hard retry) */
vol
->
rw
=
TRUE
;
...
...
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