Monday, April 14, 2014

How to Fix SSHFS Mounts Not Writable by PHP

Problem:
When accessing a php file in the browser that uses is_writable(), is_dir(),... etc of a mounted directory through sshfs, PHP sometimes cannot detect the mounted directory so the functions above always returns false.

1.) Steps to resolve:
$> sudo adduser $USER fuse
$> ls -l /etc/fuse.conf
$> sudo chmod a+r /etc/fuse.conf

2.) Edit fuse.conf and enable user_allow_other
$> sudo vim /etc/fuse.conf

3.) Connect with allow_user
sshfs -o allow_other,uid=1000,gid=33 user@192.168.1.101:/path/to/mounted/mydir mydir

40 comments:

Unknown said...

Sergei , October 22, 1970 Born in Christian Louboutin Bois Dore Moscow State Ozherelye. Perhaps influenced by Cheap LV Handbags their parents worship warrior army, join the army in cheap jordans 1989, and into the elite airborne military service. 1991, by the influence of the Soviet Union, the uggs on sale Russian christian louboutin army general lack of funds, a large number ugg australia of Air Jordan 11 Gamma Blue soldiers seeking veterans, but under extremely difficult conditions still dedicated, praise superiors, and soon was sent to the famous christian louboutin shoes Ryazan Higher ugg Airborne Command School studies. After graduating in 1994, entered the famous Pskov 76th Guards Airborne discount christian louboutin Division, served as discount nike jordans the reconnaissance platoon, reconnaissance ugg soldes deputy company commander, company commander, battalion airborne regiment scouting director and other duties.From 2000 to Cheap Louis Vuitton Handbags 2004, where the forces have repeatedly ordered war with Chechen militants. Because of their opponents in order to form the squad activity and haunted impermanence, the Russians had to ugg boots mobilize elite troops set up large uggs outlet number of small units, "a Discount Louis Vuitton small wholesale jordan shoes play small" Implementation siege. commanding troops in Chechnya, Christian Louboutin Daffodile Ingushetia and other places over the mountains, to track the militants fled. Discount LV Handbags Although the militants were extremely vigilant, but as long as the task has never had outsmarted.August 8, 2008, Georgia suddenly invade South Ossetia (Russian peacekeepers stationed ugg pas cher there), the Russian military to respond quickly, including including the 76th Guards Airborne Division, more than christian louboutin remise 50% 3,000 people were immediately delivered to the pro-Russian Abkhazia, Georgia cheap nike jordan shoes Army contain two infantry brigades, effectively coordinate the cheap christian louboutin direction of the Russian Bags Louis Vuitton troops in South Ossetia.

Unknown said...

blake griffin jersey
nike trainers,nike trainers uk,cheap nike trainers,nike shoes uk,cheap nike shoes uk
soccer jerseys
rolex watches,swiss watch,replica watches,rolex watches for sale,replica watches uk,rolex watches replica,rolex watches for sales
moncler jackets
canada goose outlet
nike outlet store
mulberry handbags
raiders jerseys
cheap nhl jerseys
nhl jerseys
nike huarache
peyton manning jersey,eric decker jersey,aqib talib jersey,emmanuel sanders jersey,shannon sharpe jersey,louis vasquez jersey
san francisco 49ers jerseys
nike running shoes
true religion jeans
nike running shoes
north face outlet store
tim tebow jersey,julian edelman jersey,darrelle revis jersey,vince wilfork jersey,tom brady jersey,rob gronkowski jersey,deion branch jersey,jerod mayo jersey,danny woodhead jersey
lebron james shoes,lebron 12,lebron 12 shoes,lebron sneakers,lebron iv,lebron 11,lebron 10
dan marino jersey,louis delmas jersey,brent grimes jersey,cameron wake jersey,mike wallace jersey,dan marino jersey,cameron wake jersey
chelsea football shirts
chicago bears jerseys
air max 2014
hermes outlet store
barcelona jersey
burberry sale
cheap oakley sunglasses
spurs jersey
air jordan shoes
miami heat jersey
coach outlet store
soccer shoes
nike trainers uk
baltimore ravens jerseys
zhuweiming0627

