On Wed, 16 Dec 2009 15:49:12 -0800
Mike Connors <[email protected]> dijo:

>John Jason Jordan wrote:
>> So I am planning to do:
>>
>> # cd /home/jjj/
>> # chmod 644 *
>>
>> I think that will make every file and folder in /home/jjj/
>> -rw-rw----. 
>Actually, chmod 644 * will change the perms for all the files in 
>/home/jjj to:
>-rw-r--r--

Oh! I guess it needs to be 664 to be -rw-rw----.

>> Second, there are a handful of files that are executable; will that
>> command make those files no longer executable? 

>Yes!

That's a problem. 

At first I thought I could just figure out how to make the ls command
display only files with the x set. I haven't succeeded in figuring that
out yet, but I did do ls -l on the main ~/ folder. I discovered that my
files are a bigger mess than I thought. As a rough guess, about one in
ten files is set to be executable, including just ordinary data files.

There really are just half a dozen in my home folder that need to remain
executable - a few shell scripts, and binaries for things like XaraLX, Acroread,
and so on. Even if I got ls -l to display only the files that are
executable it would be a very long list because of all the files that
are set to be executable and shouldn't be. Nautilus informs me that ~/
contains over 60,000 files. If one out of ten is executable, that is a
lot of files to look through manually.

>> Third, does what I intend to do make sense for a standalone desktop
>> computer in a house occupied by only one person? 

>I guess, in as much as it does what you want to do...
>But why not just create a group, put both users in that group, and
>then set the file perms for the group level.

The group jjj already exists (created automatically by Fedora during
installation when I set myself up as user jjj). When I created jxj I
made him a member of jjj also. So setting the permissions for the group
jjj might make more sense.

But then I need to do something about umask. Because in the future when
jjj creates a file the permissions will be wrong.

It is difficult for people on the list to understand what a mess the
permissions on my files are without looking over my shoulder. The next
Clinic is only four days away. I am wondering if this might make a good
thing to get help with there. Maybe a mini-tutorial on permissions.
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to