lina wrote:
> Hi,
>
> there is a usb stick,
>
> 1] mount via command line
>
> # mount /dev/sdb1 /mnt/try
>
> when I tried to mount as:
>
>:/mnt/try# ls -lrt *.pdf
> -rwxr-xr-x 1 root root 1827158 Jun 18 06:29 PIIS0006349512003256.pdf
>
> it showed me as x x x
>
> # chmod -x PIIS0006349512003256.pdf
>
> # ls -lrt PIIS0006349512003256.pdf
> -rwxr-xr-x 1 root root 1827158 Jun 18 06:29 PIIS0006349512003256.pdf
>
>
> it still x x x
>
> 2] mount via click its icon,
>
> it showed me normal.
>
> My question is that, was the way I used to mount via command wrong?
>
> Thanks with best regards,

  you may have settings happening via /etc/fstab
and/or udev (and i'm not an expert at udev that is
for sure).

  that said...

  if you have umask set it will override plain
mode settings.  usually there is a umask setting
in .bashrc (or whatever your shell rc is in
either your home directory and/or the /etc
directory).

  to remove x from all even with a umask use:

$ chmod a-x PIIS0006349512003256.pdf


  songbird


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jnbgh9-6q6....@id-306963.user.uni-berlin.de

Reply via email to