[GH-ISSUE #836] "s3fs: specified passwd_file is not readable." #485

Closed
opened 2026-03-04 01:46:01 +03:00 by kerem · 5 comments
Owner

Originally created by @olalonde on GitHub (Oct 11, 2018).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/836

Additional Information

The following information is very important in order to help us to help you. Omission of the following details may delay your support request or receive no attention at all.
Keep in mind that the commands we provide to retrieve information are oriented to GNU/Linux Distributions, so you could need to use others if you use s3fs on MacOS or BSD

Version of s3fs being used (s3fs --version)

$ s3fs --version
V1.84(commit:unknown)

Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse)

example: 2.9.4

Kernel information (uname -r)

17.5.0

GNU/Linux Distribution, if applicable (cat /etc/os-release)

MacOS

s3fs command line used, if applicable

s3fs mybucket ~/Documents/mybucket -o passwd_file=~/.passwd-s3fs

Details about issue

$ s3fs mybucket ~/Documents/mybucket -o passwd_file=~/.passwd-s3fs

s3fs: specified passwd_file is not readable.
$ whoami
olalonde
$ ll ~/.passwd-s3fs
-rw-------  1 olalonde  staff    62B Oct 11 10:27 /Users/olalonde/.passwd-s3fs
Originally created by @olalonde on GitHub (Oct 11, 2018). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/836 ### Additional Information _The following information is very important in order to help us to help you. Omission of the following details may delay your support request or receive no attention at all._ _Keep in mind that the commands we provide to retrieve information are oriented to GNU/Linux Distributions, so you could need to use others if you use s3fs on MacOS or BSD_ #### Version of s3fs being used (s3fs --version) $ s3fs --version V1.84(commit:unknown) #### Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse) _example: 2.9.4_ #### Kernel information (uname -r) 17.5.0 #### GNU/Linux Distribution, if applicable (cat /etc/os-release) MacOS #### s3fs command line used, if applicable ``` s3fs mybucket ~/Documents/mybucket -o passwd_file=~/.passwd-s3fs ``` ### Details about issue ``` $ s3fs mybucket ~/Documents/mybucket -o passwd_file=~/.passwd-s3fs s3fs: specified passwd_file is not readable. $ whoami olalonde $ ll ~/.passwd-s3fs -rw------- 1 olalonde staff 62B Oct 11 10:27 /Users/olalonde/.passwd-s3fs ```
kerem closed this issue 2026-03-04 01:46:01 +03:00
Author
Owner

@olalonde commented on GitHub (Oct 11, 2018):

Ah, it works if I use the full path /Users/olalonde/.passwd-s3fs instead of ~/.passwd-s3fs...

<!-- gh-comment-id:428798269 --> @olalonde commented on GitHub (Oct 11, 2018): Ah, it works if I use the full path `/Users/olalonde/.passwd-s3fs` instead of `~/.passwd-s3fs`...
Author
Owner

@gaul commented on GitHub (Oct 11, 2018):

The shell expands tildes but only when they are the leading character of a string.

<!-- gh-comment-id:428799135 --> @gaul commented on GitHub (Oct 11, 2018): The shell expands tildes but only when they are the leading character of a string.
Author
Owner

@olalonde commented on GitHub (Oct 11, 2018):

Makes sense... would be a good idea to update -o passwd_file=~/.passwd-s3fs in the README, maybe -o passwd_file=$HOME/.passwd-s3fs?

<!-- gh-comment-id:428800536 --> @olalonde commented on GitHub (Oct 11, 2018): Makes sense... would be a good idea to update `-o passwd_file=~/.passwd-s3fs` in the README, maybe `-o passwd_file=$HOME/.passwd-s3fs`?
Author
Owner

@gaul commented on GitHub (Oct 11, 2018):

Sounds good to me! Could you submit a pull request for this?

<!-- gh-comment-id:428816292 --> @gaul commented on GitHub (Oct 11, 2018): Sounds good to me! Could you submit a pull request for this?
Author
Owner

@IamMohitM commented on GitHub (Dec 2, 2021):

On my system, passwd_file=~/.passwd-s3fs will work fine but will fail if the path has quotes surrounding it passwd_file="~/.passwd-s3fs"

<!-- gh-comment-id:984529082 --> @IamMohitM commented on GitHub (Dec 2, 2021): On my system, `passwd_file=~/.passwd-s3fs` will work fine but will fail if the path has quotes surrounding it `passwd_file="~/.passwd-s3fs"`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#485
No description provided.