LinuxQuestions.org
Help answer threads with 0 replies.
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 03-22-2010, 07:26 PM   #16
plbowler
Member
 
Registered: Nov 2003
Distribution: Mandrake 10 (KDE)
Posts: 53

Original Poster
Rep: Reputation: 15

debian:/mnt/net/flac/gd74-06-18.sbd.miller.89690.sbeok.flac16# touch /mnt/net/flac/gd74-06-18.sbd.miller.89690.sbeok.flac16/gd74-06-18d1t01.flac
touch: cannot touch `/mnt/net/flac/gd74-06-18.sbd.miller.89690.sbeok.flac16/gd74-06-18d1t01.flac': Permission denied

That solves that I guess!
I assume this is a CHMOD then

EDIT: or not..
I guess my next question is how to change permissions, I tried CHMOD 777 and got a 'Permission Denied'
I also went into windows for the two drives that are mounted and unchecked the "Read Only" box. i then unmounted and remounted that drive and still "permission denied"

Last edited by plbowler; 03-22-2010 at 07:36 PM.
 
Old 03-22-2010, 08:46 PM   #17
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,252

Rep: Reputation: 205Reputation: 205Reputation: 205
1. Try to touch that file as root (after su -).

2. Check file permissions for gd74-06-18.sbd.miller.89690.sbeok.flac16 directory and gd74-06-18d1t01.flac file (ls -l /mnt/net/flac/ and ls -l /mnt/net/flac/gd74-06-18.sbd.miller.89690.sbeok.flac16/).

3. Check the owner of /mnt/net/ directory (ls -l /mnt).

Report here the results.
 
Old 03-22-2010, 10:03 PM   #18
plbowler
Member
 
Registered: Nov 2003
Distribution: Mandrake 10 (KDE)
Posts: 53

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by w1k0 View Post
1. Try to touch that file as root (after su -).

2. Check file permissions for gd74-06-18.sbd.miller.89690.sbeok.flac16 directory and gd74-06-18d1t01.flac file (ls -l /mnt/net/flac/ and ls -l /mnt/net/flac/gd74-06-18.sbd.miller.89690.sbeok.flac16/).

3. Check the owner of /mnt/net/ directory (ls -l /mnt).

Report here the results.
1. everything done as root

2.
A
debian:~# ls -l /mnt/net/flac/
total 0
drwxr-xr-x+ 16 999 root 0 2010-03-20 10:19 gd_1976_project_7
drwxr-xr-x+ 24 999 root 0 2010-03-19 22:04 gd_1976_project_8
drwxr-xr-x+ 2 999 root 0 2010-03-19 18:02 gd74-06-18.sbd.miller.89690.sbeok.flac16
drwxr-xr-x+ 2 999 root 0 2010-03-19 17:32 gd74-06-22.mtx.seamons.106179.flac16

B
debian:~# ls -l /mnt/net/flac/gd74-06-18.sbd.miller.89690.sbeok.flac16
total 1030130
-rw-r--r-- 1 999 root 1155 2010-03-19 17:48 gd1974-06-18-ffp.89690.ffp
-rw-r--r-- 1 999 root 1176 2010-03-19 17:48 gd1974-06-18-flac-md5.89690.md5
-rw-r--r-- 1 999 root 2755 2010-03-19 17:48 gd74-06-18.89690.txt
-rw-r--r-- 1 999 root 28461840 2010-03-19 19:37 gd74-06-18d1t01.flac
-rw-r--r-- 1 999 root 31640341 2010-03-19 19:27 gd74-06-18d1t02.flac
-rw-r--r-- 1 999 root 42516139 2010-03-19 19:35 gd74-06-18d1t03.flac
-rw-r--r-- 1 999 root 41844282 2010-03-19 19:36 gd74-06-18d1t04.flac
-rw-r--r-- 1 999 root 23327945 2010-03-19 19:27 gd74-06-18d1t05.flac
-rw-r--r-- 1 999 root 40141474 2010-03-19 19:31 gd74-06-18d1t06.flac
-rw-r--r-- 1 999 root 21489368 2010-03-19 19:23 gd74-06-18d1t07.flac
-rw-r--r-- 1 999 root 90429460 2010-03-19 19:37 gd74-06-18d1t08.flac
-rw-r--r-- 1 999 root 34971372 2010-03-19 19:16 gd74-06-18d1t09.flac
-rw-r--r-- 1 999 root 33810809 2010-03-19 19:36 gd74-06-18d1t10.flac
-rw-r--r-- 1 999 root 34363552 2010-03-19 19:37 gd74-06-18d2t01.flac
-rw-r--r-- 1 999 root 29756153 2010-03-19 19:34 gd74-06-18d2t02.flac
-rw-r--r-- 1 999 root 48126872 2010-03-19 19:32 gd74-06-18d2t03.flac
-rw-r--r-- 1 999 root 160617874 2010-03-19 19:37 gd74-06-18d2t04.flac
-rw-r--r-- 1 999 root 98105735 2010-03-19 19:37 gd74-06-18d2t05.flac
-rw-r--r-- 1 999 root 19189248 2010-03-19 19:36 gd74-06-18d2t06.flac
-rw-r--r-- 1 999 root 47818627 2010-03-19 19:37 gd74-06-18d2t07.flac
-rw-r--r-- 1 999 root 33725681 2010-03-19 19:34 gd74-06-18d2t08.flac
-rw-r--r-- 1 999 root 56537171 2010-03-19 19:36 gd74-06-18d3t01.flac
-rw-r--r-- 1 999 root 66067550 2010-03-19 19:31 gd74-06-18d3t02.flac
-rw-r--r-- 1 999 root 70774671 2010-03-19 19:35 gd74-06-18d3t03.flac
-rw-r--r-- 1 999 root 2576 2010-03-19 17:50 md5ok
-rw-r--r-- 1 999 root 1979 2010-03-19 17:50 shntool.txt

3.
debian:~# ls -l /mnt
total 4
drwxr-xr-x 4 root root 4096 2010-03-21 21:18 net

after poking around I think I should mention that I mounted using smbmount with no modifiers
 
Old 03-23-2010, 11:51 AM   #19
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,252

Rep: Reputation: 205Reputation: 205Reputation: 205
In my opinion your present problem exceeds the boundaries of the present thread.

Look at the + sign at the end of drwxr-xr-x+:

Code:
drwxr-xr-x+ 2 999 root 0 2010-03-19 18:02 gd74-06-18.sbd.miller.89690.sbeok.flac16
It means your directories have set ACL (access control list). To set it use setfacl and to get it use getfacl.

I never used ACL so I don’t know whether it can cause problems with permissions for user root. As I know root have all permissions everywhere.

Now look further at 999 owner and root group of the file. 999 isn’t the name of the registered user. To change it use the command:

Code:
chown -R root.root *
As I guess in the present situation chown command will refuse to work.

***

I suggest you to start a new thread named “Possible problems with ACL”.

At the beginning skip to /mnt/net/flac/ directory.

Then put the results of all those commands (including the commands as well):

Code:
whoami
pwd
cat /etc/fstab
ls -l gd74-06-18.sbd.miller.89690.sbeok.flac16
ls -l gd74-06-18.sbd.miller.89690.sbeok.flac16/gd74-06-18d1t01.flac
touch gd74-06-18.sbd.miller.89690.sbeok.flac16/i_am_here
***

If you’ll decide to close that thread don’t forget to click “Thanks” buttons in all posts you feel were useful for you. Then skip to the top of the page and select “Thread Tools | Mark this thread as solved”.

Last edited by w1k0; 03-23-2010 at 01:46 PM.
 
Old 03-23-2010, 10:58 PM   #20
plbowler
Member
 
Registered: Nov 2003
Distribution: Mandrake 10 (KDE)
Posts: 53

Original Poster
Rep: Reputation: 15
yeah, good call. Thanks

Actually you guys probably answered the thread title in the first three posts, but i alwys try to visualize posts from the stanpoint of someone searching for help long after I'm gone.

Let me try your suggestions then I will close this thread and start a new one if needed.

EDIT: setfacl and etfacl are invalid commands

chown -R root.root *
still permission denied.

NEW THREAD: http://www.linuxquestions.org/questi...8/#post3909907

Last edited by plbowler; 03-23-2010 at 11:28 PM.
 
Old 03-24-2010, 09:53 AM   #21
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,252

Rep: Reputation: 205Reputation: 205Reputation: 205
I published my post in the wrong thread. Now I moved it to the correct one. I'm sorry!

Last edited by w1k0; 03-24-2010 at 09:56 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
Please give the right choice about the multi-choice question! keika Programming 1 07-22-2009 05:20 AM
Slightly odd font rendering with Freetype bytecode interpreter Daedra Slackware 1 02-08-2007 08:46 AM
Linux distro choice (Newbee question) paped1 Linux - Distributions 3 01-25-2005 01:59 AM
slightly off topic DNS question benbroad Linux - Networking 8 12-01-2004 10:49 AM
slightly different question (about XSync) jpbarto Programming 0 04-03-2004 12:23 PM


All times are GMT -5. The time now is 04:59 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration