Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Remove chmod 777 for cifs mounted folders #107

Closed
withinboredom opened this issue May 26, 2014 · 3 comments
Closed

Remove chmod 777 for cifs mounted folders #107

withinboredom opened this issue May 26, 2014 · 3 comments
Milestone

Comments

@withinboredom
Copy link

Vagrant fails on

The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mkdir -p /tmp/vagrant-cache && chmod 777 /tmp/vagrant-cache

Stdout from the command:



Stderr from the command:

stdin: is not a tty
chmod: changing permissions of ���/tmp/vagrant-cache���: Permission denied

This is due to the fact that you cannot chmod an smb folder. File permissions are set at mount time with options

mount_options: ["file_mode=0777", "dir_mode=0777"]

This may be for another ticket, but is 777 really necessary for package storage?

@fgrehm
Copy link
Owner

fgrehm commented Jun 24, 2014

The chmod 777 was introduced on 0dd1b20 in order to fix GH-74 so I'm not sure if we can get rid of that.

Which provider are you using over there? We might be able to change the code to skip the chmod if an specific synced folder implementation or provider gets detected.

@withinboredom
Copy link
Author

I'm using hyperv—
Sent from Mailbox

On Mon, Jun 23, 2014 at 10:02 PM, Fabio Rehm [email protected]
wrote:

The chmod 777 was introduced on 0dd1b20 in order to fix GH-74 so I'm not sure if we can get rid of that.

Which provider are you using over there? We might be able to change the code to skip the chmod if an specific synced folder implementation or provider gets detected.

Reply to this email directly or view it on GitHub:
#107 (comment)

@fgrehm fgrehm added this to the v1.0 milestone Jul 20, 2014
@fgrehm fgrehm closed this as completed in 2b6a07d Jul 21, 2014
@fgrehm
Copy link
Owner

fgrehm commented Jul 21, 2014

This was fixed in git, a new release will come out with it as soon as I'm done with the stuff tagged with the v1.0.0 milestone

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants