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 a folder in my home directory that I want to be truly shared between all users on the same computer.

So, I set the permission to be 777. Now, all users can access it and can create, ,edit, delete files in it.

However, I do not have write access to files created by other users.

How do I ensure that all files (existing as well as newly created/ copied) have rwx access to all users?

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

I suggest you use bindfs.

bindfs allow multiple local users to read and write (create, delete, rename, modify...) all files (including newly created ones) from a shared directory and its subdirectories.

You can specify users by user name or group, it is very flexible.

See - Ubuntu wiki bindfs

share|improve this answer
    
bindfs seems to be very complicated. Wish there were an easy solution like this folder and everything below it will be read-write accessible to all irrespective of who created it For some strange reason, I tried mentioning @ bodhi.zazen name in my reply but it is not showing anything :( –  deshmukh Jul 15 '12 at 6:07
add comment

The other users have to set the permissions to rwx for you.

If you don't want to install a new software the others users should do this (one of many options):

  1. Set the Access to Folder permission for other users to create & delete files. Do the same with Access to Files permission:

View

  1. And then push on Apply Permissions to the Files:

enter image description here

share|improve this answer
1  
The other users and I need to keep setting the permissions again and again. That is painful. I wish there were an easier way of doing it. Is Public folder the way out? –  deshmukh Jul 15 '12 at 6:05
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.