[Samba] problem changing permissions
James S. Martin
james.martin at digex.com
Thu Aug 29 05:48:00 GMT 2002
Whenever I try to add or remove a user for access to a file I get the
following error:
"Unable to save permission change on <filename>. Access is denied".
I took a look at my smbd log file and found this:
[2002/08/29 10:40:00, 5] smbd/posix_acls.c:unpack_nt_owners(433)
unpack_nt_owners: validating owner_sids.
[2002/08/29 10:40:00, 5] smbd/posix_acls.c:unpack_nt_owners(474)
unpack_nt_owners: owner_sids validated.
[2002/08/29 10:40:00, 3] smbd/dosmode.c:unix_mode(111)
unix_mode(test5.txt) returning 0777
[2002/08/29 10:40:00, 3] smbd/posix_acls.c:set_nt_acl(2249)
set_nt_acl: chmod test5.txt. perms = 0777.
[2002/08/29 10:40:00, 3] smbd/posix_acls.c:set_nt_acl(2253)
set_nt_acl: chmod test5.txt, 0777 failed. Error = Operation not
permitted.
[2002/08/29 10:40:00, 3] smbd/error.c:error_packet(91)
error string = Operation not permitted
[2002/08/29 10:40:00, 3] smbd/error.c:error_packet(106)
error packet at smbd/nttrans.c(1714) cmd=160 (SMBnttrans)
NT_STATUS_ACCESS_DENIED
[2002/08/29 10:40:00, 5] lib/util.c:show_msg(268)
I'm not sure what is causing this. Any ideas? Here's a copy of my smb.conf
[global]
security = user
log level = 5
socket options = TCP_NODELAY IPTOS_LOWDELAY
dead time = 15
getwd cache = yes
workgroup = COOL
server string = have a nice day
encrypt passwords=yes
netbios name = LINUX-NAS
level2 oplocks = no
oplocks = no
[stuff]
browseable=yes
comment = test files
path = /local/nas
valid users = nasuser
writable = yes
printable = no
delete readonly = yes
Thanks,
James
More information about the samba
mailing list