[GH-ISSUE #657] Cannot make a directory through php inside mounted s3 bucket #375

Closed
opened 2026-03-04 01:44:55 +03:00 by kerem · 2 comments
Owner

Originally created by @MariusStanciu95 on GitHub (Oct 10, 2017).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/657

I have successfully mounted the s3 with the -o allow_other option and also having allow_other enabled in my fuse.conf file. Inside my bucket I have 2 directories.

I am using Laravel and I am trying to copy images inside my bucket and arranging them in different folders.

The issue is that in the first directory of the bucket , i can successfully write images, however , in the second one I cannot make a directory through
mkdir(pathToMntS3/folderName,0777,true)
php command.

Has anybody encountered this? Thanks in advance.

Originally created by @MariusStanciu95 on GitHub (Oct 10, 2017). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/657 I have successfully mounted the s3 with the **-o allow_other** option and also having **allow_other** enabled in my fuse.conf file. Inside my bucket I have 2 directories. I am using Laravel and I am trying to copy images inside my bucket and arranging them in different folders. The issue is that in the first directory of the bucket , i can successfully write images, however , in the second one I cannot make a directory through **mkdir(pathToMntS3/folderName,0777,true)** php command. Has anybody encountered this? Thanks in advance.
kerem closed this issue 2026-03-04 01:44:55 +03:00
Author
Owner

@ggtakec commented on GitHub (Oct 15, 2017):

@MariusStanciu95
If you execute s3fs directly, please tell us the parameters for s3fs.
Otherwise, if you are writing an entry in fstab, please tell us it.

And if you can reproduce the problem, please try logging by adding "dbglevel", "curldbg" etc. to s3fs options.
(You can see detail of the options in man s3fs)
Those logs will be useful for us to solve the problem.
Regards,

<!-- gh-comment-id:336692446 --> @ggtakec commented on GitHub (Oct 15, 2017): @MariusStanciu95 If you execute s3fs directly, please tell us the parameters for s3fs. Otherwise, if you are writing an entry in fstab, please tell us it. And if you can reproduce the problem, please try logging by adding "dbglevel", "curldbg" etc. to s3fs options. (You can see detail of the options in man s3fs) Those logs will be useful for us to solve the problem. Regards,
Author
Owner

@gaul commented on GitHub (Jul 11, 2019):

Closing due to lack of response.

<!-- gh-comment-id:510294112 --> @gaul commented on GitHub (Jul 11, 2019): Closing due to lack of response.
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#375
No description provided.