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
f23d8793
Commit
f23d8793
authored
Mar 12, 2010
by
Pavel Shilovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change default permissions for 2.6.26
parent
499220fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
connect.c
sources/2.6.26/connect.c
+3
-3
No files found.
sources/2.6.26/connect.c
View file @
f23d8793
...
...
@@ -831,9 +831,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_IRWXUGO
|
S_ISGID
)
&
(
~
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