Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have access to a shared folder from windows to get some images for my webpage. I can mount it using the next command:

sudo mount -t cifs //win-server/folder -o username=myuser,password=mypass /path_to_my_ubuntu_folder

But, when I go to the mounted directory, I can see the listing of the files, but I can't access them. Something like this:

cant access this images

What I'm missing here?

Thanks!

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Permissions!

The user doesn't have access to the mounted folder. I just ran a chmod command to change folder permissions.

sudo chmod 777 images/*

Hope this can help somebody else.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.