mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-13 07:56:30 +00:00
Merge pull request #638 from andrewgaul/readme-fixes
Minor fixes to README
This commit is contained in:
commit
ee824d52ba
10
README.md
10
README.md
@ -57,15 +57,11 @@ $ brew install s3fs
|
|||||||
Examples
|
Examples
|
||||||
--------
|
--------
|
||||||
|
|
||||||
Enter your S3 identity and credential in a file `/path/to/passwd`:
|
Enter your S3 identity and credential in a file `/path/to/passwd` and set
|
||||||
|
owner-only permissions:
|
||||||
|
|
||||||
```
|
```
|
||||||
echo MYIDENTITY:MYCREDENTIAL > /path/to/passwd
|
echo MYIDENTITY:MYCREDENTIAL > /path/to/passwd
|
||||||
```
|
|
||||||
|
|
||||||
Make sure the file has proper permissions (if you get 'permissions' error when mounting) `/path/to/passwd`:
|
|
||||||
|
|
||||||
```
|
|
||||||
chmod 600 /path/to/passwd
|
chmod 600 /path/to/passwd
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -85,9 +81,11 @@ You can also mount on boot by entering the following line to `/etc/fstab`:
|
|||||||
|
|
||||||
```
|
```
|
||||||
s3fs#mybucket /path/to/mountpoint fuse _netdev,allow_other 0 0
|
s3fs#mybucket /path/to/mountpoint fuse _netdev,allow_other 0 0
|
||||||
|
```
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
|
```
|
||||||
mybucket /path/to/mountpoint fuse.s3fs _netdev,allow_other 0 0
|
mybucket /path/to/mountpoint fuse.s3fs _netdev,allow_other 0 0
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user