samba need permission question #540
Comments
yadayada
added the
FUSE
label
Mar 11, 2017
madmanali93
commented
Mar 17, 2017
|
do you get a permission denied when you copy a file into it without samba? Or is it strictly happening in samba? |
Cr0iX
commented
Mar 17, 2017
|
madmanali93: [Amazon-Encrypted] |
madmanali93
commented
Mar 17, 2017
|
are you able to copy anything if you change the path to a non acd folder? |
Cr0iX
commented
Mar 18, 2017
|
Yes i have serveral other shared folders and none of them have any problems. |
MrColdbird
commented
Mar 23, 2017
|
[global] [amazon] Adjust the share path and servername as required. The settings I've used also help in stabilizing fuse-fs uploads a bit, anything up to 500mb filesize should upload fine with those settings, beyond that you will get "network timeout errors" reported by windows. Make sure to run your amazon and encfs mount under a newly created service user, I personally use a systemctl service script to pull up my mounts and keep them mounted, in my case this user is called "amazon". By mapping the "Bad User", aka. guest account to this amazon linux user, it also takes care of any permission issues you might be facing while using the share. Optionally, you might also want to turn on allow_other in the fuse settings, so that you can mount fuse filesystems in a better fashion. |
Cr0iX commentedMar 11, 2017
Hello,
I cannot get it to work with samba, when i try to create or delete a folder it works, but when i try to copy a file to the share it says permission denied?
I've mounted the drive with this:
acd_cli mount -ao --umask 000 --gid groupid --uid userid /dir/mountpoint
Btw. it works on the encrypted drive, but i would like some files not to be encrypted..
Regards
Cr0iX
Love your work!