Changing file permissions command line.
Reindl Harald
h.reindl at thelounge.net
Mon Feb 13 17:25:27 UTC 2012
Am 13.02.2012 18:24, schrieb Reindl Harald:
>
>
> Am 13.02.2012 18:21, schrieb Marvin Kosmal:
>> On 2/13/12, FRank Murphy <frankly3d at gmail.com> wrote:
>>> /etc/yum.repos.d/
>>> ls -l
>>>
>>> -rw-rwxr--. 1 root root 673 Feb 12 09:23 _local.repo
>>> -rw-r--r--. 1 root root 621 Feb 12 12:58 remi.repo
>>>
>>> The _local.repo comes up in lime green.
>>> Using the command line how can it be changed back.
>>>
>>> Had a quick look at "chown --help"
>>> But no luck, for me anyway.
>
> x = executeable (currently 674)
>
> chmod 644 _local.repo = rw-r-r
BTW: "stat filename" displays all informations you could get
[harry at rh:~]$ stat /etc/yum.repos.d/rpmfusion-nonfree.repo
Datei: „/etc/yum.repos.d/rpmfusion-nonfree.repo“
Größe: 1247 Blöcke: 8 EA Block: 4096 reguläre Datei
Gerät: 901h/2305d Inode: 1177862 Verknüpfungen: 1
Zugriff: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Zugriff : 2011-10-29 00:00:19.000000000 +0200
Modifiziert: 2011-10-29 00:00:19.000000000 +0200
Geändert : 2011-10-30 16:41:50.585456771 +0100
Geburt : -
[harry at rh:~]$
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120213/bb17ef26/attachment-0001.sig>
More information about the users
mailing list