Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am having an issue with some Linux generated folders on a CIFS network share. This folder is created in linux, but I am unable to delete it from the share from a windows machine. Permissions were set with chmod 777 in linux.

How can I give access to the windows users, without having to "take ownership" from the Windows machine, and give full access rights through windows?

Sorry, a bit of a linux noob here.

share|improve this question
    
good question. really. –  user84277 Oct 20 '13 at 20:16
add comment

2 Answers 2

Windows uses ACLs to represent file permissions. Those are only partly supported in GNU/Linux. Try using the acl utility to find out what permissions are assigned to other files on the network share and try to set the same for your files.

THis is kind of an educated guess, since I have never worked with this myself.

share|improve this answer
add comment

Well, I mounted the CIFS share in /etc/fstab with UID=1000 and GID=1000. it seems to be working now. To be honest I have no idea. Just did a lot of trial and error.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.