Acesso de escrita ao documento fstab (dúvida). [RESOLVIDO]

1. Acesso de escrita ao documento fstab (dúvida). [RESOLVIDO]

Hugo Sousa
Goj1

(usa Debian)

Enviado em 26/09/2009 - 22:42h

Como faço para ter acesso de escrita ao arquivo fstab (/etc/fstab)?

Quero adionar a linha de comando: /dev/sda2 mnt/hddobackup fuseblk,auto,rw 1 0
para montar a partição que criei apenas para armazenar arquivos.

O problema é que o sistema diz que não tenho acesso de escrita.


  


2. MELHOR RESPOSTA

Osama Jr.
/bin/laden

(usa Void Linux)

Enviado em 27/09/2009 - 16:53h

Já que você diz usar Ubuntu então basta um:

$ sudo gedit /etc/fstab

3. Re: Acesso de escrita ao documento fstab (dúvida). [RESOLVIDO]

Diogo Alvez
diogoalvez

(usa Suse)

Enviado em 26/09/2009 - 22:45h

Brother, tu já tentou dar um su -...
vi /etc/fstab...


4. Re: Acesso de escrita ao documento fstab (dúvida). [RESOLVIDO]

anna kamilla
annakamilla

(usa Manjaro Linux)

Enviado em 26/09/2009 - 22:50h

se voce está logado como root e não tem permissão de escrita tente o seguinte no terminal :

chmod +rw /etc/fstab




5. Re: Acesso de escrita ao documento fstab (dúvida). [RESOLVIDO]

Hugo Sousa
Goj1

(usa Debian)

Enviado em 26/09/2009 - 23:28h

Pelo comando vi /etc/fstab, consigo acessar o documento e pressiono enter mas não consigo alterar ou adicionar. A linha não quebra para que digite a nova linha.

Pelo comando chmod +rw /etc/fstab, nada acontece.

Só uma dúvida [*****]!
O fato de eu logar como root no terminal me dá o direito de ter acesso e escrita a todos os documentos do sistema certo, ou estou falando besteira?


6. Re: Acesso de escrita ao documento fstab (dúvida). [RESOLVIDO]

anna kamilla
annakamilla

(usa Manjaro Linux)

Enviado em 26/09/2009 - 23:39h

não está não, mas dá todos os privilégios

de um ls -la no etc e poste




7. Re: Acesso de escrita ao documento fstab (dúvida). [RESOLVIDO]

Hugo Sousa
Goj1

(usa Debian)

Enviado em 26/09/2009 - 23:44h

Está aí!

