LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-24-2009, 08:45 AM   #16
fadinader
LQ Newbie
 
Registered: Aug 2009
Distribution: debian xfce desktop
Posts: 25

Original Poster
Rep: Reputation: 16

i don't understand what do u mean by filesystem

and nothing was changed whan i typed chmod -R 775 /mnt/collection

it says operation not supported next to each file.
 
Old 08-24-2009, 08:49 AM   #17
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,496

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
you are doing this as root?
Is it ntfs or fat32 ?
Is this a windows partition?
 
Old 08-24-2009, 08:50 AM   #18
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-19-live-usb/ aix
Posts: 3,836

Rep: Reputation: 590Reputation: 590Reputation: 590Reputation: 590Reputation: 590Reputation: 590
this will help us understand the filesystem
Code:
pwd; mount; df -h
 
Old 08-24-2009, 08:52 AM   #19
fadinader
LQ Newbie
 
Registered: Aug 2009
Distribution: debian xfce desktop
Posts: 25

Original Poster
Rep: Reputation: 16
yes as root

ntfs

no it is a normal drive
 
Old 08-24-2009, 08:53 AM   #20
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,496

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
Take a look at the thread you highjacked before, they offer a solution.
http://www.linuxquestions.org/questi...anging-600649/
 
Old 08-24-2009, 08:54 AM   #21
fadinader
LQ Newbie
 
Registered: Aug 2009
Distribution: debian xfce desktop
Posts: 25

Original Poster
Rep: Reputation: 16
debian:/mnt/collection# pwd; mount; df -h
/mnt/collection
/dev/sda7 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sda1 on /mnt/xp type ntfs (rw)
/dev/sda5 on /mnt/coptics type ntfs (rw)
/dev/sda8 on /mnt/others type ntfs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
/dev/sda6 on /mnt/collection type ntfs (rw)
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 5.8G 2.1G 3.5G 38% /
tmpfs 502M 0 502M 0% /lib/init/rw
udev 10M 96K 10M 1% /dev
tmpfs 502M 0 502M 0% /dev/shm
/dev/sda1 20G 11G 9.4G 53% /mnt/xp
/dev/sda5 45G 35G 11G 77% /mnt/coptics
/dev/sda8 42G 35G 7.4G 83% /mnt/others
/dev/sda6 37G 29G 8.6G 77% /mnt/collection
 
Old 08-24-2009, 09:41 AM   #22
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-19-live-usb/ aix
Posts: 3,836

Rep: Reputation: 590Reputation: 590Reputation: 590Reputation: 590Reputation: 590Reputation: 590
^
Code:
/dev/sda6 on /mnt/collection type ntfs (rw)
i dont think ntfs supports unix style permissions.

maybe since it is mounted by root all the files assume the ownership of root ?

who owns /mnt/collection ?
maybe:
Code:
umount /mnt/collection
chmod 777 /mnt/collection
chown fadi /mnt/collection
chgrp <group> /mnt/collection
mount /dev/sda6 /mnt/collection -t ntfs -o rw
maybe then the files below will assume the owner as fadi; else you mite have better luck chown-ing the files then ?

Last edited by schneidz; 08-24-2009 at 09:50 AM.
 
Old 08-24-2009, 09:45 AM   #23
fadinader
LQ Newbie
 
Registered: Aug 2009
Distribution: debian xfce desktop
Posts: 25

Original Poster
Rep: Reputation: 16
maybe it's right but why i couldn't change the files ownership ?
 
Old 08-24-2009, 09:47 AM   #24
fadinader
LQ Newbie
 
Registered: Aug 2009
Distribution: debian xfce desktop
Posts: 25

Original Poster
Rep: Reputation: 16
the problem is in the ntfs fromat ?
 
Old 08-24-2009, 09:49 AM   #25
fadinader
LQ Newbie
 
Registered: Aug 2009
Distribution: debian xfce desktop
Posts: 25

Original Poster
Rep: Reputation: 16
fadi own all folder
but root own all files
 
Old 08-24-2009, 09:53 AM   #26
fadinader
LQ Newbie
 
Registered: Aug 2009
Distribution: debian xfce desktop
Posts: 25

Original Poster
Rep: Reputation: 16
fadi owns all folders

root owns all files
 
Old 08-24-2009, 10:00 AM   #27
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,496

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
Take a look at
http://www.linux-ntfs.org/doku.php?i...an_ntfs_volume
 
Old 08-24-2009, 10:00 AM   #28
fadinader
LQ Newbie
 
Registered: Aug 2009
Distribution: debian xfce desktop
Posts: 25

Original Poster
Rep: Reputation: 16
nothing has changed
 
Old 08-24-2009, 10:01 AM   #29
mushroomboy
Member
 
Registered: Jan 2006
Distribution: Debian Testing ALWAYS!!!
Posts: 363

Rep: Reputation: 43
Quote:
Originally Posted by fadinader View Post
the problem is in the ntfs fromat ?
Yeah if it's ntfs the current ntfs built-in support has buggy rw so it's normally only rw for root. hence why all files are owned by root. You might want to download ntfs-3g for your distro and then mount the device for ntfs-3g instead of ntfs.
 
Old 08-24-2009, 10:19 AM   #30
fadinader
LQ Newbie
 
Registered: Aug 2009
Distribution: debian xfce desktop
Posts: 25

Original Poster
Rep: Reputation: 16
thanks alot to all

i installed the ntfs-3g package and it works normally

Last edited by fadinader; 08-24-2009 at 10:22 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
creating directories and permissions ingen Linux From Scratch 1 11-06-2008 12:38 AM
Permissions and directories arubin Slackware 6 09-21-2007 03:56 AM
Group administrator (or changing permissions and ownerships) rikis7 Programming 2 08-15-2007 12:22 AM
restoring default device ownerships/permissions under_r_run Linux - Newbie 5 07-27-2005 01:27 PM
home directories permissions black_man Debian 1 11-20-2004 09:48 AM


All times are GMT -5. The time now is 06:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration