Solved

Error applying attributes to the file.

Posted on 2006-11-15
5
640 Views
Last Modified: 2008-01-09
Running RHEL 4 / SAMBA 3.0.10 on my server. I set up several unix users added shares, smb.conf looks good. Created two groups users and pca. Added users to samba with full access. The issue, user(s) log on from XP home workstation, shares map fine. All users can create folders add, delete files, no problem. However, the first user I setup can change attributes on files (read-only, hidden, archive), all others users cannot change attributes, "An error occurred applying attributes to the file". I have compared the users until I'm blue in the face and see no differences, except the unix user id values (500-508).

Any suggestions. Thanks.
0
Comment
Question by:headjava
  • 2
5 Comments
 
LVL 43

Accepted Solution

by:
ravenpl earned 250 total points
ID: 17954046
> except the unix user id values (500-508).
Well this is importand. Make samba force the user on created files

[share]
        comment = SHARE
        path = /...
        valid users = @special_share_group
        force user = special_share_owner
        force group = special_share_group
        read only = No
0
 

Author Comment

by:headjava
ID: 17957112
Thank you for the reply. I'm very new to linux. I did determine the user that creates or copies the file to my RHEL server is who can change attributes (owner). Not clear on the force user option in smb.conf. Would this still only allow the special_share_owner to change attributes ? How would the special_share_owner be different than all other users ?
Its like I need to have an anonymous user and use that user as the special_share_owner.

Thanks for your help.
0
 
LVL 43

Expert Comment

by:ravenpl
ID: 17957185
The idea of 'force user' is that anybody who is allowed to access this share(valid users) will act as forced user/group and not the real connected user.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Kali Linux Word list 6 875
iptables dropping lots of packets 3 63
Webmin Bandwidth Monitoring not working 10 131
IPA - change main server? 3 134
​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question