Auto mount SMB Shares at Login- DON'T DO THAT COMMAND
Matthew Flaschen
matthew.flaschen at gatech.edu
Tue Feb 27 10:10:52 UTC 2007
Matthew Flaschen wrote:
> Anthony M Simonelli wrote:
>> Running Ubuntu 6.10 and LTSP5. I've noticed that all of the folders in
>> the /home directory are readable by other users. Why is this?
>
> Don't know.
>
> Can I
>> change that so only the owners can read, write, and execute files in
>> their own home directory?
>
> sudo chmod -R og-rwx /home
DON'T DO THIS! It will cripple your system.
That was a really stupid idea of mine. I just tried it, which helpfully
reminded me that /home is owned by root, so you will not be able to read
/home , meaning you can't even read your own home directory.
To fix it, you'll have to go to a virtual terminal, with e.g. Ctrl-Alt-F1:
Then
sudo chmod -R a+rx /home
Very sorry for this. You should be able to set permissions on just your
home directory safely, but I wouldn't recommend it...
Matthew Flaschen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070227/bf20d0f6/attachment.sig>
More information about the ubuntu-users
mailing list