I have followed the instructions on http://wiki.amahi.org/index.php/SharingToLinux using the "Permanent Mount" method. The shares have mounted successfully and I can see all my files.
I have a permissions problem though. When I try to edit or delete a file, I am told I do not have the permissions necessary to perform the task.
"You do not have the permissions necessary to save the file."
This happened to me once before, when I set this all up on my laptop. cpg helped me but I don't remember what we did to make it work. I tried the following on the hda:
chown 500.100 /var/hda/files/docs
chown 500.100 /var/hda/files/pictures
chown 500.100 /var/hda/files/music
chown 500.100 /var/hda/files/movies
chown 500.100 /var/hda/files/books
But it did not solve the issue. Any ideas?
thanks!!
permissions when mounting from Ubuntu
Re: permissions when mounting from Ubuntu
i would chown the files to your user and the group 'users'.
say, if your user is "foo",
chown -R foo:users file1 file2 file3 ...
and the permissions should be 775 for directories and 664 for files.
all amahi-created users should belong to group "users" so, that should work.
say, if your user is "foo",
chown -R foo:users file1 file2 file3 ...
and the permissions should be 775 for directories and 664 for files.
all amahi-created users should belong to group "users" so, that should work.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
Re: permissions when mounting from Ubuntu
cpg, thanks for your help. Pleases excuse me for my lack of linux knowledge but when you say
are you saying that I will need to list each file in place of "file1 file2 file3"? I have thousands of files so that would be impractical. Maybe I am misunderstanding what you are saying. I will check each of the permissions as well to make sure they are 775 for directories and 664 for files.chown -R foo:users file1 file2 file3 ...
Re: permissions when mounting from Ubuntu
the -R will do it recursively, so you could do it like this:
chown -R foo:users .
and it will be done for the current folder and everything in it.
there is a -R option for chmod too. you have to be careful not to put 644 on directories, because then you cannot traverse them.
man chmod or look for tutorials for chmod.
chown -R foo:users .
and it will be done for the current folder and everything in it.
there is a -R option for chmod too. you have to be careful not to put 644 on directories, because then you cannot traverse them.
man chmod or look for tutorials for chmod.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
Who is online
Users browsing this forum: No registered users and 4 guests