bash: /etc: é um diretório
root@goj1-laptop:/home/goj1# ls -la
ls: impossível acessar .gvfs: Permissão negada
total 1640
drwxr-xr-x 63 goj1 goj1 4096 2009-09-26 23:03 .
drwxr-xr-x 3 root root 4096 2009-08-28 21:24 ..
-rw-r--r-- 1 goj1 goj1 35050 2008-06-04 14:11 3dchess_0.8.1-15_i386.deb
drwx------ 2 goj1 goj1 4096 2009-09-26 22:29 .AbiSuite
drwx------ 3 goj1 goj1 4096 2009-08-23 15:38 .adobe
drwx------ 9 goj1 goj1 4096 2009-08-29 18:58 .amsn
drwx------ 2 goj1 goj1 4096 2009-08-23 21:53 amsn_received
-rw------- 1 goj1 goj1 436 2009-09-20 15:34 .bash_history
-rw-r--r-- 1 goj1 goj1 220 2009-08-23 09:19 .bash_logout
-rw-r--r-- 1 goj1 goj1 3115 2009-08-23 09:19 .bashrc
drwxr-xr-x 6 goj1 goj1 4096 2009-09-13 13:04 .cache
drwx------ 3 goj1 goj1 4096 2009-08-23 15:40 .compiz
drwxr-xr-x 14 goj1 goj1 4096 2009-09-25 00:18 .config
drwx------ 3 goj1 goj1 4096 2009-08-23 09:27 .dbus
drwxr-xr-x 2 goj1 goj1 4096 2009-09-26 22:17 Desktop
-rw------- 1 goj1 goj1 54 2009-09-10 17:03 .directory
-rw------- 1 goj1 goj1 26 2009-09-26 21:16 .dmrc
drwxr-xr-x 12 goj1 goj1 4096 2009-09-26 10:54 Documentos
drwxr-xr-x 2 goj1 goj1 4096 2009-09-14 22:59 dwhelper
drwxr-xr-x 4 goj1 goj1 4096 2009-09-15 00:10 .emerald
-rw------- 1 goj1 goj1 16 2009-08-23 09:27 .esd_auth
drwxr-xr-x 7 goj1 goj1 4096 2009-09-10 23:57 .evolution
-rw-r--r-- 1 goj1 goj1 357 2009-08-23 09:19 examples.desktop
drwxr-xr-x 2 goj1 goj1 4096 2009-09-25 23:23 .fontconfig
-rw-r--r-- 1 goj1 goj1 516 2009-09-05 21:19 .fonts.conf
drwx------ 5 goj1 goj1 4096 2009-09-26 21:16 .gconf
drwx------ 2 goj1 goj1 4096 2009-09-26 23:28 .gconfd
drwx------ 4 goj1 goj1 4096 2009-09-13 17:21 .gegl-0.0
drwxr-xr-x 22 goj1 goj1 4096 2009-09-15 10:35 .gimp-2.6
-rw-r----- 1 goj1 goj1 0 2009-09-26 22:30 .gksu.lock
drwxr-xr-x 3 goj1 goj1 4096 2009-08-29 17:28 .gnome
drwx------ 17 goj1 goj1 4096 2009-09-26 13:19 .gnome2
drwx------ 2 goj1 goj1 4096 2009-08-23 09:27 .gnome2_private
drwx------ 3 goj1 goj1 4096 2009-09-07 00:44 .gnupg
drwx------ 4 goj1 goj1 4096 2009-09-10 14:14 .google
drwxr-xr-x 2 goj1 goj1 4096 2009-08-29 23:45 .gstreamer-0.10
-rw-r--r-- 1 goj1 goj1 169 2009-09-26 22:27 .gtk-bookmarks
-rw-r--r-- 1 goj1 goj1 50 2009-08-28 21:59 .gtkrc-2.0-kde4
-rw-r--r-- 1 goj1 goj1 956 2009-09-26 00:09 .gtk-recordmydesktop
-rw-r--r-- 1 goj1 goj1 297 2009-09-15 00:00 gtk-recordMyDesktop-crash.log
d????????? ? ? ? ? ? .gvfs
drwxr-xr-x 2 goj1 goj1 4096 2009-09-18 21:59 .helix
-rw------- 1 goj1 goj1 15885 2009-09-26 21:16 .ICEauthority
drwxr-xr-x 15 goj1 goj1 4096 2009-08-29 17:27 .icons
drwxr-xr-x 3 goj1 goj1 4096 2009-09-25 10:54 Imagens
-rw-r--r-- 1 goj1 goj1 4424 2009-09-26 13:13 .iriverter.log
drwx------ 5 goj1 goj1 4096 2009-08-28 22:00 .kde
drwx------ 2 goj1 goj1 4096 2009-09-10 14:37 .kino-history
-rw-r--r-- 1 goj1 goj1 2969 2009-09-25 23:28 .kinorc
drwxr-xr-x 3 goj1 goj1 4096 2009-08-28 22:00 .local
drwx------ 3 goj1 goj1 4096 2009-08-23 15:38 .macromedia
drwxr-xr-x 2 goj1 goj1 4096 2009-09-25 23:40 .magnus
-rw-r--r-- 1 goj1 goj1 3146 2009-09-18 22:00 .mailcap
drwxr-xr-x 2 goj1 goj1 4096 2009-08-23 09:27 Modelos
drwx------ 4 goj1 goj1 4096 2009-09-13 18:54 .mozilla
drwx------ 3 goj1 goj1 4096 2009-09-13 18:54 .mozilla-thunderbird
drwxr-xr-x 2 goj1 goj1 4096 2009-08-29 23:31 .mplayer
drwxr-xr-x 2 goj1 goj1 4096 2009-08-23 09:27 Músicas
drwxr-xr-x 3 goj1 goj1 4096 2009-08-23 09:27 .nautilus
drwxr-xr-x 3 goj1 goj1 4096 2009-08-26 22:49 .openoffice.org
drwx------ 12 goj1 goj1 4096 2009-09-25 22:22 .opera
drwxr-xr-x 3 goj1 goj1 4096 2009-09-16 18:48 plasma-video-wallpaper
-rw-r--r-- 1 goj1 goj1 675 2009-08-23 09:19 .profile
drwxr-xr-x 2 goj1 goj1 4096 2009-08-23 09:27 Pública
drwx------ 2 goj1 goj1 4096 2009-09-26 21:16 .pulse
-rw------- 1 goj1 goj1 256 2009-08-23 09:27 .pulse-cookie
drwx------ 6 goj1 goj1 4096 2009-09-16 22:53 .purple
drwxr-xr-x 2 goj1 goj1 4096 2009-09-20 11:32 .qt
-rw------- 1 goj1 goj1 7658 2009-09-22 00:27 .recently-used
-rw------- 1 goj1 goj1 299407 2009-09-26 23:03 .recently-used.xbel
drwx------ 2 goj1 goj1 4096 2009-09-21 22:11 .scim
-rwxr-xr-x 1 root root 191 2009-09-10 17:35 script_teste.sh
-rw-r--r-- 1 goj1 goj1 0 2009-09-25 23:40 session.log
drwx------ 2 goj1 goj1 4096 2009-08-30 19:39 .ssh
-rw-r--r-- 1 goj1 goj1 0 2009-08-23 12:36 .sudo_as_admin_successful
drwxr-xr-x 4 goj1 goj1 4096 2009-09-23 21:30 .sudoku
-rw-r--r-- 1 goj1 goj1 730079 2009-09-14 10:20 teorias administrativas_pdf.pdf
drwxr-xr-x 49 goj1 goj1 4096 2009-09-05 23:44 .themes
drwx------ 5 goj1 goj1 4096 2009-09-10 16:33 .thumbnails
drwxr-xr-x 4 goj1 goj1 4096 2009-09-20 18:14 .tomboy
-rw-r--r-- 1 goj1 goj1 4453 2009-09-26 21:16 .tomboy.log
drwx------ 2 goj1 goj1 4096 2009-08-29 10:02 .tsclient
drwxr-xr-x 2 goj1 goj1 4096 2009-08-23 12:47 .update-manager-core
drwx------ 2 goj1 goj1 4096 2009-08-23 12:35 .update-notifier
drwxr-xr-x 2 goj1 goj1 4096 2009-09-26 13:13 Vídeos
drwxr-xr-x 2 goj1 goj1 20480 2009-09-21 02:17 video_teste2_files
drwxr-xr-x 4 goj1 goj1 4096 2009-09-16 00:44 .VirtualBox
drwxr-xr-x 2 goj1 goj1 4096 2009-09-26 21:16 .wapi
drwxr-xr-x 4 goj1 goj1 4096 2009-09-16 01:08 .wine
-rw-r--r-- 1 goj1 goj1 1769 2009-09-21 02:38 .Wink
-rw------- 1 goj1 goj1 122 2009-09-26 21:16 .Xauthority
-rw-r--r-- 1 goj1 goj1 160886 2008-11-06 00:05 xaw3dg_1.5+E-17_i386.deb
drwxr-xr-x 2 goj1 goj1 4096 2009-09-25 23:34 .xine
-rw-r--r-- 1 goj1 goj1 129 2009-09-20 16:36 .xscreensaver-getimage.cache
-rw-r--r-- 1 goj1 goj1 32664 2009-09-26 23:40 .xsession-errors
-rw-r--r-- 1 goj1 goj1 3926 2009-09-14 23:01 .xvidcaprc