Unknown said...

abercrombie
babyliss pro
coach outlet online
nike free
oakley sunglasses
evening dresses
michael kors outlet
coach outlet
monster beats
louis vuitton handbags
abercrombie
cheap soccer jerseys
adidas wings
celine outlet
mcm handbags
new balance shoes
fred perry polo shirts
asics shoes
kate spade handbags
tiffany and co
air force 1 shoes
cheap jordans
cleveland cavaliers jersey
new orleans saints jerseys
arizona cardinals jerseys
ugg uk
lebron james shoes
the north face uk
ysl outlet
washington redskins jerseys
adidas shoes
kate spade handbags
cheap toms
hermes belt
ugg boots
prada outlet
nike running shoes
coach outlet store
michael kors canada
cartier love bracelet
2015717caihuali

chenlina said...

chenlina20151127
michael kors outlet
canada goose
louis vuitton outlet
north face outlet
cheap jordan shoes
abercrombie kids
michael kors handbags
coach factory outlet
hollister
air max 90
air max uk
michael kors outlet online
cheap oakley sunglasses
michael kors outlet online
polo ralph lauren outlet
michael kors outlet
christian louboutin outlet
michael kors outlet
kids lebron shoes
prada handbags
coach factory outlet
ugg sale
coach outlet
cheap oakley sunglasses
cheap jordans
cheap uggs for sale
cheap uggs
hollister uk
fitflops
ugg boots
michaek kors handbags
tiffany and co
tod's shoes
true religion outlet
michael kors outlet
louis vuitton outlet
ugg sale
jordan 11s
cheap ray ban sunglasses
michael kors outlet
as

oakleyses said...

moncler, moncler outlet, marc jacobs, moncler, hollister, montre pas cher, vans, ray ban, replica watches, pandora charms, louis vuitton, supra shoes, sac louis vuitton pas cher, pandora jewelry, swarovski, pandora charms, moncler, bottes ugg, barbour, canada goose, ugg,uggs,uggs canada, louis vuitton, doke gabbana outlet, converse, louis vuitton, lancel, louis vuitton, hollister, moncler, pandora jewelry, doudoune canada goose, juicy couture outlet, nike air max, converse outlet, barbour jackets, moncler, ugg,ugg australia,ugg italia, links of london, moncler, gucci, canada goose outlet, canada goose, canada goose outlet, coach outlet, canada goose uk, ugg boots uk, canada goose, juicy couture outlet, ugg pas cher, wedding dresses, canada goose

chenlina said...

chenlina20160127
louis vuitton
kobe 11
nba jerseys
michael kors outlet online
michael kors outlet
canada goose coats
christian louboutin shoes
chanel bags
coach outlet store online
abercrombie and fitch new york
jordan retro
oakley sunglasses cheap
mont blanc legend
ray ban sunglasses
hollister
oakley sunglasses
ugg outlet
jordan concords
louis vuitton handbags
tod's shoes
nike huarache
p90x
michael kors outlet online
uggs outlet
ralph lauren outlet
air force 1
ralph lauren uk
michael kors outlet online
kevin durant basketball shoes
michael kors outlet
tory burch outlet
instyler max
chanel bags
polo ralph lauren outlet
ugg boots
tory burch outlet online
kobe 9
oakley sunglasses
air max uk
michael kors outlet
as

sourabh gupta said...
This comment has been removed by the author.
sourabh gupta said...
This comment has been removed by the author.
sourabh gupta said...
This comment has been removed by the author.
sourabh gupta said...
This comment has been removed by the author.
Unknown said...

Packers and movers chennai office address
Packers and movers coimbatore office address
Packers and movers dehradun office address
Packers and movers ahmedabad office address
Packers and movers chandigarh office address
Packers and movers allahabad office address
Packers and movers kanpur office address
Packers and movers lucknow office address
Packers and movers cochin office address

Obiuser said...

I still liked this article, good, good content, and unique design.Thank you for sharing the article.
pengobatan tradisional kista medullary
obat pereda nyeri otot dan sendi
pengobatan tradisional hemofilia

xumeiqing said...

2016923meiqing
yeezy boost 350
jordan shoes
polo ralph lauren outlet online
true religion outlet
fitflops sale clearance
michael kors outlet online
gucci handbags
red bottoms outlet online
fit flops
pandora jewelry

Unknown said...

cheap nba jerseys
ray bans
coach factory outlet
true religion outlet
nike huarache
cheap oakley sunglasses
fitflops
oakley sunglasses
instyler
coach outlet
20170114caihuali

raybanoutlet001 said...

omega watches for sale
michael kors outlet
asics shoes
michael kors handbags clearance
cleveland cavaliers jersey
adidas nmd r1
michael kors handbags
ralph lauren
skechers outlet
los angeles lakers jerseys

Unknown said...

hermes belts
christian louboutin outlet
omega watches
nike blazer pas cher
michael kors handbags
buffalo bills jerseys
air jordan uk
indianapolis colts jerseys
mont blanc pens
fitflops sale clearance

Obiuser said...

I can feel that the articles contained in this blog is so interesting. I also get a variety informasin, thanks.
cara menyembuhkan pembengkakan di lutut

caiyan said...

gucci
coach outlet store online
longchamp bags
michael kors bags
pandora jewellery
patriots jerseys
yeezy boost
longchamp handbags
adidas superstar shoes
eltics jerseys
0413shizhong

caiyan said...

gucci
coach outlet store online
longchamp bags
michael kors bags
pandora jewellery
patriots jerseys
yeezy boost
longchamp handbags
adidas superstar shoes
eltics jerseys
0413shizhong

Unknown said...

nhl jerseys
michael kors outlet
cheap ray ban sunglasses
versace jeans
michael kors handbags
prada outlet
ugg boots
ugg outlet
kate spade sale
michael kors uk

check cashing said...

The payday credit organizations get a kick out of the chance to demand this is not an issue - all things considered, you're just obtaining the cash for a week or somewhere in the vicinity, until the point that you get paid.

payday loans said...

You have to get ready for the advance by getting some data with reference to how the advance functions, and what really matters to the credit office. The accompanying tries to give some data with respect to payday credits.

check cashing chula-vista said...

In this condition and this situation just should you take out a payday advance and pay it back with your exceptionally next check. Never make a propensity out of utilizing them.

check cashing corona said...

The main safety effort you truly need to consider when orchestrating an online Payday Loan is that the webpage you are putting your points of interest into is a protected one.

car title loans said...

Be cautious if marking onto limited time programs. Give careful consideration to when the advancements terminate and what happens a while later.

John said...

yeezy shoes
adidas nmd runner
rangers jerseys
jimmy choo shoes
pandora jewelry
tiffany and co outlet
longchamp sale
purs jerseys
fit flops
air max shoes
20170817yuanyuan

Unknown said...

Thank you
cara mengobati penyakit nyeri sendi
obat herbal polip tenggorokan
penjual qnc jelly gamat di sorong
cara mengobati penyakit eksim
obat herbal kanker mulut
pengobatan penyakit vitiligo
pengobatan penyakit alergi

Unknown said...

mulberry
michael kors outlet canada
michael kors outlet clearance
north face outlet
ugg boots
tory burch outlet online
coach outlet online
michael kors outlet store
birkin handbags
uggs on sale
mt1225

Unknown said...

