F5F Stay Refreshed Software Operating Systems Adjusting file access settings for upcoming needs This will help manage permissions effectively moving forward.

Adjusting file access settings for upcoming needs This will help manage permissions effectively moving forward.

Adjusting file access settings for upcoming needs This will help manage permissions effectively moving forward.

Pages (2): 1 2 Next
E
elliottrg
Member
70
07-26-2016, 03:01 PM
#1
Hello everyone, I recently installed a Linux Server using Ubuntu and set up file sharing through Samba. When I adjusted folder permissions recursively, all users could access the files, but once a new folder was created, only its owner had access. Changing permissions again to grant group-wide access became cumbersome. We need a solution so new folders can be created easily without constantly updating permissions. Any suggestions would be appreciated. Thanks in advance.
E
elliottrg
07-26-2016, 03:01 PM #1

Hello everyone, I recently installed a Linux Server using Ubuntu and set up file sharing through Samba. When I adjusted folder permissions recursively, all users could access the files, but once a new folder was created, only its owner had access. Changing permissions again to grant group-wide access became cumbersome. We need a solution so new folders can be created easily without constantly updating permissions. Any suggestions would be appreciated. Thanks in advance.

_
_Scode
Junior Member
36
07-29-2016, 02:02 PM
#2
Add this configuration to smb.conf: This sets the default-permissions for new files and folders on the share.
_
_Scode
07-29-2016, 02:02 PM #2

Add this configuration to smb.conf: This sets the default-permissions for new files and folders on the share.

A
ahpoop1
Junior Member
10
07-30-2016, 12:52 PM
#3
Are you required to include those masks in the shared folder's configuration as well? Your existing setup already sets force create mode to 0660 and directory mode to 2770.
A
ahpoop1
07-30-2016, 12:52 PM #3

Are you required to include those masks in the shared folder's configuration as well? Your existing setup already sets force create mode to 0660 and directory mode to 2770.

W
Wolfyyy_
Senior Member
358
07-30-2016, 09:02 PM
#4
You might prefer to adjust those permissions first, wouldn't you?
W
Wolfyyy_
07-30-2016, 09:02 PM #4

You might prefer to adjust those permissions first, wouldn't you?

S
supmah10
Junior Member
10
08-05-2016, 12:32 PM
#5
@Kanna UPDATE: Folders are readable but not editable (even owners can't write now). Share Config is set as: [DLC] path = /media/user/x/samba/DLC browseable = yes guest ok = yes force group = dlcusers valid users = @dlcusers create mask = 0777 directory mask = 0777 force create mode = 0777 force security mode = 0777 force directroy mode = 0777 force directory security mode = 0777. From what I understand, now most users should be able to modify anything. I’m using Linux users too—could that be the issue?
S
supmah10
08-05-2016, 12:32 PM #5

@Kanna UPDATE: Folders are readable but not editable (even owners can't write now). Share Config is set as: [DLC] path = /media/user/x/samba/DLC browseable = yes guest ok = yes force group = dlcusers valid users = @dlcusers create mask = 0777 directory mask = 0777 force create mode = 0777 force security mode = 0777 force directroy mode = 0777 force directory security mode = 0777. From what I understand, now most users should be able to modify anything. I’m using Linux users too—could that be the issue?

S
Sushi292
Member
179
08-18-2016, 12:00 AM
#6
You were tagged because of the content you provided.
S
Sushi292
08-18-2016, 12:00 AM #6

You were tagged because of the content you provided.

M
MemerTheLemur
Junior Member
39
08-18-2016, 02:15 AM
#7
We accepted the approach suggested by @WereCatf, so I wondered if you'd be willing to assist as well.
M
MemerTheLemur
08-18-2016, 02:15 AM #7

We accepted the approach suggested by @WereCatf, so I wondered if you'd be willing to assist as well.

B
buildernumber5
Junior Member
11
08-18-2016, 03:42 AM
#8
I truly don't think it's worth supporting that idea.
B
buildernumber5
08-18-2016, 03:42 AM #8

I truly don't think it's worth supporting that idea.

F
FLPFive
Member
170
08-19-2016, 02:49 AM
#9
Check the Samba documentation for correct setup. It seems you might be setting up a Samba share without creating users first. Also, consider establishing a group for Samba so you can manage file permissions effectively.
F
FLPFive
08-19-2016, 02:49 AM #9

Check the Samba documentation for correct setup. It seems you might be setting up a Samba share without creating users first. Also, consider establishing a group for Samba so you can manage file permissions effectively.

B
ByWeaadox
Member
65
08-27-2016, 10:54 AM
#10
Confirmed, Samba accounts can be displayed (using pdbedit -L -v) and everything appears set up properly as described on the site. Appreciate the tip!
B
ByWeaadox
08-27-2016, 10:54 AM #10

Confirmed, Samba accounts can be displayed (using pdbedit -L -v) and everything appears set up properly as described on the site. Appreciate the tip!

Pages (2): 1 2 Next