cinohpa
October 11th, 2010, 12:23 AM
I mount a partition to a directory and ls -liah tells me that everyone has read/write/execute permissions on the whole thing, but I try to save a file into the partition and I get an access denied error.
First of all this doesn't make sense because ls is telling me I do have access.
Then it gets weirder.
I run sudo chown -R me:me directory. The command exits without error, but then when I go and look at the directory again with ls, it still shows up as owned by root and I still have the same problem.
This is particularly strange because I am still able to change permissions normally in the operating system filesystem. It just won't work on the mounted partition.
Thanks.
First of all this doesn't make sense because ls is telling me I do have access.
Then it gets weirder.
I run sudo chown -R me:me directory. The command exits without error, but then when I go and look at the directory again with ls, it still shows up as owned by root and I still have the same problem.
This is particularly strange because I am still able to change permissions normally in the operating system filesystem. It just won't work on the mounted partition.
Thanks.