chmod doesn't work

New to Debian (Or Linux in general)? Ask your questions here!

chmod doesn't work

Postby sSIDs » 2020-11-06 19:25

here it is my pain...
sid@kino:~$ ls -la /home/sid/Videos/Мультфильмы/
Code: Select all
total 116580044
drwxrwxrwx+ 2 sid                 nogroup                    4096 Nov  6 18:03  .
drwxrwxrwx+ 8 nobody              nogroup                    4096 Nov  4 13:45  ..
-rwxrwxrwx  1 debian-transmission debian-transmission  4253491119 Oct 10 15:20 '101 Долманитец.mkv'
-rwxrwxrwx  1 sid                 sid                  2101513088 Apr 14  2020 'Lilo & Stitch.mkv'
-rwxrwxrwx  1 sid                 sid                  1569474560 Apr  6  2020  Monsters.Inc.2001.avi
-rwxrwxrwx  1 sid                 sid                  9106191265 Jan 30  2020 'The.Angry.Birds.Movie.2016.x264.BDRip.(1080p).ExKinoRay.mkv'
-rwxrwxrwx  1 sid                 sid                  9002933758 Jan 30  2020  The.Angry.Birds.Movie.2.2019.BDRip.1080p.mkv
-rwxrwxrwx  1 debian-transmission debian-transmission  7820444949 Sep 10 08:05  The.Croods.2013.BDRip.1080p.mkv
-rwxrwxrwx  1 debian-transmission debian-transmission  6440583232 Oct 23 18:57 'The Secret of NIMH (1983).mkv'
-rwxrwxrwx  1 debian-transmission debian-transmission  7079978349 Nov  5 19:34  The.SpongeBob.Movie.Sponge.on.the.Run.2020.mkv
-rwxrwxrwx  1 debian-transmission debian-transmission  4136749615 Oct 10 17:01 'Tom and Jerry Blast Off to Mars.mkv'
-rwxrwxrwx  1 debian-transmission debian-transmission  8461560420 Oct 10 16:10  Вольт.mkv
-rwxrwxrwx  1 debian-transmission debian-transmission  5350458990 Oct 10 15:45 'В поисках Дори.mkv'
-rwxrwxrwx  1 sid                 sid                  2343026688 Apr  6  2020 'В поисках Немо.avi'
-rwxrwxrwx  1 sid                 sid                  2854576673 Jun 27 18:24 'Герой СамСам.mkv'
-rwxrwxrwx  1 debian-transmission debian-transmission  3192222481 Sep 24 17:27 'Зов джунглей 2020.mkv'
-rwxrwxrwx  1 debian-transmission debian-transmission  8657767935 Oct 10 16:02 'История игрушек.mkv'
-rwxrwxrwx  1 sid                 sid                  1949513625 Apr  6  2020 'Лесная братва.mkv'
-rwxrwxrwx  1 debian-transmission debian-transmission 13837439738 Oct 10 16:23  Ранго.mkv
-rwxrwxrwx  1 debian-transmission debian-transmission  3861666337 Sep 24 17:37 'Риф.Новые приключения.mkv'
-rwxrwxrwx  1 debian-transmission debian-transmission  4689565692 Oct 10 15:14  Фердинант.mkv
-rwxrwxrwx  1 sid                 sid                  6801661974 Apr 26  2020 'Хороший динозавр.mkv'
-rwxrwxrwx  1 debian-transmission debian-transmission  5866424489 Oct 23 19:04 'Хранитель Луны.2014.1080p.mkv'


making -> sudo chmod 777 /home/sid/Videos/Мультфильмы/*
no changes....
before that i mount windows share by
sudo mount -t cifs //10.240.110.245/e /media/data -o username=guest,rw,iocharset=utf8,file_mode=0777,dir_mode=0777
then realize that it is a wrong place and delete copied files by
Code: Select all
 sudo rm -rf /media/data/*

after that....somehow ...chmod doesn't work...

what do to&))))? re-install from a scrathc? O_o
User avatar
sSIDs
 
Posts: 12
Joined: 2016-12-18 19:43

Re: chmod doesn't work

Postby sgosnell » 2020-11-06 19:48

You need to use the -R option for changing recursively.
Code: Select all
sudo chmod -R 777 /home/sid/Videos/Мультфильмы/
Take my advice, I'm not using it.
sgosnell
 
Posts: 904
Joined: 2011-03-14 01:49

Re: chmod doesn't work

Postby sSIDs » 2020-11-06 19:54

no luck, i've already tried ^(
Code: Select all
sid@kino:~$ sudo chmod -R 777 /home/sid/Videos/Мультфильмы/
sid@kino:~$ ls -la /home/sid/Videos/Мультфильмы/
total 116580044
drwxrwxrwx+ 2 sid                 nogroup                    4096 Nov  6 18:03  .
drwxrwxrwx+ 8 nobody              nogroup                    4096 Nov  4 13:45  ..
-rwxrwxrwx  1 debian-transmission debian-transmission  4253491119 Oct 10 15:20 '101 Долманитец.mkv'
-rwxrwxrwx  1 sid                 sid                  2101513088 Apr 14  2020 'Lilo & Stitch.mkv'
-rwxrwxrwx  1 sid                 sid                  1569474560 Apr  6  2020  Monsters.Inc.2001.avi
-rwxrwxrwx  1 sid                 sid                  9106191265 Jan 30  2020 'The.Angry.Birds.Movie.2016.x264.BDRip.(1080p).ExKinoRay.mkv'
-rwxrwxrwx  1 sid                 sid                  9002933758 Jan 30  2020  The.Angry.Birds.Movie.2.2019.BDRip.1080p.mkv
-rwxrwxrwx  1 debian-transmission debian-transmission  7820444949 Sep 10 08:05  The.Croods.2013.BDRip.1080p.mkv
-rwxrwxrwx  1 debian-transmission debian-transmission  6440583232 Oct 23 18:57 'The Secret of NIMH (1983).mkv'
-rwxrwxrwx  1 debian-transmission debian-transmission  7079978349 Nov  5 19:34  The.SpongeBob.Movie.Sponge.on.the.Run.2020.mkv
-rwxrwxrwx  1 debian-transmission debian-transmission  4136749615 Oct 10 17:01 'Tom and Jerry Blast Off to Mars.mkv'
-rwxrwxrwx  1 debian-transmission debian-transmission  8461560420 Oct 10 16:10  Вольт.mkv
-rwxrwxrwx  1 debian-transmission debian-transmission  5350458990 Oct 10 15:45 'В поисках Дори.mkv'
-rwxrwxrwx  1 sid                 sid                  2343026688 Apr  6  2020 'В поисках Немо.avi'
-rwxrwxrwx  1 sid                 sid                  2854576673 Jun 27 18:24 'Герой СамСам.mkv'
-rwxrwxrwx  1 debian-transmission debian-transmission  3192222481 Sep 24 17:27 'Зов джунглей 2020.mkv'
-rwxrwxrwx  1 debian-transmission debian-transmission  8657767935 Oct 10 16:02 'История игрушек.mkv'
-rwxrwxrwx  1 sid                 sid                  1949513625 Apr  6  2020 'Лесная братва.mkv'
-rwxrwxrwx  1 debian-transmission debian-transmission 13837439738 Oct 10 16:23  Ранго.mkv
-rwxrwxrwx  1 debian-transmission debian-transmission  3861666337 Sep 24 17:37 'Риф.Новые приключения.mkv'
-rwxrwxrwx  1 debian-transmission debian-transmission  4689565692 Oct 10 15:14  Фердинант.mkv
-rwxrwxrwx  1 sid                 sid                  6801661974 Apr 26  2020 'Хороший динозавр.mkv'
-rwxrwxrwx  1 debian-transmission debian-transmission  5866424489 Oct 23 19:04 'Хранитель Луны.2014.1080p.mkv'
sid@kino:~$
User avatar
sSIDs
 
Posts: 12
Joined: 2016-12-18 19:43

Re: chmod doesn't work

Postby sgosnell » 2020-11-07 02:18

Exacctly what are you expecting? 777 gives everyone read, write, and execute permissions, and that is exactly what is being shown.
Take my advice, I'm not using it.
sgosnell
 
Posts: 904
Joined: 2011-03-14 01:49

Re: chmod doesn't work

Postby sunrat » 2020-11-07 04:32

I'm confused about what you are expecting too. The files shown in your first post already have 777 permissions so of course running chmod 777 will do nothing.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 3316
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: chmod doesn't work

Postby sSIDs » 2020-11-07 04:33

sorry....hard day)
i mean owner.of course
User avatar
sSIDs
 
Posts: 12
Joined: 2016-12-18 19:43

Re: chmod doesn't work

Postby sunrat » 2020-11-07 04:55

sSIDs wrote:sorry....hard day)
i mean owner.of course

You need the chown command then.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 3316
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: chmod doesn't work

Postby sgosnell » 2020-11-07 20:17

And the syntax for chown is different from chmod. You should either read the man pages for it or at least run chown --help first.
Take my advice, I'm not using it.
sgosnell
 
Posts: 904
Joined: 2011-03-14 01:49


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable