0
I have some folders with pictures and videos that I would like my other family members be able to view. I have added these folders to the family group, like this:
chgrp -R family shared_pictures/
The group permissions are set to +rx for the folders and +r for the files inside the folders. The family members have already been added to the family group. However when they try to access the folders/files, they get a "operation not permitted error". I think it has to do with the fact that the permssions of my my home folder are set like this:
drwxr-x--- 163 mario mario 12288 2012-03-21 07:50 /home/mario
So 'other' users have no permissions at all (no directory content viewing, etc).
My question: is it possible to allow access to some subdirectories only and leave my home directory permissions as is? Or is my only option to open my home directory up for others with +rx? (because when I do this it works, but now anyone can view the contents in my home dir, which is not what I want)
1
You might want to look at
– Dan D. – 2012-03-21T07:34:30.667bindfs
.folders must have the r and x bit to access them. The x bit for folders does not mean execute but means you are able to access the folder. – l1zard – 2012-03-21T12:06:45.430
1You need to set "x" bit (o+x) for all parent directories. Do not add "r" bit which let them browse your directory contents – Cougar – 2012-03-22T08:42:02.527
@Cougar I think this might be what I was looking for! – MarioJC – 2012-03-22T10:57:06.427