Good afternoon, Thank you for the information nice and certainly useful for everyone
penyebab diare dan cara mengatasinya
tanaman obat penurun darah tinggi
cara mengobati mata merah gatal dan berair
penyebab penyakit asma dan gejalanya
bahaya badan terlalu kurus
makanan dan minuman penyebab gagal ginjal
manfaat jambu biji untuk demam berdarah
penyebab mata katarak dan cara mengobatinya
khasiat kunyit untuk nyeri sendi

Unknown said...

Thank you for the information, good luck
walatra berry jus 8in1
walatra sarang semut kapsul
walatra black garlic kapsul
g-sea jelly gamat original
walatra green coffee
gamat emas kapsul walatra
walatra sehat mata softgel
obat herbal mata minus
obat herbal mata katarak

Carruth Vallecillo said...

The automobile title advance bank will require your vehicle on the premises keeping in mind the end goal to process the application.
Check Cashing
Auto Title Loans Chicago
Check Cashing Chula-vista
Check Cashing Corona
Cash Advance Chicago

Unknown said...

God job
walatra sehat sendi kapsul
walatra zedoril 7 kapsul
walatra lycopene softgel
walatra seaht wasir kapsul
walatra habbaza 100 softgel
walatra spirulina platensis-g kapsul
walatra squalene softgel
walatra brain nutrition kapsul
walatra madu murni multiflora asli
walatra propolis brazil asli golden propolis

Unknown said...

nike cortez women
nike air force 1 low
birkin bag
michael kors outlet
timberland outlet
hogan outlet online
nike mercurial vapor
kayno
adidas ultra boost 3.0
adidas yeezy

travel kida said...



Thankyou for such an amazing work of art. Helped me understanding on a deeper level. Loved each and every bit of it.
Shimla-Honeymoon-Packagese
Kashmir honeymoon package
Ladakh trip
Manali Honeymoon Package

cara menggugurkan kandungan dan mempercepat haid said...

After reading and understanding this article. in my opinion this is very useful .

OptimalVE said...

"It was an informative post indeed. Now It's the time to make the switch to solar power,
contact us(National Solar Company) today to learn more about how solar power works.
battery storage solar
united solar energy
solar panels
solar inverter
solar batteries
solar panels adelaide
best solar panels
solar power
battery storage solar
battery charger solar
solar regulators
solar charge controllers
solar battery storage
instyle solar
solar panels melbourne
solar panels for sale
solar battery charger
solar panels cost
buy solar panels"

Unknown said...

This blog provides all content related to personal lawyer's injury victims provide here all valuable information with all resources and their feedbacks.
Neinstein Personal Injury Lawyers is a personal injury and accident law firm with expertise in all aspects of Canadian personal injury law. With head offices in Toronto,
Neinstein Personal Injury Lawyers is proud to represent injury victims from across Ontario.


Personal Injury Lawyer

Unknown said...

This blog provides all content related to personal lawyer's injury victims provide here all valuable information with all resources and their feedbacks.
Neinstein Personal Injury Lawyers is a personal injury and accident law firm with expertise in all aspects of Canadian personal injury law. With head offices in Toronto,
Neinstein Personal Injury Lawyers is proud to represent injury victims from across Ontario.

Personal Injury Lawyer Toronto

Unknown said...

This blog provides all content related to investment advice, tax services, retirement planning, estate planning and philanthropic goals towards your success.
Baskin Wealth is a management programme completely running from 25 years long just checkout the full site for more information.

Wealth Management Toronto

OptimalVE said...

"consumer proposal
Consumer Proposal Winnipeg
Winnipeg Consumer Proposal
Insolvency Winnipeg
Bankruptcy Winnipeg
Winnipeg Bankruptcy
Winnipeg Insolvency
Insolvency Trustee Winnipeg
Debt Relief Winnipeg
Winnipeg Debt Consolidation
Winnipeg Insolvency Trustee
bankruptcy
Debt Consolidation Winnipeg
Winnipeg Debt Relief
Credit Counseling Winnipeg
debt consolidation companies"