8. Re: Acesso de escrita ao documento fstab (dúvida). [RESOLVIDO]

anna kamilla
annakamilla

(usa Manjaro Linux)

Enviado em 26/09/2009 - 23:47h

falo no diretório etc

ls -la /etc

ou cd /etc

ls -la



9. Re: Acesso de escrita ao documento fstab (dúvida). [RESOLVIDO]

Hugo Sousa
Goj1

(usa Debian)

Enviado em 27/09/2009 - 00:00h

Entrei no diretório /etc e digitei ls -la.

root@goj1-laptop:/etc# ls -la
total 1676
drwxr-xr-x 156 root root 12288 2009-09-26 23:24 .
drwxr-xr-x 21 root root 4096 2009-09-18 23:39 ..
drwxr-xr-x 8 root root 4096 2009-08-23 15:11 acpi
-rw-r--r-- 1 root root 2986 2009-04-20 10:59 adduser.conf
-rw-r--r-- 1 root root 47 2009-09-26 13:20 adjtime
-rw-r--r-- 1 root root 51 2009-09-18 21:58 aliases
drwxr-xr-x 3 root root 4096 2009-04-20 11:02 alsa
drwxr-xr-x 2 root root 12288 2009-09-25 23:34 alternatives
-rw-r--r-- 1 root root 395 2008-09-02 20:37 anacrontab
drwxr-xr-x 7 root root 4096 2009-09-08 23:15 apache2
drwxr-xr-x 7 root root 4096 2009-04-20 11:06 apm
drwxr-xr-x 2 root root 4096 2009-04-20 11:06 apparmor
drwxr-xr-x 6 root root 4096 2009-08-23 15:12 apparmor.d
drwxr-xr-x 3 root root 4096 2009-09-24 21:42 apport
drwxr-xr-x 4 root root 4096 2009-09-26 10:34 apt
-rw-r----- 1 root daemon 144 2009-04-17 04:53 at.deny
drwxr-xr-x 3 root root 4096 2009-04-20 11:09 avahi
-rw-r--r-- 1 root root 3770 2009-01-21 11:36 axelrc
-rw-r--r-- 1 root root 1733 2009-03-02 11:22 bash.bashrc
-rw-r--r-- 1 root root 226839 2009-02-05 06:02 bash_completion
drwxr-xr-x 2 root root 4096 2009-09-16 00:11 bash_completion.d
-rw-r--r-- 1 root root 332 2009-04-09 03:12 bindresvport.blacklist
-rw-r--r-- 1 root root 511 2009-09-23 10:55 blkid.tab
-rw-r--r-- 1 root root 511 2009-09-14 22:05 blkid.tab.old
drwxr-xr-x 2 root root 4096 2009-08-23 15:11 bluetooth
-rw-r--r-- 1 root root 6924 2008-06-19 00:52 bogofilter.cf
drwxr-xr-x 2 root root 4096 2009-04-20 11:04 bonobo-activation
-rw-r--r-- 1 root root 33 2009-04-20 11:09 brlapi.key
drwxr-xr-x 2 root root 4096 2009-04-20 11:09 brltty
-rw-r--r-- 1 root root 18381 2009-03-18 00:20 brltty.conf
drwxr-xr-x 3 root root 4096 2009-04-20 10:59 ca-certificates
-rw-r--r-- 1 root root 6282 2009-04-20 10:59 ca-certificates.conf
drwxr-xr-x 2 root root 4096 2009-04-20 11:06 calendar
drwxr-s--- 2 root dip 4096 2009-04-20 11:06 chatscripts
drwxr-xr-x 2 root root 4096 2009-08-23 15:12 checkbox.d
drwxr-xr-x 2 root root 4096 2009-04-20 11:07 compizconfig
drwxr-xr-x 4 root root 4096 2009-04-20 11:01 ConsoleKit
drwxr-xr-x 2 root root 4096 2009-08-23 09:20 console-setup
drwxr-xr-x 3 root root 4096 2009-04-20 11:04 console-tools
drwxr-xr-x 2 root root 4096 2009-09-08 23:15 cron.d
drwxr-xr-x 2 root root 4096 2009-09-25 23:25 cron.daily
drwxr-xr-x 2 root root 4096 2009-08-23 13:30 cron.hourly
drwxr-xr-x 2 root root 4096 2009-08-23 13:30 cron.monthly
-rw-r--r-- 1 root root 724 2008-11-12 13:47 crontab
drwxr-xr-x 2 root root 4096 2009-08-23 13:30 cron.weekly
drwxr-xr-x 4 root lp 4096 2009-09-07 15:44 cups
drwxr-xr-x 2 root root 4096 2009-09-08 23:16 dbconfig-common
drwxr-xr-x 5 root root 4096 2009-08-23 13:30 dbus-1
-rw-r--r-- 1 root root 2969 2009-03-24 02:30 debconf.conf
-rw-r--r-- 1 root root 4 2008-12-04 07:01 debian_version
drwxr-xr-x 2 root root 4096 2009-09-25 23:25 default
drwxr-xr-x 4 root root 4096 2009-09-25 23:25 defoma
-rw-r--r-- 1 root root 600 2009-03-27 19:43 deluser.conf
drwxr-xr-x 2 root root 4096 2009-04-20 10:59 depmod.d
drwxr-xr-x 4 root root 4096 2009-08-23 13:30 dhcp3
drwxr-xr-x 2 root root 4096 2009-08-23 12:47 dictionaries-common
drwxr-xr-x 3 root root 4096 2009-09-16 00:11 dkms
drwxr-xr-x 2 root root 4096 2009-04-03 05:25 dm
drwxr-xr-x 3 root root 4096 2009-04-20 11:03 doc-base
drwxr-xr-x 3 root root 4096 2009-08-29 17:08 dpkg
-rw-r--r-- 1 root root 34 2008-02-19 01:33 e2fsck.conf
drwxr-xr-x 3 root root 4096 2009-04-20 11:01 emacs
-rw-r--r-- 1 root root 79 2009-04-20 10:59 environment
drwxr-xr-x 2 root root 4096 2009-04-20 11:04 esound
drwxr-xr-x 2 root root 4096 2009-04-20 11:07 event.d
-rw-r--r-- 1 root root 8661 2009-04-10 20:26 ffserver.conf
drwxr-xr-x 4 root root 4096 2009-04-20 11:03 firefox-3.0
drwxr-xr-x 2 root root 4096 2009-09-06 17:13 firestarter
drwxr-xr-x 4 root root 4096 2009-04-20 11:02 fonts
drwxr-xr-x 3 root root 4096 2009-04-20 11:04 foomatic
-rw-r--r-- 1 root root 753 2009-09-18 23:39 fstab
-rw-r--r-- 1 root root 753 2009-08-23 09:21 fstab.bak
-rw-r--r-- 1 root root 12288 2009-09-26 23:24 .fstab.swo
-rw-r--r-- 1 root root 12288 2009-09-26 23:21 .fstab.swp
-rw-r----- 1 root fuse 216 2009-03-05 14:42 fuse.conf
drwxr-xr-x 2 root root 4096 2008-09-15 15:26 gadmin-samba
-rw-r--r-- 1 root root 2689 2008-03-26 14:44 gai.conf
drwxr-xr-x 2 root root 4096 2009-04-20 11:09 gamin
drwxr-xr-x 7 root root 4096 2009-04-20 11:01 gconf
drwxr-xr-x 7 root root 4096 2009-09-17 22:37 gdm
drwxr-xr-x 3 root root 4096 2009-08-23 20:16 ggi
drwxr-xr-x 3 root root 4096 2009-04-20 11:03 gimp
drwxr-xr-x 3 root root 4096 2009-04-20 11:05 gnome
drwxr-xr-x 2 root root 4096 2009-08-23 15:11 gnome-app-install
drwxr-xr-x 3 root root 4096 2009-04-20 11:03 gnome-system-tools
drwxr-xr-x 3 root root 4096 2009-04-20 11:01 gnome-vfs-2.0
-rw-r--r-- 1 root root 10852 2007-04-27 23:27 gnome-vfs-mime-magic
drwxr-xr-x 2 root root 4096 2009-09-25 23:25 GNUstep
drwxr-xr-x 2 root root 4096 2009-09-25 23:25 gre.d
drwxr-xr-x 2 root root 4096 2009-04-20 11:06 groff
-rw-r--r-- 1 root root 955 2009-09-18 21:58 group
-rw------- 1 root root 939 2009-09-18 21:58 group-
drwxr-xr-x 2 root root 4096 2009-04-20 11:06 grub.d
-rw-r----- 1 root shadow 801 2009-09-18 21:58 gshadow
-rw------- 1 root root 788 2009-09-18 21:58 gshadow-
drwxr-xr-x 2 root root 4096 2009-04-20 11:02 gtk-2.0
drwxr-xr-x 2 root root 4096 2009-08-23 20:23 gtkmathview
drwxr-xr-x 3 root root 4096 2009-04-20 11:03 hal
-rw-r--r-- 1 root root 4793 2009-01-09 10:24 hdparm.conf
-rw-r--r-- 1 root root 418 2009-04-20 11:07 hesiod.conf
-rw-r--r-- 1 root root 92 2008-12-23 16:53 host.conf
-rw-r--r-- 1 root root 12 2009-08-23 09:19 hostname
-rw-r--r-- 1 root root 257 2009-08-23 09:19 hosts
-rw-r--r-- 1 root root 579 2009-04-20 11:07 hosts.allow
-rw-r--r-- 1 root root 878 2009-04-20 11:07 hosts.deny
drwxr-xr-x 2 root root 4096 2009-04-20 11:05 hp
drwxr-xr-x 3 root root 4096 2009-04-20 11:04 ifplugd
-rw-r--r-- 1 root root 73 2009-09-25 23:25 inetd.conf
drwxr-xr-x 2 root root 4096 2009-09-25 23:25 init.d
drwxr-xr-x 5 root root 4096 2009-04-20 11:00 initramfs-tools
-rw-r--r-- 1 root root 1723 2009-03-06 16:34 inputrc
drwxr-xr-x 2 root root 4096 2009-04-20 10:59 iproute2
-rw-r--r-- 1 root root 19 2009-04-13 06:33 issue
-rw-r--r-- 1 root root 12 2009-04-13 06:33 issue.net
drwxr-xr-x 3 root root 4096 2009-09-25 23:23 java
drwxr-xr-x 3 root root 4096 2009-04-20 11:04 kbd
drwxr-xr-x 4 root root 4096 2009-09-18 00:04 kde3
drwxr-xr-x 3 root root 4096 2009-08-28 21:24 kde4
-rw-r--r-- 1 root root 89 2009-04-08 23:12 kde4rc
-rw-r--r-- 1 root root 144 2009-04-08 23:12 kderc
-rw-r--r-- 1 root root 18 2009-04-08 23:12 kde-user-profile
drwxr-xr-x 5 root root 4096 2009-04-20 11:04 kernel
-rw-r--r-- 1 root root 167 2009-08-23 09:20 kernel-img.conf
-rw-r--r-- 1 root root 1129 2008-01-04 21:55 ksysguarddrc
drwxr-xr-x 2 root root 4096 2009-08-28 21:24 kubuntu-default-settings
drwxr-xr-x 10 root root 4096 2009-04-20 11:06 laptop-mode
drwxr-xr-x 2 root root 4096 2009-04-20 11:00 ldap
-rw-r--r-- 1 root root 102004 2009-09-25 23:26 ld.so.cache
-rw-r--r-- 1 root root 34 2009-04-20 10:59 ld.so.conf
drwxr-xr-x 2 root root 4096 2009-09-06 09:58 ld.so.conf.d
-rw-r--r-- 1 root root 3587 2009-02-13 23:22 lftp.conf
-rw-r--r-- 1 root root 20 2009-02-12 19:31 libao.conf
drwxr-xr-x 2 root root 4096 2008-06-19 09:59 libpaper.d
-rw-r--r-- 1 root root 2570 2009-02-13 09:28 locale.alias
-rw-r--r-- 1 root root 2001 2009-09-16 21:49 localtime
drwxr-xr-x 5 root root 4096 2009-04-20 11:02 logcheck
-rw-r--r-- 1 root root 10881 2009-09-16 23:19 login.defs
-rw-r--r-- 1 root root 599 2009-01-26 16:55 logrotate.conf
drwxr-xr-x 2 root root 4096 2009-09-25 23:25 logrotate.d
drwxr-xr-x 2 root root 4096 2009-03-02 07:16 lsb-base
-rw-r--r-- 1 root root 3820 2009-02-07 21:33 lsb-base-logging.sh
-rw-r--r-- 1 root root 97 2009-04-13 06:25 lsb-release
-rw-r--r-- 1 root root 15752 2008-12-10 15:43 ltrace.conf
-rw-r--r-- 1 root root 111 2009-03-16 14:32 magic
-rw-r--r-- 1 root root 111 2009-03-16 14:32 magic.mime
-rw-r--r-- 1 root root 32655 2009-09-25 23:24 mailcap
-rw-r--r-- 1 root root 449 2008-06-19 09:50 mailcap.order
-rw-r--r-- 1 root root 125 2009-01-15 07:26 mail.rc
-rw-r--r-- 1 root root 5170 2009-03-19 07:17 manpath.config
-rw-r--r-- 1 root root 17491 2009-03-26 09:22 matplotlibrc
drwxr-xr-x 2 root root 4096 2009-09-06 17:13 menu
drwxr-xr-x 2 root root 4096 2009-09-06 17:13 menu-methods
-rw-r--r-- 1 root root 21373 2008-06-19 09:50 mime.types
-rw-r--r-- 1 root root 803 2009-02-12 13:37 mke2fs.conf
drwxr-xr-x 2 root root 4096 2009-09-16 00:11 modprobe.d
-rw-r--r-- 1 root root 198 2009-08-23 09:20 modules
drwxr-xr-x 4 root root 4096 2009-08-26 23:03 mono
lrwxrwxrwx 1 root root 13 2009-08-23 09:09 motd -> /var/run/motd
-rw-r--r-- 1 root root 346 2009-04-20 10:59 motd.tail
drwxr-xr-x 2 root root 4096 2009-08-23 20:16 mplayer
-rw-r--r-- 1 root root 768 2009-09-26 22:23 mtab
-rw-r--r-- 1 root root 624 2008-05-29 17:55 mtools.conf
drwxr-xr-x 3 root root 4096 2009-08-23 19:29 mysql
-rw-r--r-- 1 root root 7670 2009-03-30 07:23 nanorc
-rw-r--r-- 1 root root 2064 2006-11-23 17:33 netscsid.conf
drwxr-xr-x 6 root root 4096 2009-04-20 10:59 network
drwxr-xr-x 5 root root 4096 2009-09-04 23:31 NetworkManager
-rw-r--r-- 1 root root 91 2008-12-23 16:53 networks
-rw-r--r-- 1 root root 513 2009-04-20 11:09 nsswitch.conf
drwxr-xr-x 2 root root 4096 2009-04-20 11:07 obex-data-server
drwxr-xr-x 2 root root 4096 2009-08-23 20:16 openal
drwxr-xr-x 2 root root 4096 2009-04-20 11:02 openoffice
drwxr-xr-x 2 root root 4096 2009-09-04 23:36 openvpn
-rw-r--r-- 1 root root 154 2009-08-30 13:45 operaprefs_default.ini
-rw-r--r-- 1 root root 53 2009-08-30 13:45 operaprefs_fixed.ini
drwxr-xr-x 2 root root 4096 2009-04-20 10:59 opt
drwxr-xr-x 2 root root 4096 2009-08-28 21:24 PackageKit
-rw-r--r-- 1 root root 552 2009-03-21 06:28 pam.conf
drwxr-xr-x 2 root root 4096 2009-09-08 23:15 pam.d
drwxr-xr-x 2 root root 4096 2009-04-20 11:02 pango
-rw-r--r-- 1 root root 3 2009-08-23 09:20 papersize
-rw-r--r-- 1 root root 1508 2009-09-18 21:58 passwd
-rw------- 1 root root 1508 2009-09-18 21:58 passwd-
drwxr-xr-x 2 root root 4096 2009-04-20 11:07 pcmcia
drwxr-xr-x 5 root root 4096 2009-09-25 23:25 perl
drwxr-xr-x 4 root root 4096 2009-09-08 23:15 php5
drwxr-xr-x 2 root root 4096 2009-09-08 23:16 phpmyadmin
drwxr-xr-x 5 root root 4096 2009-04-20 11:03 pm
-rw-r--r-- 1 root root 7649 2009-04-20 11:07 pnm2ppa.conf
drwxr-xr-x 2 root root 4096 2009-04-20 11:09 PolicyKit
-rw-r--r-- 1 root root 350 2009-09-05 20:59 popularity-contest.conf
drwxr-xr-x 3 root root 4096 2009-09-18 21:58 postfix
drwxr-xr-x 4 root root 4096 2009-04-20 11:02 power
drwxr-xr-x 8 root dip 4096 2009-09-04 23:36 ppp
lrwxrwxrwx 1 root root 22 2009-08-23 15:13 printcap -> /var/run/cups/printcap
-rw-r--r-- 1 root root 497 2009-04-20 10:59 profile
drwxr-xr-x 2 root root 4096 2009-09-18 21:58 profile.d
-rw-r--r-- 1 root root 2626 2009-03-05 12:06 protocols
drwxr-xr-x 2 root root 4096 2009-08-23 13:30 pulse
drwxr-xr-x 2 root root 4096 2009-08-23 13:30 purple
-rw------- 1 root root 0 2009-04-20 10:59 .pwd.lock
drwxr-xr-x 2 root root 4096 2009-04-20 11:00 python
drwxr-xr-x 2 root root 4096 2009-09-25 23:25 python2.5
drwxr-xr-x 2 root root 4096 2009-04-20 10:59 python2.6
drwxr-xr-x 2 root root 4096 2009-08-28 21:24 qt3
-rw-r--r-- 1 root root 1018 2008-12-15 13:57 rarfiles.lst
drwxr-xr-x 2 root root 4096 2009-09-25 23:25 rc0.d
drwxr-xr-x 2 root root 4096 2009-09-25 23:25 rc1.d
drwxr-xr-x 2 root root 4096 2009-09-25 23:25 rc2.d
drwxr-xr-x 2 root root 4096 2009-09-25 23:25 rc3.d
drwxr-xr-x 2 root root 4096 2009-09-25 23:25 rc4.d
drwxr-xr-x 2 root root 4096 2009-09-25 23:25 rc5.d
drwxr-xr-x 2 root root 4096 2009-09-25 23:25 rc6.d
-rwxr-xr-x 1 root root 306 2009-04-20 10:59 rc.local
drwxr-xr-x 2 root root 4096 2009-09-06 17:13 rcS.d
drwxr-xr-x 2 root root 4096 2009-04-20 11:07 readahead
drwxr-xr-x 6 root root 4096 2009-09-04 23:36 resolvconf
-rw-r--r-- 1 root root 53 2009-09-26 22:23 resolv.conf
-rwxr-xr-x 1 root root 268 2008-05-03 04:40 rmt
-rw-r--r-- 1 root root 887 2009-03-05 12:06 rpc
drwxr-xr-x 2 root root 4096 2009-09-18 21:58 rsyslog.d
drwxr-xr-x 2 root root 4096 2009-09-25 23:25 samba
drwxr-xr-x 3 root root 4096 2009-04-20 11:07 sane.d
drwxr-xr-x 2 root root 4096 2009-04-20 11:09 scim
-rw-r--r-- 1 root root 3663 2009-02-11 10:17 screenrc
-rw-r--r-- 1 root root 666 2009-04-08 21:19 scsi_id.config
-rw-r--r-- 1 root root 1347 2009-04-04 02:49 securetty
drwxr-xr-x 2 root root 4096 2009-09-08 23:15 security
-rw-r--r-- 1 root root 85602 2008-07-04 05:09 sensors.conf
-rw-r--r-- 1 root root 18480 2009-03-05 12:06 services
drwxr-xr-x 3 root root 4096 2009-08-23 15:13 sgml
-rw-r----- 1 root shadow 1081 2009-09-18 21:58 shadow
-rw------- 1 root root 1081 2009-09-18 21:58 shadow-
-rw-r--r-- 1 root root 192 2009-09-16 23:19 shells
drwxr-xr-x 2 root root 4096 2009-04-20 11:07 skel
drwxr-xr-x 3 root root 4096 2009-04-20 11:01 sound
drwxr-xr-x 2 root root 4096 2009-04-20 11:06 ssh
drwxr-xr-x 4 root root 4096 2009-09-16 21:50 ssl
-r--r----- 1 root root 557 2009-08-23 09:19 sudoers
-rw-r--r-- 1 root root 19 2008-11-17 13:16 su-to-rootrc
-rw-r--r-- 1 root root 2277 2009-03-18 19:17 sysctl.conf
drwxr-xr-x 2 root root 4096 2009-09-03 23:26 sysctl.d
-rw-r--r-- 1 root root 1626 2009-01-23 16:33 syslog.conf
-rw-r--r-- 1 root root 65 2008-01-04 21:55 systemsettingsrc
drwxr-xr-x 2 root root 4096 2009-04-20 10:59 terminfo
drwxr-xr-x 4 root root 4096 2009-08-23 19:19 thunderbird
-rw-r--r-- 1 root root 18 2009-09-16 21:49 timezone
drwxr-xr-x 2 root root 4096 2009-08-29 22:45 timidity
-rw-r--r-- 1 root root 645 2008-11-18 21:42 ts.conf
-rw-r--r-- 1 root root 1260 2008-05-30 03:22 ucf.conf
drwxr-xr-x 3 root root 4096 2009-08-23 15:11 udev
drwxr-xr-x 3 root root 4096 2009-04-20 11:06 ufw
-rw-r--r-- 1 root root 248 2008-11-04 19:37 updatedb.conf
drwxr-xr-x 3 root root 4096 2009-08-23 15:11 update-manager
drwxr-xr-x 6 root root 4096 2009-09-06 10:04 update-motd.d
drwxr-xr-x 2 root root 4096 2009-03-27 05:42 update-notifier
-rw-r--r-- 1 root root 116 2009-08-23 09:20 usplash.conf
drwxr-xr-x 2 root root 4096 2009-09-16 00:11 vbox
drwxr-xr-x 2 root root 4096 2009-08-23 20:16 vga
drwxr-xr-x 2 root root 4096 2009-04-20 11:00 vim
drwx------ 2 root root 4096 2009-09-04 23:36 vpnc
drwxr-xr-x 2 root root 4096 2009-04-20 11:06 w3m
-rw-r--r-- 1 root root 4221 2008-11-11 11:21 wgetrc
drwxr-xr-x 3 root root 4096 2009-09-04 01:06 wicd
drwxr-xr-x 2 root root 4096 2009-08-29 22:45 wildmidi
-rw-r--r-- 1 root root 1343 2007-01-09 16:39 wodim.conf
drwxr-xr-x 2 root root 4096 2009-04-20 11:07 wpa_supplicant
drwxr-xr-x 9 root root 4096 2009-09-11 15:24 X11
drwxr-xr-x 5 root root 4096 2009-04-20 11:08 xdg
drwxr-xr-x 2 root root 4096 2009-09-25 23:25 xml
drwxr-xr-x 2 root root 4096 2009-09-10 14:37 xulrunner-1.9
-rw-r--r-- 1 root root 461 2009-04-17 05:29 zsh_command_not_found
root@goj1-laptop:/etc#


10. Re: Acesso de escrita ao documento fstab (dúvida). [RESOLVIDO]

anna kamilla
annakamilla

(usa Manjaro Linux)

Enviado em 27/09/2009 - 02:31h

notei que o seu fstab está rw -r --r, tente edita-lo como root




11. Re: Acesso de escrita ao documento fstab (dúvida). [RESOLVIDO]

Hugo Sousa
Goj1

(usa Debian)

Enviado em 28/09/2009 - 17:43h

O comando # sudo gedit /etc/fstab funcionou perfeitamente.

Valeu galera pela ajuda!






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts