Reply
Thread Tools
Posts: 25 | Thanked: 8 times | Joined on Jan 2010 @ MUMBAI
#11
Originally Posted by kitwalker View Post
That's exactly why I asked you if you were in your home folder denoted by ~ before the $ prompt or you are in /home/user/MyDocs.

These are basically part of two separate file systems. /home/user becomes part of /home which is ext2. So changing file permissions will work there. However, /home/user/MyDocs is a VFAT file system. Changing file permissions will not work there.

Do one simple example:

In your ~ folder (/home/user) create a file as:

Code:
~ $ touch tmp_file
Then, change the file permissions:

Code:
~ $ chmod 777 tmp_file
~ $ ls -l tmp_file
You will see that the file permissions have changed as rwxrwxrwx

Now cd to /home/user/MyDocs and repeat this procedure. The file created there will have permissions -rw-r--r--. Also the group owner will be root and not users. If you try chmod 777 on the tmp_file here the permissions will still remain as -rw-r--r--.
so there is no way to do what I am trying?
thanks. I guess I should have worked on my basics first.
__________________
mastermind
 
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#12
It might work when you are operating outside MyDocs and it cannot work when you are in Mydocs. Thats just a question of the underlying filesystem. If you ARE outside Mydocs and it doesn't work then please describe exact steps you have made and exact output of commands. Also you should provide the path you are working in and the current folder's settings (owner, group, rights).
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:00.