mirror of
https://github.com/TurboGit/hubicfuse.git
synced 2026-08-02 02:42:00 +02:00
Use .hubicfuse instead of .cloudfuse.
At this stage the authentication is really dedicated to HubiC. It seems better to use a specific configuration file for this application.
This commit is contained in:
@@ -27,7 +27,7 @@ BUILDING:
|
||||
USE:
|
||||
|
||||
Your Hubic Cloud configuration can be placed in a file named
|
||||
$HOME/.cloudfuse. All the following variables are required:
|
||||
$HOME/.hubicfuse. All the following variables are required:
|
||||
|
||||
client_id=[Hubic client id for the registered application]
|
||||
client_secret=[Hubic client secret for the registered application]
|
||||
@@ -56,7 +56,7 @@ USE AS NON-ROOT:
|
||||
|
||||
$ sudo usermod -a -G fuse [username]
|
||||
|
||||
Mount using the above command without the sudo. The .cloudfuse file is
|
||||
Mount using the above command without the sudo. The .hubicfuse file is
|
||||
searched into the user's home.
|
||||
|
||||
To unmount use:
|
||||
|
||||
+1
-1
@@ -449,7 +449,7 @@ int main(int argc, char **argv)
|
||||
FILE *settings;
|
||||
struct fuse_args args = FUSE_ARGS_INIT(argc, argv);
|
||||
|
||||
snprintf(settings_filename, sizeof(settings_filename), "%s/.cloudfuse", get_home_dir());
|
||||
snprintf(settings_filename, sizeof(settings_filename), "%s/.hubicfuse", get_home_dir());
|
||||
if ((settings = fopen(settings_filename, "r")))
|
||||
{
|
||||
char line[OPTION_SIZE];
|
||||
|
||||
Reference in New Issue
Block a user