Permsissions error between Raspbian and Ubuntu using CIFS and Samba

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
I don't know what I'm doing wrong I have a client (Raspbian) that can access a share on my Samba server (Ubuntu). Other computers can access this folder, including Windows boxes, hence why I'm using Samba instead of NFS. When I create a test folder using my client, the permissions of it seem fine, but when I look at the server, they're all wrong. No matter what settings I've changed, they still are messed up. I've included the configurations below to better illustrate my problem (The last code block shows the issue). Any help would be greatly appreciated. Thank you.
smb.conf (Ubuntu)
[global]
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = no
[Storage]
path = /media/storage
read only = no
valid users = @storage-users
browseable = yes
guest ok = no
create mask = 0660
directory mask = 0770
fstab (Raspbian)
//<SERVER_IP>/Storage /media/storage cifs credentials=/home/<USERNAME>/.smbcredentials,iocharset=utf8,rw,uid=<USERNAME>,gid=storage-users,file_mode=0660,dir_mode=0770 0 0
File Directory on Client ("Test" directory made using Client)
drwxrwx--- 2 USERNAME storage-users 0 Apr 30 22:42 test
File Directory on Server
drwxr-s--- 2 USERNAME storage-users 6 Apr 30 12:42 test
# Why is the execute for group gone?
permissions mount samba cifs
add a comment |Â
up vote
0
down vote
favorite
I don't know what I'm doing wrong I have a client (Raspbian) that can access a share on my Samba server (Ubuntu). Other computers can access this folder, including Windows boxes, hence why I'm using Samba instead of NFS. When I create a test folder using my client, the permissions of it seem fine, but when I look at the server, they're all wrong. No matter what settings I've changed, they still are messed up. I've included the configurations below to better illustrate my problem (The last code block shows the issue). Any help would be greatly appreciated. Thank you.
smb.conf (Ubuntu)
[global]
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = no
[Storage]
path = /media/storage
read only = no
valid users = @storage-users
browseable = yes
guest ok = no
create mask = 0660
directory mask = 0770
fstab (Raspbian)
//<SERVER_IP>/Storage /media/storage cifs credentials=/home/<USERNAME>/.smbcredentials,iocharset=utf8,rw,uid=<USERNAME>,gid=storage-users,file_mode=0660,dir_mode=0770 0 0
File Directory on Client ("Test" directory made using Client)
drwxrwx--- 2 USERNAME storage-users 0 Apr 30 22:42 test
File Directory on Server
drwxr-s--- 2 USERNAME storage-users 6 Apr 30 12:42 test
# Why is the execute for group gone?
permissions mount samba cifs
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I don't know what I'm doing wrong I have a client (Raspbian) that can access a share on my Samba server (Ubuntu). Other computers can access this folder, including Windows boxes, hence why I'm using Samba instead of NFS. When I create a test folder using my client, the permissions of it seem fine, but when I look at the server, they're all wrong. No matter what settings I've changed, they still are messed up. I've included the configurations below to better illustrate my problem (The last code block shows the issue). Any help would be greatly appreciated. Thank you.
smb.conf (Ubuntu)
[global]
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = no
[Storage]
path = /media/storage
read only = no
valid users = @storage-users
browseable = yes
guest ok = no
create mask = 0660
directory mask = 0770
fstab (Raspbian)
//<SERVER_IP>/Storage /media/storage cifs credentials=/home/<USERNAME>/.smbcredentials,iocharset=utf8,rw,uid=<USERNAME>,gid=storage-users,file_mode=0660,dir_mode=0770 0 0
File Directory on Client ("Test" directory made using Client)
drwxrwx--- 2 USERNAME storage-users 0 Apr 30 22:42 test
File Directory on Server
drwxr-s--- 2 USERNAME storage-users 6 Apr 30 12:42 test
# Why is the execute for group gone?
permissions mount samba cifs
I don't know what I'm doing wrong I have a client (Raspbian) that can access a share on my Samba server (Ubuntu). Other computers can access this folder, including Windows boxes, hence why I'm using Samba instead of NFS. When I create a test folder using my client, the permissions of it seem fine, but when I look at the server, they're all wrong. No matter what settings I've changed, they still are messed up. I've included the configurations below to better illustrate my problem (The last code block shows the issue). Any help would be greatly appreciated. Thank you.
smb.conf (Ubuntu)
[global]
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = no
[Storage]
path = /media/storage
read only = no
valid users = @storage-users
browseable = yes
guest ok = no
create mask = 0660
directory mask = 0770
fstab (Raspbian)
//<SERVER_IP>/Storage /media/storage cifs credentials=/home/<USERNAME>/.smbcredentials,iocharset=utf8,rw,uid=<USERNAME>,gid=storage-users,file_mode=0660,dir_mode=0770 0 0
File Directory on Client ("Test" directory made using Client)
drwxrwx--- 2 USERNAME storage-users 0 Apr 30 22:42 test
File Directory on Server
drwxr-s--- 2 USERNAME storage-users 6 Apr 30 12:42 test
# Why is the execute for group gone?
permissions mount samba cifs
asked Apr 30 at 22:54
Mookeyj79
11
11
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1030341%2fpermsissions-error-between-raspbian-and-ubuntu-using-cifs-and-samba%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password